{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"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":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"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":"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":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"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":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"AXR1","name":"Runtime accessibility","shortDescription":{"text":"Runtime accessibility"},"helpUri":"https://codehealth.canine.dev/dimensions/AXR1"},{"id":"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":"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":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"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":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"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":"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"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":"index.Home (cyclomatic 97): index.Home has cyclomatic complexity 97 (threshold 15). Most of this is not in the body itself: 7 of the 97 points are its own statements and the rest belongs to 16 function items inside it that branch (a function literal at line 139, startRecording, setupWebSocket, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be564dddbc9e31932f4f31a8abf7bea266e76b655d71d015b432dec75a869d2"}},{"ruleId":"D1","level":"warning","message":{"text":"creator.run_experiment (cyclomatic 91): creator.run_experiment 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":"chapter5/agent-creator/creator.py"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cf702e85fc0d7d93e3b008d4ae49cf4ac541d3c2bce518792867036b0059b8"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_evidence.validate (cyclomatic 85): validate_evidence.validate has cyclomatic complexity 85 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/MiniMind-pretrain/validation/validate_evidence.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"27fcf920800b7d47ee349d10cf98bc07c00939b35e06cce489cc3e13fffe4328"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.run_game (cyclomatic 84): demo.run_game has cyclomatic complexity 84 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/voice-werewolf/demo.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67bb07af316276e642c5d83f86e659925bc7a82d8d8feb97e8b909bfb3c9f7f"}},{"ruleId":"D1","level":"warning","message":{"text":"analysis.completion_audit (cyclomatic 83): analysis.completion_audit 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":"chapter7/model-benchmark/analysis.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96ce79a850ca28ed5877519341eeaf166a7b8cf72f305ab31ac8dd02aa15ceb"}},{"ruleId":"D1","level":"warning","message":{"text":"run_controlled_experiment.main (cyclomatic 71): run_controlled_experiment.main has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/android-world/run_controlled_experiment.py"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b276c322e187ff9a16858fac1d2aee2934081045a4a4f8bced5f5bddd9763727"}},{"ruleId":"D1","level":"warning","message":{"text":"book-markdown.bookMarkdown.\u003Creturned closure\u003E::walk (cyclomatic 67): book-markdown.bookMarkdown.\u003Creturned closure\u003E::walk has cyclomatic complexity 67 (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":"web-astro/src/lib/book-markdown.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb9777599573daba365460dfc619256b1572ebdd2dd21289d5edf87e89b688d"}},{"ruleId":"D1","level":"warning","message":{"text":"bookMarkdown::(anonymous)::walk (cyclomatic 65): bookMarkdown::(anonymous)::walk has cyclomatic complexity 65 (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":"web-astro/src/lib/book-markdown.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f352f9830a795a3de6d9dc5ef3bbd81b7772b311a068867d1d8a0d459d643ba"}},{"ruleId":"D1","level":"warning","message":{"text":"verify_acceptance.check_arm (cyclomatic 62): verify_acceptance.check_arm has cyclomatic complexity 62 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/phone-agent/verify_acceptance.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f5c6f3e182f33363fb7cfd05a096f49ca503925480b3b2c9f0f4c50a4d4fd9"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 58): demo.main 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":"chapter10/autonomous-phone-registration/demo.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62da34d86bb2cea5f9c646ba21a92f25461920d7090b769583eb626719748b7"}},{"ruleId":"D1","level":"warning","message":{"text":"UserMemoryAgent.execute_task (cyclomatic 58): UserMemoryAgent.execute_task 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"740759ae604bf181258e2657099527520ec3ae5cc74c424cff057f3f5db6456f"}},{"ruleId":"D1","level":"warning","message":{"text":"AttentionModal.AttentionModal (cyclomatic 58): AttentionModal.AttentionModal has cyclomatic complexity 58 (threshold 15). Most of this is not in the body itself: 5 of the 58 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 99, handleMouseMove, a function literal at line 42, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionModal.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b913855f05bc64863a8efc0f630edda507ec631a005a49e9fbd6de9c2e6d363c"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.judge (cyclomatic 56): experiment.judge has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"48256541646e3f3decf796702628aeff5b1ccee8b4d2e5549d05d5c688479d29"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.judge (cyclomatic 56): experiment.judge has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1697fa00f6063c7bae097d1be4960deab5c720c72e5d1ea9cbd456f41228cb7"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_simulator_run.validate (cyclomatic 54): validate_simulator_run.validate 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":"chapter10/voice-werewolf/validate_simulator_run.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8b040ae177171a4c7eb6c730451a91c746a4071f1b6435f910897a8a88ddc2"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run_evaluation_mode (cyclomatic 54): main.run_evaluation_mode 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":"chapter3/user-memory/main.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b604e8a3752ca3c9e595b07ebbcd9cc9a5d9532369cc0e21d80fb2f714887f3"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.analyze (cyclomatic 54): experiment.analyze 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":"chapter7/openvla-robotwin2-eval/experiment.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fd8875591433a6e16e50c90a50b9584c1c2e0df5a33aaa2e6ce314b1cd0c6d"}},{"ruleId":"D1","level":"warning","message":{"text":"review.main (cyclomatic 54): review.main 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":"slides/review.mjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e71209efbaa15fc7f08d3246044b8ecbcad1fd150640766126d9e7fb241f344"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign.main (cyclomatic 53): campaign.main has cyclomatic complexity 53 (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":"chapter3/structured-knowledge-extraction/campaign.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25415badef122e56a97b00e3be771a6a6fb9d091092dd8fac0859f31a07aa40"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment_validation.validateExperimentEvidence (cyclomatic 50): experiment_validation.validateExperimentEvidence has cyclomatic complexity 50 (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":"chapter6/live-audio/backend/experiment_validation.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6084fadba5592e6a604133968d2dfde5fd7e2d6846ca19583c1749e7814f2b"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.judge (cyclomatic 49): experiment.judge 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":"chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"79524f9dca3ed10f14d2c951af321c3633500ad6e975f6661d3c64c0992a8496"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.judge (cyclomatic 49): experiment.judge 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":"chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a26dffd57b9acd69fc6f70fef198f12b4e2cf76be953a28302cff77529a031"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_evidence.validate (cyclomatic 49): validate_evidence.validate 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":"chapter8/continued-pretraining/validation/validate_evidence.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e9ac058d3c99c37ec3472f124433c73fd16e2cdb0c4f3371d20e574bb7b811"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_4_2.substantive_observation (cyclomatic 47): run_experiment_4_2.substantive_observation 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":"chapter4/perception-tools/run_experiment_4_2.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"d595bc1e470486d18f8cbd9920dbc3756c0bf0386a2e94055ad38edd56042655"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.run_case (cyclomatic 47): experiment.run_case 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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f014bf0836c836c0332c91551161f7b70b689a4f1b1a1585d78e46612733fb"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.run_case (cyclomatic 47): experiment.run_case 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":"chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1812c305686ffc4e88d0650350e16a5ddde8799dfe8c25e9950f7097c17da2d2"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.run_case (cyclomatic 47): experiment.run_case 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":"chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc62b8e7ee9710c01778348e85118b598539ae5d4fa3d0afcbb95646181b306d"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.run_case (cyclomatic 47): experiment.run_case 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":"chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"956d62ae8a49deddee718afc86df2974358b31c5e2a666f9cf6d207c3a12051b"}},{"ruleId":"D1","level":"warning","message":{"text":"DuplexInterruptionManager.calculate_energy (cyclomatic 45): DuplexInterruptionManager.calculate_energy 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":"chapter6/streaming-speech/interruption_manager.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2990e84ea253ad5881aa95918d5bf2c895bcbcf981f340539b1860f26da283eb"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_vlm_evidence.validate_receipts (cyclomatic 45): validate_vlm_evidence.validate_receipts 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":"chapter8/MiniMind-pretrain/validation/validate_vlm_evidence.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89570497f6265965c8bbaca28e993ca3d51bfacc29beac0de6465083a39c8fe"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCreator._generate_scratch_files (cyclomatic 44): AgentCreator._generate_scratch_files 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":"chapter5/agent-creator/creator.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"f106d80f1dd2e69aa0109fade73ca74fc875b8d601779e993e44d45e06a0b996"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_safety_final.call_generated_func (cyclomatic 44): benchmark_safety_final.call_generated_func 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b75d04f086d60e19848f9fc44b6222eb97de43a8658c5bcb765955f1b202941"}},{"ruleId":"D1","level":"warning","message":{"text":"main.interactive_mode (cyclomatic 43): main.interactive_mode 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":"chapter1/context/main.py"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fc4b9a008d7fb0d518a2e3dd387e104238a75d57ba91d1bdd5e40b379d7f9c"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 43): demo.main 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":"chapter5/code-for-math/demo.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4865fa327d188996f4ec8a2202deadc6f34b5bcc9702d28e56f2e8d27363e3"}},{"ruleId":"D1","level":"warning","message":{"text":"index.Home (cyclomatic 43): index.Home has cyclomatic complexity 43 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 16 belong to 3 function items inside it that branch. 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":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d373f6876b508e6a00a9e2c856033f8979f74d2c76d94228c98f3a785ea63109"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_official_run.validate (cyclomatic 40): validate_official_run.validate 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":"chapter2/agent-skills-ppt/validate_official_run.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"901916c611d54f6f47c99202cb2b5966cf40d5a86baa7917f1ca09a39bb95593"}},{"ruleId":"D1","level":"warning","message":{"text":"merge_candidate_shards.main (cyclomatic 40): merge_candidate_shards.main 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":"chapter7/android-world/merge_candidate_shards.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68b0c1e633056300800f82993e69d035ebbb6f24626f379be44b904af2dd774"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_2_8.run_one (cyclomatic 39): run_experiment_2_8.run_one 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":"chapter2/system-hint/run_experiment_2_8.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ef19499239d650e458b48019650384cc9fc6ac8ed148e7a032ea49e6c44d07"}},{"ruleId":"D1","level":"warning","message":{"text":"validator._structural_check (cyclomatic 38): validator._structural_check 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":"chapter5/agent-creator/validator.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b030daae4b847834ec8fd08c13f31f7e64bc8ec7e88b64b69ead044a374c7c67"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 36): demo.main has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/paper-to-ppt/demo.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ff5d73ac10da0fd54bab395546de8a1e6149d280ad810640900b5ac2fd8032"}},{"ruleId":"D1","level":"warning","message":{"text":"EventTriggeredAgent.handle_event (cyclomatic 36): EventTriggeredAgent.handle_event 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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3dfab4bf49154bdc9c1a902f4e2e2bb538c755e5814339d8388bcf45d668cd"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionHandler.processTTSQueue (cyclomatic 36): ConnectionHandler.processTTSQueue has cyclomatic complexity 36 (threshold 15). Most of this is not in the body itself: 11 of the 36 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 776, 861). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd08c9ecb4940b4e10f9204712401e86650a046ca8e77674864e4b683f217f53"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_campaign.main (cyclomatic 35): validate_campaign.main 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":"chapter10/generative-agents/validate_campaign.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a972cdc18f3f5c35158e43aabd345240f1eb5477f70fd672783effc14d97b84"}},{"ruleId":"D1","level":"warning","message":{"text":"KVCacheAgent.execute_task (cyclomatic 35): KVCacheAgent.execute_task 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":"chapter2/kv-cache/agent.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a37e56cfcdfb665dac150ecf9d8c41049185315c1b65621a435318f3fe11bd"}},{"ruleId":"D1","level":"warning","message":{"text":"VLLMToolAgent.chat_stream (cyclomatic 35): VLLMToolAgent.chat_stream 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":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f96f0c089d1c30ec2deaf9df12529dd11a184100485dc61ff4d28def67cd437"}},{"ruleId":"D1","level":"warning","message":{"text":"BackgroundMemoryProcessor.apply_memory_updates (cyclomatic 35): BackgroundMemoryProcessor.apply_memory_updates 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":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a736952b889c817ceb4be481db1297550aa7e5023602339c78ed41aeacc1069"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_4_5.run (cyclomatic 35): run_experiment_4_5.run 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":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1a488dbc577ac9928e9aac24db15948617254e20d48740cab79dfc237574e1"}},{"ruleId":"D1","level":"warning","message":{"text":"main.interactive_mode (cyclomatic 34): main.interactive_mode 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":"chapter2/local_llm_serving/main.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"415b329188c42f2d1ab395874c3c21880e4271c3fa910f695f39a894bd18436b"}},{"ruleId":"D1","level":"warning","message":{"text":"SystemHintAgent.execute_task (cyclomatic 34): SystemHintAgent.execute_task 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":"chapter2/system-hint/agent.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"e779e5082eec630dcaded933a0c334d9c631071271ad9c52789a0173685708f6"}},{"ruleId":"D1","level":"warning","message":{"text":"main.interactive_mode (cyclomatic 34): main.interactive_mode 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":"chapter3/user-memory/main.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf51b519fb3200c2c3ac31d074865b5bc2a4e9d58873c95e6340e326ffea82ba"}},{"ruleId":"D1","level":"warning","message":{"text":"run_exact_experiment.derive_acceptance (cyclomatic 34): run_exact_experiment.derive_acceptance 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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"671983a97b6f73ed4f90b9d5ca5ba112aa66ded20a6913256a83d092e6520673"}},{"ruleId":"D1","level":"warning","message":{"text":"streaming._absorb (cyclomatic 34): streaming._absorb 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":"chapter5/provider-failover/streaming.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e1429d7ce75c9397157da416859e7b36cbb60dd0084505d6cdfaa88920aa94"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_audio_quality.judge_once (cyclomatic 34): evaluate_audio_quality.judge_once 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":"chapter6/controllable-tts/evaluate_audio_quality.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a2bb44eb393a0cbb3158ae2cc8256e7f9217476b73f79e540874348d0d79d7"}},{"ruleId":"D1","level":"warning","message":{"text":"verify_acceptance.main (cyclomatic 34): verify_acceptance.main 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":"chapter6/phone-agent/verify_acceptance.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"7916be54a0a3de54fefbf354488b61832f4dce9f3a6ccd5256cfe9c3fdf46a70"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_vlm_evidence.validate_run (cyclomatic 34): validate_vlm_evidence.validate_run 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":"chapter8/MiniMind-pretrain/validation/validate_vlm_evidence.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"354d8339b1a497d61eacd28883b4d6aaf09193e2d3f753e76f19a22a9fd3ecba"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.completion_assessment (cyclomatic 32): experiment.completion_assessment has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b49e97e3ce8c52defae4635b2237047e3c0f5a04d7029b2e0b56f04bce633d9"}},{"ruleId":"D1","level":"warning","message":{"text":"context-flow-figures.layoutContextFlow (cyclomatic 32): context-flow-figures.layoutContextFlow has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 9 of the 32 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 151, a function literal at line 31, a function literal at line 47, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/context-flow-figures.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19b536169bde51803c6d73a6aa4eee27797081649ec7f817e64fadd467769e9"}},{"ruleId":"D1","level":"warning","message":{"text":"annotations.parseBackup (cyclomatic 32): annotations.parseBackup has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 6 of the 32 points are its own statements and the rest belongs to one function literal inside it that branches (line 57). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/annotations.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfcd6f6636c212e8fee21914575d1ee716324d50e74c589c4936b2883518d16"}},{"ruleId":"D1","level":"warning","message":{"text":"run_official_experiment.main (cyclomatic 31): run_official_experiment.main 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":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"b673f101ef1af8d58aaf44649be30000a3daa15db8be04e4222435929278931d"}},{"ruleId":"D1","level":"warning","message":{"text":"run_comparison.main (cyclomatic 31): run_comparison.main 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":"chapter10/multi-role-transfer/run_comparison.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c4975cbd52b2dd256e5190bdcc28f54421b3163b1d750bf54e3d6b65954bc9"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextualMemoryEvaluator.evaluate_test_case (cyclomatic 31): ContextualMemoryEvaluator.evaluate_test_case 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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a172aafab9434cecaa38fb99512e81abffe1d10240749a4892d6a699d9c0c5b"}},{"ruleId":"D1","level":"warning","message":{"text":"memory_rag_campaign.main (cyclomatic 31): memory_rag_campaign.main has cyclomatic complexity 31 (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":"chapter3/memory_rag_campaign.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c33d3cc63a31e3d5d2a1af5cf92951f04e1323b2406cd03cc3aa671b43b96c"}},{"ruleId":"D1","level":"warning","message":{"text":"main.interactive_chat (cyclomatic 31): main.interactive_chat 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":"chapter4/multimodal-agent/main.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32bd9f4aefc3ad497cec8e2eaaf9c8aaaad684fcfc294e22985030755c352a3"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 31): demo.main 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":"chapter7/tts-quality-eval/demo.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"328c6f3b90a0cfd5c0524ad177d3d2aad78f1d752bb81b48bb9e5621578bef88"}},{"ruleId":"D1","level":"warning","message":{"text":"DownstreamAblationEngine.run_ablation_campaign (cyclomatic 31): DownstreamAblationEngine.run_ablation_campaign 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":"chapter9/hermes-self-evolution/run_downstream_ablation.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f473a4f0d249700ce8e690556d953799ccf0c052bb66839a60b9b52a0f43e3"}},{"ruleId":"D1","level":"warning","message":{"text":"OllamaNativeAgent.chat_stream (cyclomatic 30): OllamaNativeAgent.chat_stream 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":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39d23925580214f628d59fd99aa0a1f8ddd1022f94e86806e6e74d7c9dcffb8"}},{"ruleId":"D1","level":"warning","message":{"text":"providers.capture (cyclomatic 30): providers.capture 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":"chapter5/provider-failover/providers.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e73aec3c784bc80b29d7c2a2cd29c29cf863978751c34819280706c04af9b5"}},{"ruleId":"D1","level":"warning","message":{"text":"InteractiveContextualRAG.evaluate_specific_test_case (cyclomatic 29): InteractiveContextualRAG.evaluate_specific_test_case 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":"chapter3/contextual-retrieval-for-user-memory/main.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"456b25f4849a083d4f9d28c1e0641ffe12702c5b752e4bfd77b002e85cfd91cc"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign.run (cyclomatic 29): campaign.run has cyclomatic complexity 29 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/log-diagnosis/campaign.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd9671c059049fe32c24e3b4dd429b9e80e131b78daf0a775d350676596216a"}},{"ruleId":"D1","level":"warning","message":{"text":"verify_acceptance.check_llm_receipt (cyclomatic 29): verify_acceptance.check_llm_receipt 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":"chapter6/phone-agent/verify_acceptance.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22301c75fdeaf4a3352d9908d2112befce612754794d75a22796bd5b02367ad"}},{"ruleId":"D1","level":"warning","message":{"text":"webrtc_app._acceptance (cyclomatic 29): webrtc_app._acceptance 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":"chapter6/phone-agent/webrtc_app.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"042b54ed8f403384d0bc7d9d710163ad109980c3032f9e52d2502ae28a83ad08"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextAwareAgent.execute_task (cyclomatic 28): ContextAwareAgent.execute_task 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":"chapter1/context/agent.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3fde6f549a486e3ccd59437248694ec68ed67e9f28a4fd76900ac493e99270f"}},{"ruleId":"D1","level":"warning","message":{"text":"UserMemoryEvaluator.evaluate_test_case (cyclomatic 28): UserMemoryEvaluator.evaluate_test_case 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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7683733af51364e264162124f722aa28e88c9973d3b348e388ba57ccd3df6ef"}},{"ruleId":"D1","level":"warning","message":{"text":"UserMemoryEvaluator.evaluate_test_case (cyclomatic 28): UserMemoryEvaluator.evaluate_test_case 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":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a830d8140b66d6a16bb739fda39213aab3177897673bce226dfd5c5af4aa5ee"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtendedTools.virtual_desktop_execute (cyclomatic 28): ExtendedTools.virtual_desktop_execute 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":"chapter4/execution-tools/extended_tools.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"42af790c466ddeabb31dacc99df9b9d897a80f38dc77b002577b7dfedf808270"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign.main (cyclomatic 28): campaign.main 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":"chapter5/paper-to-video/campaign.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52428645e612587b703072be2154a87e8192f260cd33372581676bd42e7cce3"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_harness_focused.run_focused_harness_eval (cyclomatic 28): benchmark_harness_focused.run_focused_harness_eval 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_harness_focused.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"684ac150ec17223d047830a9c0f13856512336532fea5fc8aa03efa6e9b2fa44"}},{"ruleId":"D1","level":"warning","message":{"text":"PEDOSecurityEvaluator.evaluate_row_level_security (cyclomatic 28): PEDOSecurityEvaluator.evaluate_row_level_security 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":"chapter5/permission-embedded-data-objects/run_live_security_eval.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"13731cc78be81f65e4865e60219d0d06cc5517f88d6a8c75593f935f61b4a1fc"}},{"ruleId":"D1","level":"warning","message":{"text":"PEDOSecurityEvaluator.evaluate_field_visibility (cyclomatic 28): PEDOSecurityEvaluator.evaluate_field_visibility 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":"chapter5/permission-embedded-data-objects/run_live_security_eval.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dd0110e2cafb4c1c9a266f1a9a3c35b9f675825fdba5b62a716c410cc5ba01"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.preflight (cyclomatic 28): experiment.preflight 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":"chapter7/openvla-robotwin2-eval/experiment.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"640042634334bff00d3600e4e0358d2f2cc8641657c2c5b204ffeb78502c0026"}},{"ruleId":"D1","level":"warning","message":{"text":"lang-switcher.init::translatePath (cyclomatic 28): lang-switcher.init::translatePath 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: 3 other methods here (lang-switcher.init::detectLang, lang-switcher.init::rewriteSidebar, lang-switcher.init::render) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89ed538d4f5634c4f5d14f9f039088398ceb27e10f500d357281d23584d5cfe"}},{"ruleId":"D1","level":"warning","message":{"text":"generate.validateLesson (cyclomatic 28): generate.validateLesson 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":"slides/generate.mjs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"24fa9e2bd2101c8e81887cf7244b64abc32549cd583e741da98961c3a2bee887"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_safety.print_results (cyclomatic 27): benchmark_safety.print_results 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbaf5c47d2ef6ea565957290b54fbb2d1f972273741174391d3aefaeaa424b1e"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_run.main (cyclomatic 27): validate_run.main has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/computer-use-open-model/validate_run.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"342dad6c59d10c387e5dbaf0e864de1c52d470363d1b9c3a4c1aa679a7974b0a"}},{"ruleId":"D1","level":"warning","message":{"text":"preflight.main (cyclomatic 27): preflight.main has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/rgb-sim2real-grasping/preflight.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ef50445d6ec498e8b56cc1b1747db71479b3e0d832c05e6bb6dcf793ae87ed"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_9_5.campaign (cyclomatic 27): run_experiment_9_5.campaign has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/run_experiment_9_5.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7bfafdb925a3193ccf8ad01988c2e7e99be5c131ccba78df2452f098ab3011"}},{"ruleId":"D1","level":"warning","message":{"text":"ReActAttentionAgent.execute_react_loop (cyclomatic 26): ReActAttentionAgent.execute_react_loop 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":"chapter2/attention_visualization/main.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b34f6a25b7e1f1e9171b51d528a89c6d055ae852f6a418ee4e70c2a635a4c7"}},{"ruleId":"D1","level":"warning","message":{"text":"NotificationDispatcher.dispatch_and_wait (cyclomatic 26): NotificationDispatcher.dispatch_and_wait 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":"chapter4/collaboration-tools/src/notification_dispatcher.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddfd2568ebd3e5658909c8d9724c719a31abef776cbccdf2fc236e025e7d8cb"}},{"ruleId":"D1","level":"warning","message":{"text":"search_tools.search_web (cyclomatic 26): search_tools.search_web 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":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"036cb9e690f6ee96f0eae59b61c8c55e1c841b9642af4ad827155028e27c95ae"}},{"ruleId":"D1","level":"warning","message":{"text":"validator.validate_agent (cyclomatic 26): validator.validate_agent 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":"chapter5/agent-creator/validator.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"088b18e9502c113a71beaf2b1f60fb28b7b47450a07d29ce927bac79c20a197c"}},{"ruleId":"D1","level":"warning","message":{"text":"RateRampBenchmark.run (cyclomatic 26): RateRampBenchmark.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":"chapter7/model-benchmark/rate_ramp_benchmark.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33fcc7332946955c27da2bf3579a679cabfb64f0007816a69c0ab0968b660ac"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionHandler.generateAIResponse (cyclomatic 26): ConnectionHandler.generateAIResponse has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 6 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 423, 488). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"6961fef376479a2757543d98d02217a1dc2c8c6c7479e927207bac71ced8d48f"}},{"ruleId":"D1","level":"warning","message":{"text":"LLMAgent.choose_action (cyclomatic 25): LLMAgent.choose_action 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":"chapter1/learning-from-experience/llm_agent.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09a5e82aeafa4e217b4d2222c94a6df5b540b57944437bb2fa981c5c2272c42"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_audio_run.evaluate (cyclomatic 25): evaluate_audio_run.evaluate 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":"chapter10/voice-werewolf/evaluate_audio_run.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad92acb7984cc20f96f47f7dc8804a0deb8a2fcd930883f9130945fd736b0a9"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_2_8.execute_tool (cyclomatic 25): run_experiment_2_8.execute_tool 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":"chapter2/system-hint/run_experiment_2_8.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1947dd1e28c8b8841cc08b1078cc1d6e3783e1aa5e49d8f9df9225e1e66f7957"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_4_4.run (cyclomatic 25): run_experiment_4_4.run has cyclomatic complexity 25 (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":"chapter4/execution-tools/run_experiment_4_4.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1db6a711b4713f8c7190ab977d90026028d50be99c9daa3fe65b0cb95db1f70"}},{"ruleId":"D1","level":"warning","message":{"text":"MultimodalAgent._stream_gemini_response (cyclomatic 25): MultimodalAgent._stream_gemini_response 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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"482edea3a38959be51ca0042d46aeec60522e2997a03861595d4c2f67517f940"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 25): demo.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":"chapter5/code-for-logic/demo.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1b4b894f3338e4834dbcaa1da7eed86b9d294eae78854072de7b15cab2d4ae"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_application.print_application_results (cyclomatic 25): benchmark_application.print_application_results 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a910c2ddb59ec6a4b96f22dc8beb01fa74f1ceeaee0a2dca6cea57c3353080b"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_audio_quality.main (cyclomatic 25): evaluate_audio_quality.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":"chapter6/controllable-tts/evaluate_audio_quality.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db1240007797f40531ffef7a34ff50359f5f384bffc2014a526864b58e4d370"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_from_cache.evaluate_from_parquet (cyclomatic 25): evaluate_from_cache.evaluate_from_parquet 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":"chapter8/Intuitor/evaluate_from_cache.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05a11f81bb40776721396966b890f9fc66b6664c7e41d04db6afd6ed7daa343"}},{"ruleId":"D1","level":"warning","message":{"text":"LongitudinalEvaluator.run (cyclomatic 25): LongitudinalEvaluator.run 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":"chapter9/self-evolution-eval/harness.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"497182786a915fa0a44015d5cd4d0c251aa891e7342409b08baff08fff26efd2"}},{"ruleId":"D1","level":"warning","message":{"text":"machine-translation.initMachineTranslation (cyclomatic 25): machine-translation.initMachineTranslation has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 6 function items inside it that branch (setState, a function literal at line 67, a function literal at line 138, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/machine-translation.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e86d15c3475a1ea4cd584bc3d5dd760bf132cfb8899c540855bf1979d47ce45"}},{"ruleId":"D1","level":"warning","message":{"text":"FieldSpec.validate (cyclomatic 24): FieldSpec.validate 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":"chapter10/autonomous-phone-registration/models.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e8083448f864cbd2754e29cdcce3300ef3ea8b07c8ab3d2e1e0ec571132ae9"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiRoleOrchestrator._run_one_llm_turn (cyclomatic 24): MultiRoleOrchestrator._run_one_llm_turn 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":"chapter10/multi-role-transfer/orchestrator.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3587b72dfa1c52a9f3ad3a3f6630e36ef259b83589087624972ceb863b86cecd"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.verify_simulator_trace (cyclomatic 24): demo.verify_simulator_trace 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":"chapter10/voice-werewolf/demo.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb930db78c7585a4153fb5506363a1abf5c59eced865e1670c0a5789e54f1eae"}},{"ruleId":"D1","level":"warning","message":{"text":"ResearchAgent._stream_response (cyclomatic 24): ResearchAgent._stream_response 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":"chapter2/context-compression/agent.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b812013dc63f6ad1e9d4ec0782e6246865f814e7c33a97856556e86cfd1f220"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextualUserMemoryAgent.answer_question (cyclomatic 24): ContextualUserMemoryAgent.answer_question 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":"chapter3/contextual-retrieval-for-user-memory/contextual_agent.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"02539d1c4e0aca2ddd769bce7b267ff5276c6e20f9e1bd14f78a4080de695594"}},{"ruleId":"D1","level":"warning","message":{"text":"LogSanitizationAgent.detect_pii (cyclomatic 24): LogSanitizationAgent.detect_pii 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":"chapter3/log-sanitization/agent.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"389a889bd7f35fa138a43db47ab75ae70de86459bbc370fc18a52eb240badb50"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign_browser.main (cyclomatic 24): campaign_browser.main has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/campaign_browser.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bfc8a53970c56c85706eac1e13587b539da0eba05c12ab32a1180a6021fdd7"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_application.run_pedo_workflow (cyclomatic 24): benchmark_application.run_pedo_workflow 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"066fa616b3a6d2ffe4ffca8eade31700bd9a4bb51a9fea984a90546ba97b1bf3"}},{"ruleId":"D1","level":"warning","message":{"text":"StrengthenedOracle.check_violations (cyclomatic 24): StrengthenedOracle.check_violations 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"db7bbbe7617e4d6b1df1a2daeeca9711c6513bd00eefaefc14d6713a7ac703ad"}},{"ruleId":"D1","level":"warning","message":{"text":"analysis.availability_summary (cyclomatic 24): analysis.availability_summary 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":"chapter7/model-benchmark/analysis.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf132bc839112de064e2447989061798b94cbc47858a6fa7f8018be6d36e1067"}},{"ruleId":"D1","level":"warning","message":{"text":"run_full.main (cyclomatic 24): run_full.main 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":"chapter7/user-memory-system-evaluation/run_full.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1f1808b9ecabf59d1c05da78bb0fd600543b87b585bee20f4137dd62d8ed8b"}},{"ruleId":"D1","level":"warning","message":{"text":"MultilingualReasoningEvaluator._parse_model_output (cyclomatic 24): MultilingualReasoningEvaluator._parse_model_output 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":"chapter8/MultilingualReasoning/evaluate_multilingual.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8b847856ca25a6a793bc5a094c9843f6c09bb4b5a7b4769be1fd4d48e48540"}},{"ruleId":"D1","level":"warning","message":{"text":"lang-switcher.init::rewriteSidebar (cyclomatic 24): lang-switcher.init::rewriteSidebar 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. This shape REPEATS in the file: 3 other methods here (lang-switcher.init::detectLang, lang-switcher.init::translatePath, lang-switcher.init::render) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"3144d292fc213ecb8b6e4b5a7ec0bab89523fe53226291d3caf9fac25106422c"}},{"ruleId":"D1","level":"warning","message":{"text":"reading-position.initReadingPosition (cyclomatic 24): reading-position.initReadingPosition has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to 5 function items inside it that branch (restore, capture, save, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/reading-position.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8098c5a2581df2ecac0131aba8ac3d641c8add99a7289b293b83c34fd8dbf80"}},{"ruleId":"D1","level":"warning","message":{"text":"main (cyclomatic 24): main has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to 10 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/generate.mjs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bab9cf15d0c7df5d4dd2f5ee2f35fd8cfa8289982f3a8611b13bd0777b6909a"}},{"ruleId":"D1","level":"warning","message":{"text":"agents.run_orchestration (cyclomatic 23): agents.run_orchestration 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":"chapter10/book-translation/agents.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4283ceb838e594534f16e7bf1592dae781c186a093cd89bc16408122e19131"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluation.evaluate_task (cyclomatic 23): evaluation.evaluate_task 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":"chapter10/multi-role-transfer/evaluation.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8f4f88c8607c20e25cf8d799aecdaee8000831cf9bfdfd941b579f1dba1cd6"}},{"ruleId":"D1","level":"warning","message":{"text":"run_campaign.summarize (cyclomatic 23): run_campaign.summarize 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":"chapter2/prompt-injection/run_campaign.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b450d390d9ca3691d577f6289710459dfa966514fb8c3bc85e127fab3fc8c5c"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign.main (cyclomatic 23): campaign.main 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":"chapter3/structured-index/campaign.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"76eb647ddd4ba40ba2cab865f558d7a8dcccef1e8d425386c1829eddcae6e1d1"}},{"ruleId":"D1","level":"warning","message":{"text":"CodingAgentCLI.run_agent (cyclomatic 23): CodingAgentCLI.run_agent 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":"chapter5/coding-agent/main.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1cc26c5774f954161e1d989788a5a04608d84a93ff3a3a58e89369a46c1198"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_application.run_raw_workflow (cyclomatic 23): benchmark_application.run_raw_workflow 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79dfe60d4b02cf798d4f7b2ab0fa547c52b704d5ba8f7db8d86bf01c3e2ea79"}},{"ruleId":"D1","level":"warning","message":{"text":"run_controlled_experiment._parse_args (cyclomatic 23): run_controlled_experiment._parse_args 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":"chapter7/android-world/run_controlled_experiment.py"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"260090d7741e4680a54bdbb65e55dcc969acc1af93ccf28bfe55ed5f067357e3"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign.measure_stream (cyclomatic 23): campaign.measure_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":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48e96189e9c03d26bf0dcc8f7877110af503fc592a528a2884cefc189214bb6"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningAgent._save_learned_workflow (cyclomatic 23): LearningAgent._save_learned_workflow 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":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb84c5a4cbe7038050ae30c65810351bcd77c9d59af7241555566a754e0759c0"}},{"ruleId":"D1","level":"warning","message":{"text":"TrajectoryConsistencyChecker.check_trajectory (cyclomatic 23): TrajectoryConsistencyChecker.check_trajectory 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":"chapter9/trajectory-verifier/consistency_checker.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a5ca1c8e672970059e5f761e64c286e85659813196032e799a578b7c4d2c85"}},{"ruleId":"D1","level":"warning","message":{"text":"evidence.validate_manifest (cyclomatic 22): evidence.validate_manifest 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":"chapter1/image-gen-workflow/evidence.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a587a2e26eeb17ffb0ceab8ce3370e8179df560b2f16018b50a2728c889c45"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_1_2.validate (cyclomatic 22): run_experiment_1_2.validate 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":"chapter1/web-search-agent/run_experiment_1_2.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7631e9999b79044f22727aecea35edf41cd93bab3fce0522dff03702f8fcf488"}},{"ruleId":"D1","level":"warning","message":{"text":"run_official_experiment.validate_judge_response (cyclomatic 22): run_official_experiment.validate_judge_response 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":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ca4ddb528f9c2f210fad4abf03919c85d495871920c610f0188e87b0bc9a6d"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_campaign.main (cyclomatic 22): validate_campaign.main 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":"chapter10/talkact-reproduction/validate_campaign.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf314da23a822ff56804290a615d1d8158f2e8c0daf80ab1bb5e64b750c076fd"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.verify_isolation (cyclomatic 22): demo.verify_isolation 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":"chapter10/voice-werewolf/demo.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a677ea7fef30cf5997569182e3bcad4ac24e8d5c6e93ac8ba539afa602e84aa5"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign.main (cyclomatic 22): campaign.main has cyclomatic complexity 22 (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":"chapter3/contextual-retrieval/campaign.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"774aa6326ef7f549ac3826127a7450e82607e46bdc8e9197bed01373da85fdaf"}},{"ruleId":"D1","level":"warning","message":{"text":"GrepTool._search_content (cyclomatic 22): GrepTool._search_content 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":"chapter5/coding-agent/tools/grep_tool.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"295416ebe2a606d622c2933b930fae366f8621abc57831a1a4154817828a12fb"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign_postgres.main (cyclomatic 22): campaign_postgres.main 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":"chapter5/erp-agent/campaign_postgres.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"23399ea8ed22d3ceaa39635069ee39a6f98de758cbc126c5c55b6a0993d995b5"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_comparisons.run_all_comparisons (cyclomatic 22): benchmark_comparisons.run_all_comparisons has cyclomatic complexity 22 (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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f83d0e6915a0fcea77e6893a98640231b495e79c9323b01c1e0577b78080fc"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_safety_v2.print_safety_v2_results (cyclomatic 22): benchmark_safety_v2.print_safety_v2_results 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa24ffafbeeb909d3e71a030e73060d76e95b8dba08e0075a1dbb1d759f215a"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_weather_run.main (cyclomatic 22): validate_weather_run.main 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":"chapter6/claude-computer-use-native/validate_weather_run.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e1dcc04d1423944420cfbe15b6d5a91963c8aaeb7370217e361d23c78a7f66"}},{"ruleId":"D1","level":"warning","message":{"text":"markup.parse (cyclomatic 22): markup.parse 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":"chapter6/controllable-tts/markup.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d4fac6c607565ccbedd49abccdc4b15c0dca5a1bb8b0bd6417956adc621ea0"}},{"ruleId":"D1","level":"warning","message":{"text":"create_data.generate_distillation_data (cyclomatic 22): create_data.generate_distillation_data 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":"chapter8/prompt-distillation/create_data.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b1260b8ac7e609e8b6dc2522aa2eb38573f71ee53b564e6e30b6cfa68e1746"}},{"ruleId":"D1","level":"warning","message":{"text":"DownstreamAblationEngine.evaluate_code_quality (cyclomatic 22): DownstreamAblationEngine.evaluate_code_quality 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":"chapter9/hermes-self-evolution/run_downstream_ablation.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1831d9123348bdf45160682da3340c5b5797a0cb4c087742b25aa1fdf58a82f"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIQualityJudge.evaluate (cyclomatic 22): OpenAIQualityJudge.evaluate 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":"chapter9/trajectory-verifier/llm_judge.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f552174ba9e8f0f0bbc7259fe25f36eea6c79e6de92eda2b30d7968d5fa71d6b"}},{"ruleId":"D1","level":"warning","message":{"text":"ResearchAgent.execute_research (cyclomatic 21): ResearchAgent.execute_research 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":"chapter2/context-compression/agent.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb9c0f5c8a7aaf883ef4ee168adf15fcce06f73d16ba9cd328707de72dccc45"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_2_8.component_scores (cyclomatic 21): run_experiment_2_8.component_scores 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":"chapter2/system-hint/run_experiment_2_8.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"205efc71cb5fa9b4307fbaa939f8efc95763e734c80a4705c527f41dff2e2201"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_2_8.summarize (cyclomatic 21): run_experiment_2_8.summarize 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":"chapter2/system-hint/run_experiment_2_8.py"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"b763f893fccc3babafacf37330d69836fbbba793b329e863bc6a56dfa5ade008"}},{"ruleId":"D1","level":"warning","message":{"text":"InteractiveRAGEvaluator.evaluate_single_test (cyclomatic 21): InteractiveRAGEvaluator.evaluate_single_test 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":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e1e7320da5cfaf40409f21cb58a197eee672d29114d916fa20b4863fcfc705"}},{"ruleId":"D1","level":"warning","message":{"text":"RetrievalStageEvaluator.evaluate_pipeline (cyclomatic 21): RetrievalStageEvaluator.evaluate_pipeline 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":"chapter3/retrieval-pipeline/stage_evaluator.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"781a247a445b7f3b8b89faedf1527f621c39c69981c055a28ae57252d59e123d"}},{"ruleId":"D1","level":"warning","message":{"text":"HybridStructuredRetriever.index_graphrag_data (cyclomatic 21): HybridStructuredRetriever.index_graphrag_data 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":"chapter3/structured-index/hybrid_retriever.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fab2f49d06a6fd040465c459dca4fab5a5d7ed43ce8132875c4b18db2fc714d"}},{"ruleId":"D1","level":"warning","message":{"text":"HybridStructuredRetriever._compute_scores (cyclomatic 21): HybridStructuredRetriever._compute_scores 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":"chapter3/structured-index/hybrid_retriever.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce70e012f600740646fcea7e2fa20294597b67fd6d0adb1ef89174c886ea8238"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchEvaluator.generate_report (cyclomatic 21): BatchEvaluator.generate_report 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":"chapter3/user-memory-evaluation/evaluator.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"be474ecb353f22bf03f253ae19f8d2b8a0f212da514e272d9f1d6b277530b082"}},{"ruleId":"D1","level":"warning","message":{"text":"UserMemoryEvaluationFramework._load_single_test_case (cyclomatic 21): UserMemoryEvaluationFramework._load_single_test_case 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":"chapter3/user-memory-evaluation/framework.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7157a59e76c4e398c0b96bac7b22d78542b66895fbc01a67e5208e7bb6e22c"}},{"ruleId":"D1","level":"warning","message":{"text":"run_exact_experiment.substantive_payload (cyclomatic 21): run_exact_experiment.substantive_payload 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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a22e30c87511d5a35976648197961593f6db359840e2cb83cc3791a6453053"}},{"ruleId":"D1","level":"warning","message":{"text":"run_exact_experiment.run (cyclomatic 21): run_exact_experiment.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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"067cb9d55dff59d4a27a1a326370cbd7aed5ea9306a1207cc9ee4505b53bb718"}},{"ruleId":"D1","level":"warning","message":{"text":"example_with_system_hints.demo_system_hints (cyclomatic 21): example_with_system_hints.demo_system_hints 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":"chapter5/coding-agent/example_with_system_hints.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5b97c04db66aa3046ac848beac81c5fd263bbcbdae040d4a8ba2700f107619"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign.run (cyclomatic 21): campaign.run 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":"chapter5/video-edit/campaign.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"0772e459128c005cbb5be09592cfa789d512f9150ba93c440c4dbf7f373db1d0"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 21): demo.main 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":"chapter5/video-edit/demo.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"389e1f2a6618a8ad4b5c1e465e51901ea765b411b92ebb4f53af7695609f0dc0"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment_core.render_report (cyclomatic 21): experiment_core.render_report 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":"chapter7/android-world/experiment_core.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30c7f3de8f8cab1fc62c6255e3852d37c4764170426c74ea31f514472556fa1"}},{"ruleId":"D1","level":"warning","message":{"text":"analysis.cost_summary (cyclomatic 21): analysis.cost_summary 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":"chapter7/model-benchmark/analysis.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f875c718b674531211575176b871e6fee608c5e712620db5c2898ebdbdabd0dd"}},{"ruleId":"D1","level":"warning","message":{"text":"run_real_validation.runLlm (cyclomatic 21): run_real_validation.runLlm 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":"chapter6/live-audio/backend/run_real_validation.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"43cf7a1976c294ad5299f15bdd0617cacc3cea3888b54a4a653e762056e0fb8a"}},{"ruleId":"D1","level":"warning","message":{"text":"figure-style.color (cyclomatic 21): figure-style.color 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":"web-astro/scripts/figure-style.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"634844fdf8125b5b0fb0a8ab86b3e771a5ab0c350a45035955187414132e5b47"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_1_1.evaluate_context_contract (cyclomatic 20): run_experiment_1_1.evaluate_context_contract 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":"chapter1/context/run_experiment_1_1.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"74497668d58c4a50a3a472360f1a5a8fe0a427436b044d1637a907d8048adab8"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_8_2.main (cyclomatic 20): run_experiment_8_2.main 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":"chapter1/learning-from-experience/run_experiment_8_2.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"632f98314e0af3c75b3f0086497596f064511c5cc345f105f17515b633d70e95"}},{"ruleId":"D1","level":"warning","message":{"text":"supervise_campaigns.main (cyclomatic 20): supervise_campaigns.main 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":"chapter10/generative-agents/supervise_campaigns.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa42ec099c39622e9dccffdc617cd23fc59539aee3fdae9453c2f58c6305b84b"}},{"ruleId":"D1","level":"warning","message":{"text":"package_comparison.main (cyclomatic 20): package_comparison.main 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":"chapter10/multi-role-transfer/package_comparison.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ab54b0fd1b495008e9bc0337f260aa626d2d225d067fd052fafd3a0cfd4682"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 20): demo.main 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":"chapter10/voice-werewolf/demo.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"503607933ea2b15b9738b28416655b179c9e6d2b3902b7559126a533985b5c58"}},{"ruleId":"D1","level":"warning","message":{"text":"ReActAttentionAgent.save_react_trajectory (cyclomatic 20): ReActAttentionAgent.save_react_trajectory 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":"chapter2/attention_visualization/main.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ed1d13a6944253811431d98f9f754d7e8fd1b14b985e05c29d4e9a5af90046a"}},{"ruleId":"D1","level":"warning","message":{"text":"UserMemoryEvaluator.generate_report (cyclomatic 20): UserMemoryEvaluator.generate_report 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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f93c778a9f7f972422dfbb2abebb0983851e0e3393f82c75f6b86b8fc4a43a3"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryIndexer.search (cyclomatic 20): MemoryIndexer.search 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40b264f582e73f5e492ccb4e8463cdec7fc982db95b7420297fe0d3d308df7c"}},{"ruleId":"D1","level":"warning","message":{"text":"AgenticRAG.query (cyclomatic 20): AgenticRAG.query 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":"chapter3/agentic-rag/agent.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0ed39f113fc1866fb4a4755893055a10cf6f50c17c0fa3e44894ec22d68d280"}},{"ruleId":"D1","level":"warning","message":{"text":"UserMemoryEvaluator.generate_report (cyclomatic 20): UserMemoryEvaluator.generate_report 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":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0764c30605e0ee79f9d4a6e9d070035a3154a29d6e7d28758eb1cee684023b"}},{"ruleId":"D1","level":"warning","message":{"text":"UserMemoryAgent.__init__ (cyclomatic 20): UserMemoryAgent.__init__ 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":"chapter3/user-memory/agent.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb693f85d5a832460cb4c89161492b91126b6b60f3208ba58bfbbe700294898"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationalAgent.__init__ (cyclomatic 20): ConversationalAgent.__init__ 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":"chapter3/user-memory/conversational_agent.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4124a0e3af9348b558d96b3fc6ea3511b392fc3f60d5cc3c33977c849896a9"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 20): demo.main 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":"chapter4/active-tool-discovery/demo.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"b951cf13f10354983f72d3206e9dbe9989ad38646644c3ed9b6767d0394ac8f8"}},{"ruleId":"D1","level":"warning","message":{"text":"run_exact_experiment._call_real_tool (cyclomatic 20): run_exact_experiment._call_real_tool 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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0fc2a2eccaefe877c6d97d5bb7dc8a053b79ff1c644fac1925a9b221d73c7c"}},{"ruleId":"D1","level":"warning","message":{"text":"cli._demo (cyclomatic 20): cli._demo 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":"chapter4/perception-tools/cli.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7b7a7fbaa050ef1161ca805bea76b35c10173f748b0dca7ee8f8a8415eb6a6"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_4_2.derive_acceptance (cyclomatic 20): run_experiment_4_2.derive_acceptance 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":"chapter4/perception-tools/run_experiment_4_2.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bd97bb02720450db60c7aa0d9f2531be6b72cd5a050d0bfbe57ca521ec8d8a"}},{"ruleId":"D1","level":"warning","message":{"text":"expanded_catalog._specific_contract (cyclomatic 20): expanded_catalog._specific_contract 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":"chapter4/perception-tools/src/expanded_catalog.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2159f35a3b9218543deade62861754b93dbf4a0dee9470349d7f61d3ebebdfcf"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign.main (cyclomatic 20): campaign.main 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":"chapter5/adaptive-log-parser/campaign.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"8611974878d07900a828cfa8685e6c30d14ca3f237d2dd73d6d35de4e1359519"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCreator._ask (cyclomatic 20): AgentCreator._ask 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":"chapter5/agent-creator/creator.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"167bafe68705c40c393e9740727e83aa048432f41ae0e1fbe8c26a53cb4ad64c"}},{"ruleId":"D1","level":"warning","message":{"text":"CodingAgent.run (cyclomatic 20): CodingAgent.run 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":"chapter5/coding-agent/agent_new.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"087456014c19665429bcabc8a2d191057805aa6bc5b617165d49be7f2bac229b"}},{"ruleId":"D1","level":"warning","message":{"text":"PEDOSecurityEvaluator._execute_agent_query (cyclomatic 20): PEDOSecurityEvaluator._execute_agent_query 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":"chapter5/permission-embedded-data-objects/run_live_security_eval.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"881c04da7198d6b19454530302829abba90d93d1e405b7b690c21c6aeb265528"}},{"ruleId":"D1","level":"warning","message":{"text":"run_targeted_eval.run_single (cyclomatic 20): run_targeted_eval.run_single 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":"chapter5/permission-embedded-data-objects/run_targeted_eval.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f270b2005f51b37cee27f960772a866dc6cee5318c36f6ac3bf28d409f13ac8"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run (cyclomatic 20): main.run 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":"chapter6/computer-use-open-model/main.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5457f23bb345c821364aa57d7f6e4814f7b14feaf6241cc11ef3f2727bae1271"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_artifacts.main (cyclomatic 20): validate_artifacts.main 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":"chapter6/controllable-tts/validate_artifacts.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a236b94b3c8633159397cb40ca2d86c9fd0aedb7ee033ce33f499bc55943cd2"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.interaction_analysis (cyclomatic 20): experiment.interaction_analysis 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7505fb625028a6f2dfdffb7955e52f906abbc739753f143eeadea77a83b821"}},{"ruleId":"D1","level":"warning","message":{"text":"run_full.valid_checkpoint (cyclomatic 20): run_full.valid_checkpoint 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":"chapter7/user-memory-system-evaluation/run_full.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"faeacf505846dd9b57a11a13ef61da3b84de75c0f5c0cf499044c6c5a69e1744"}},{"ruleId":"D1","level":"warning","message":{"text":"train_student.main (cyclomatic 20): train_student.main 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":"chapter8/cot-distillation/train_student.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4c56f7cbf91fdaabc8defe36fab1399219eac1ffc381fa11451f0e6a97db56"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionHandler.isCompleteSentence (cyclomatic 20): ConnectionHandler.isCompleteSentence 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":"chapter6/live-audio/backend/server.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3e0d685849971a6ff9b8f23cb0b54d93562aa81ea7006338a065d3586f859c"}},{"ruleId":"D1","level":"warning","message":{"text":"lang-switcher.init::detectLang (cyclomatic 20): lang-switcher.init::detectLang 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: 3 other methods here (lang-switcher.init::translatePath, lang-switcher.init::rewriteSidebar, lang-switcher.init::render) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8056e67333565ce8bec4d57324fbc15c92f59468c7894b1f825275fbbfe799a0"}},{"ruleId":"D1","level":"warning","message":{"text":"calc_sandbox._check (cyclomatic 19): calc_sandbox._check 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":"chapter1/context/calc_sandbox.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"104f5651bf2e9e78e523bbbb8634adaaa429e0b481b7f171f357b2f009f59b59"}},{"ruleId":"D1","level":"warning","message":{"text":"GPT5NativeAgent._citations (cyclomatic 19): GPT5NativeAgent._citations 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":"chapter1/search-codegen/agent.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eeda012f88c01b9b6914ba63599bb483b8132a7461786ebbce657ef720173cc"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSearchAgent.search_and_answer (cyclomatic 19): WebSearchAgent.search_and_answer 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":"chapter1/web-search-agent/agent.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7defc202bf4c9ecc9c9644c0950c104ad7478b61113dcad880c823719e68f6"}},{"ruleId":"D1","level":"warning","message":{"text":"AttentionVisualizationAgent._capture_attention_hook (cyclomatic 19): AttentionVisualizationAgent._capture_attention_hook 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":"chapter2/attention_visualization/agent.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecd4d5152451fc320437857ec762dd427622dc2e521624abecfb9a914d53348"}},{"ruleId":"D1","level":"warning","message":{"text":"ReActAttentionAgent.generate_with_streaming (cyclomatic 19): ReActAttentionAgent.generate_with_streaming 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":"chapter2/attention_visualization/main.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"796214528208e62ba0956f92bdcea4babf885b6201d7ce74dfc5757eb72156f6"}},{"ruleId":"D1","level":"warning","message":{"text":"RAGEvaluator.compute_aggregate_metrics (cyclomatic 19): RAGEvaluator.compute_aggregate_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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb83acc40370e98130a3b541f6195ad7f6eb64a65f9cd8a88cd8e2deb77deb64"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 19): main.main 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":"chapter3/agentic-rag/main.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"290e13312e55ca63c04ec46ab01f205c279856ae72767a7956ba03c21aeded67"}},{"ruleId":"D1","level":"warning","message":{"text":"RAGEvaluator.compute_aggregate_metrics (cyclomatic 19): RAGEvaluator.compute_aggregate_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":"chapter3/contextual-retrieval/evaluation/evaluate.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"3faf0ce49e01be6aa6055fcffdd21f59d7bcecda78178dd6b5cb93d3be256af6"}},{"ruleId":"D1","level":"warning","message":{"text":"MockChatClient._respond (cyclomatic 19): MockChatClient._respond 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":"chapter4/active-tool-discovery/offline_backend.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c1e0ca4c7635a710a878f025a50ac9637aea0246aee7da73a8603e134edcc9"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign.main (cyclomatic 19): campaign.main 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":"chapter4/multimodal-agent/campaign.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b2f1fa5e268bb7522da36412200c1aca0652dd1b95fa5dad5d0732725105a7"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.solve (cyclomatic 19): demo.solve 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":"chapter5/code-for-math/demo.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2798f8e1c24ffcffd03dc6bf2c78df7be750bf02408207cbb82b24ca453a8c63"}},{"ruleId":"D1","level":"warning","message":{"text":"CodingAgent._run_anthropic_iteration (cyclomatic 19): CodingAgent._run_anthropic_iteration 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":"chapter5/coding-agent/agent.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb5b890f1d80a59e7fe1dea9b8df67ff86934aabe12dfee238f2ed2c29a780e"}},{"ruleId":"D1","level":"warning","message":{"text":"NotebookEditTool._execute_impl (cyclomatic 19): NotebookEditTool._execute_impl 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":"chapter5/coding-agent/tools/notebook_edit_tool.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8884080cade6897f6484081945f19f81e9c8572425e6d1863de192cdacd069ff"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign_browser.customize (cyclomatic 19): campaign_browser.customize 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":"chapter5/conversational-ui/campaign_browser.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c5e9358a86d7d106acb04b72bb749bffe698273588c947cc16c3213230e044"}},{"ruleId":"D1","level":"warning","message":{"text":"seed.generate (cyclomatic 19): seed.generate 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":"chapter5/erp-agent/seed.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eec0912eff7807e03aebc765c08bf7e10083a8f666d07830ce2a9f3805f3408"}},{"ruleId":"D1","level":"warning","message":{"text":"replay._eval_assertion (cyclomatic 19): replay._eval_assertion 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":"chapter5/log-diagnosis/replay.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3c9504579bf7408bb7a6d6809a9695e13a450ea5f9c54e1ad0459e9cd4cc9d"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_final_comprehensive.check_violations (cyclomatic 19): benchmark_final_comprehensive.check_violations 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27b0a88bbaca5557e398f3ab30b952f8df595b087e2eb2ebbc7c6a36afcb706"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_safety_final.print_final_results (cyclomatic 19): benchmark_safety_final.print_final_results 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fd1561b79d136764a4000ce353ddaa137c67dc22311ad675e5966fd63b9b5d"}},{"ruleId":"D1","level":"warning","message":{"text":"pipeline.judge_gemini_audio (cyclomatic 19): pipeline.judge_gemini_audio 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":"chapter7/tts-quality-eval/pipeline.py"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd871e5679338a269afb43ca223795b5007af6ab6c5f7180adf33f423e33ca37"}},{"ruleId":"D1","level":"warning","message":{"text":"build_73_evidence.main (cyclomatic 19): build_73_evidence.main has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/user-memory-system-evaluation/build_73_evidence.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffa7ab06697f22a707cf1c024142bb3ceb0867be03d9b1b171fcf4e37c191aa"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatBackend.complete (cyclomatic 19): ChatBackend.complete 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70d317bc9b4944d5a244513d6d20aa38c703d3939ffab12676a51d153eb5a61"}},{"ruleId":"D1","level":"warning","message":{"text":"MultilingualReasoningEvaluator.evaluate_cot_fidelity (cyclomatic 19): MultilingualReasoningEvaluator.evaluate_cot_fidelity 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":"chapter8/MultilingualReasoning/evaluate_multilingual.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa397f41fbeaca96046027c05f478760915d41c31bf9047a7b0d3726ae4e738"}},{"ruleId":"D1","level":"warning","message":{"text":"generate_data.main (cyclomatic 19): generate_data.main 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":"chapter8/cot-distillation/generate_data.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac03f62ab7bb23eaf5e39f909c3547aaf6c7e4564d777d42573a39a77611045c"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate.main (cyclomatic 19): evaluate.main has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/prompt-distillation/evaluate.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4f0f7ce06b23a3b935b4f73b7c7bc2a84c69dc3c4771ba41578d01f276bab6"}},{"ruleId":"D1","level":"warning","message":{"text":"LearningAgent._extract_action_data (cyclomatic 19): LearningAgent._extract_action_data 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":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f2ad9d0e31ca919a134292d67783272e30cee6b2227594f5e42da611f4d23f"}},{"ruleId":"D1","level":"warning","message":{"text":"SafetyPolicyGate.inspect_path_traversal (cyclomatic 19): SafetyPolicyGate.inspect_path_traversal 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":"chapter9/harness-safety-gate/safety_policy_gate.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf7d4b10334699dc67bb7ca27cca53a16765e019130906c3da837086ce13ffb"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 19): demo.main 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":"chapter9/prompt-auto-optimization/demo.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6046051132d35aec6120b3953f46ff9cc71205265cfb3bb928d7fffaa4d0a9c6"}},{"ruleId":"D1","level":"warning","message":{"text":"fix_svg_text_layout.reflow_wrapped_shapes (cyclomatic 18): fix_svg_text_layout.reflow_wrapped_shapes 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":"book-vi/fix_svg_text_layout.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb78f3e4c3e914bb99acf984e73da24843cb1ae4e480e4043b392ce537dba7b9"}},{"ruleId":"D1","level":"warning","message":{"text":"finalize_experiment_8_2.main (cyclomatic 18): finalize_experiment_8_2.main 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":"chapter1/learning-from-experience/finalize_experiment_8_2.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe25c81a7e4eb135df2cdb4f859269174fc08549e5501fa24a15d2421e6ff02"}},{"ruleId":"D1","level":"warning","message":{"text":"decision.decide_orchestration (cyclomatic 18): decision.decide_orchestration 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":"chapter10/autonomous-phone-registration/decision.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b05e7a4787a5224a45cf55fedadcd46b49e2656842af7dc2f6de0a7275e63b"}},{"ruleId":"D1","level":"warning","message":{"text":"judge_plausibility.main (cyclomatic 18): judge_plausibility.main 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":"chapter10/generative-agents/judge_plausibility.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3fa2f4f672d7eaa4b3147a42712701d4793e4accd77a0ea21163403e327212"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.save_evidence (cyclomatic 18): demo.save_evidence 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":"chapter10/multi-role-transfer/demo.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6e405f4cca77c6f3fcef953d75f9c9ae30eefb2a56401631f9db2b01b6ce93d"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluation._custom_task_score (cyclomatic 18): evaluation._custom_task_score 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":"chapter10/multi-role-transfer/evaluation.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"68721fae7a8e74c98aafb5b59ff064817304a3a49c7d21548e68319acaf2b367"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run_demo (cyclomatic 18): main.run_demo 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":"chapter2/context-compression/main.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f657acf438e2a027ef197b688f7f8d682c020b7818039ff455f7c4c1b8e9465c"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 18): main.main 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":"chapter2/local_llm_serving/main.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c2d4fbe0c5668231bf7642e10d561f52d550aa65ace38cd86c259cc60a0be2"}},{"ruleId":"D1","level":"warning","message":{"text":"run_campaign.run_trial (cyclomatic 18): run_campaign.run_trial 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":"chapter2/prompt-injection/run_campaign.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ed3dd97bf7079c2a54e24433b710ebd01dcfe6e9fc00ba3e557f61a8a85e7c"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationChunker._chunk_fixed_rounds (cyclomatic 18): ConversationChunker._chunk_fixed_rounds 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":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5c4c5f8d674716dd0a1a61201db509103109cf20ecab0448e3f53a1b6101bb"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationChunker._chunk_fixed_rounds (cyclomatic 18): ConversationChunker._chunk_fixed_rounds 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":"chapter3/contextual-retrieval-for-user-memory/chunker.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"993d692d2a9cacd3ce1a1625f10a247fc2604d0ad77c5df0c4266a0abb1028ab"}},{"ruleId":"D1","level":"warning","message":{"text":"main.run_memory_op (cyclomatic 18): main.run_memory_op 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":"chapter3/mem0/main.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59699181a8e21a8eb170f818170ac3c86c8aee0d136b0a47b77cb24fed93eb3"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 18): demo.main 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":"chapter3/retrieval-pipeline/demo.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ee821c3ca5b92d1f6cc974a42a8cd56a2bdcd22209a30fcc38424c46aa409f"}},{"ruleId":"D1","level":"warning","message":{"text":"NotesMemoryManager.consolidate_memories (cyclomatic 18): NotesMemoryManager.consolidate_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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb2001d87cb1d58c9fb9c4b3f2350431d1e085d1e1bc450ba8b0207eb68cbb5"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCreator.repair_after_live_failure (cyclomatic 18): AgentCreator.repair_after_live_failure 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":"chapter5/agent-creator/creator.py"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"18010e1343b7dcf0403103230d1f2aa8e3bdfdc24fa0f334f94aa8f0fed55180"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.self_check (cyclomatic 18): demo.self_check 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":"chapter5/paper-to-video/demo.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bca299d917fb89a274f35bb320137943ae40fcf7db22972d5e68ae564b4cf1a"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 18): demo.main 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":"chapter5/paper-to-video/demo.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc52e2f4a8524ded69ddefa10caccb0691c15c833c1936d32036fa22c8b8e861"}},{"ruleId":"D1","level":"warning","message":{"text":"judging.judge (cyclomatic 18): judging.judge 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":"chapter5/provider-failover/judging.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99f9db9f98243aa6df655199d5036a0bcbc1ad7555c1ef7127b027a2973a6e2"}},{"ruleId":"D1","level":"warning","message":{"text":"run_handoff.run_pair (cyclomatic 18): run_handoff.run_pair 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":"chapter5/provider-failover/run_handoff.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"455afa680dd619b5f01d89d74b3716ba61d0d5595f09d3aee4945d5c6abb3180"}},{"ruleId":"D1","level":"warning","message":{"text":"summarize.continuation_summary (cyclomatic 18): summarize.continuation_summary 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":"chapter5/provider-failover/summarize.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1ac852a17ea2a294fa4a41938f7bfa8934d195f794282feec0ff65afe4f600"}},{"ruleId":"D1","level":"warning","message":{"text":"unipile_mailbox_experiment.run (cyclomatic 18): unipile_mailbox_experiment.run 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":"chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eff739c6bc9d12519c76c41ba321d81ca29d2cfeac3bf0289e73bb9d3def781"}},{"ruleId":"D1","level":"warning","message":{"text":"run_weather_task.main (cyclomatic 18): run_weather_task.main 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":"chapter6/claude-computer-use-native/run_weather_task.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a251934054995307e56d16003a11bf1683a66c622a0ee59cdcdbc243ca1ba7c5"}},{"ruleId":"D1","level":"warning","message":{"text":"desktop_planner.run_episode (cyclomatic 18): desktop_planner.run_episode 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":"chapter6/gemini-xlerobot-navigation/desktop_planner.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e29325e6d6140d85260e5fe08af8b80f740547a13cbf7b7735efb16e81315d"}},{"ruleId":"D1","level":"warning","message":{"text":"run_acceptance.main (cyclomatic 18): run_acceptance.main 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":"chapter6/phone-agent/run_acceptance.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec63c42d40b797afe81352219c8f4ca9ba714c6d4bfc69f51245e907262bda23"}},{"ruleId":"D1","level":"warning","message":{"text":"bradley_terry.compute_mle_elo (cyclomatic 18): bradley_terry.compute_mle_elo 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":"chapter7/elo-leaderboard/bradley_terry.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fb38d5fe4cceb0882a0bfa4d98526d6a7dc15f8b6974409b73fdccbf2425ad"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign.measure_anthropic (cyclomatic 18): campaign.measure_anthropic 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":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9433642b355e7b61284d001517d8147fe965e1c768a08cb534f9b4a8a63242b"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign.measure_gemini (cyclomatic 18): campaign.measure_gemini 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":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"758626a3e2f5f9ece7b6d23c2fbc2b8894a4a93a057914508338e581464b8d31"}},{"ruleId":"D1","level":"warning","message":{"text":"ExperimentRunner.run_611 (cyclomatic 18): ExperimentRunner.run_611 has cyclomatic complexity 18 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b997c9a072c731f4121741d92644925f52d1e3e9e5029317de6df3b8ad15fefc"}},{"ruleId":"D1","level":"warning","message":{"text":"MultilingualReasoningEvaluator.evaluate_accuracy (cyclomatic 18): MultilingualReasoningEvaluator.evaluate_accuracy 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":"chapter8/MultilingualReasoning/evaluate_multilingual.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8215870958139d9812d97d05e5c03edc71075a148d56ec8d603d8b9449195fef"}},{"ruleId":"D1","level":"warning","message":{"text":"run_report_audit.parse_retained_outputs (cyclomatic 18): run_report_audit.parse_retained_outputs 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":"chapter8/continued-pretraining/validation/run_report_audit.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"23627c3c419c9582ef49eaf9590570826c63f1fcc1c1ddca3d424248936eba82"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_9_7.main (cyclomatic 18): run_experiment_9_7.main 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":"chapter9/harness-safety-gate/run_experiment_9_7.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf93bb656c6764d8102e32157bf3643fc5d9c218af440b57babe2ff737ce7f6a"}},{"ruleId":"D1","level":"warning","message":{"text":"highlights.initHighlights::render (cyclomatic 18): highlights.initHighlights::render has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/highlights.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d42a4eca7596c5a9b65e58e29abc511cf36cd67f70c194cd50ec124e278961"}},{"ruleId":"D1","level":"warning","message":{"text":"TreasureHuntGame.execute_action (cyclomatic 17): TreasureHuntGame.execute_action 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":"chapter1/learning-from-experience/game_environment.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0455798097e538503274ce0aa9e368a968703a0f81a5628752fd7322b4f1e77f"}},{"ruleId":"D1","level":"warning","message":{"text":"quick_demo.run_llm_demo (cyclomatic 17): quick_demo.run_llm_demo 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":"chapter1/learning-from-experience/quick_demo.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1741b71f32c62cae904ea560e78f9d290d53f4b849790849a1b6840fdbc523e4"}},{"ruleId":"D1","level":"warning","message":{"text":"GPT5NativeAgent.process_request (cyclomatic 17): GPT5NativeAgent.process_request has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/search-codegen/agent.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a919e4cf8f03dc1ba9a04ec93be6ac8a8bfde70124455084fb6bee3627dcff04"}},{"ruleId":"D1","level":"warning","message":{"text":"PhoneAgent._run_dialogue (cyclomatic 17): PhoneAgent._run_dialogue 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":"chapter10/autonomous-phone-registration/orchestration.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d352c09000f1b3e238d06e392f58c9754a2fca5a614f9579ba6d2450bdac10"}},{"ruleId":"D1","level":"warning","message":{"text":"run_official_experiment.judge_chapter (cyclomatic 17): run_official_experiment.judge_chapter 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":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6609f560a074c46f00abf370cb02fad4e035240db9f7f39ecc6b194aa7ded025"}},{"ruleId":"D1","level":"warning","message":{"text":"Coordinator.run (cyclomatic 17): Coordinator.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":"chapter10/parallel-web-research/agents.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"9127070fb8482fdd68321d4d79979bc4bee918b95eac61f006a1aa6704782eae"}},{"ruleId":"D1","level":"warning","message":{"text":"run_official_experiment.main (cyclomatic 17): run_official_experiment.main 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":"chapter10/parallel-web-research/run_official_experiment.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf69987931881c0fd7db990605c25a72c955b6e01bcff25ebce22681fefc6a9a"}},{"ruleId":"D1","level":"warning","message":{"text":"run_official_experiment.validate_manifest (cyclomatic 17): run_official_experiment.validate_manifest 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":"chapter10/staged-system-prompt/run_official_experiment.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"438dbec31f8afcfe490d6ac3475593959e4e1811c3e78b09e2ba77b23d144a5d"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalFileTools.grep (cyclomatic 17): LocalFileTools.grep 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":"chapter2/kv-cache/agent.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dafe042f6b0db2dc180def7afa06da6b4421b9e1348aa243a67b9c52e4d27ee"}},{"ruleId":"D1","level":"warning","message":{"text":"VLLMToolAgent.chat (cyclomatic 17): VLLMToolAgent.chat 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":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c50b7604a0f29a9f65c4e5c9694e49bbfb916ea9aa2f93ce8d91ec49b08a2d7"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextualMemoryIndexer._generate_summary_cards (cyclomatic 17): ContextualMemoryIndexer._generate_summary_cards 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":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5eaa7bd2506cdd254169ac7e3849bbc4242ce7d1c24e800a96afff6b889219"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryIndexer.search (cyclomatic 17): MemoryIndexer.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":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c06dbd9a8a5781b412bc1d5e4ac1f9f6eb4d276948b4332914c62cc128dfa6a"}},{"ruleId":"D1","level":"warning","message":{"text":"InteractiveSession.run (cyclomatic 17): InteractiveSession.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":"chapter3/mem0/main.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b40a8cdb475eb2a3169a8c3ee6bd147723c120e0b893ec17ea89811df83de2f"}},{"ruleId":"D1","level":"warning","message":{"text":"Reranker.rerank (cyclomatic 17): Reranker.rerank 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":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3d42cfa64c975748b6aa1d24ef7fde20e3c1d3e9e0c61230b75e87adef8e10"}},{"ruleId":"D1","level":"warning","message":{"text":"campaign.build_graph (cyclomatic 17): campaign.build_graph 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":"chapter3/structured-index/campaign.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffb0c597d0de948c3922e3627bea93bde490632295ad37108f124bdd9152e89"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_experiment_4_5.main (cyclomatic 17): validate_experiment_4_5.main 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":"chapter4/collaboration-tools/validate_experiment_4_5.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"36888c09e3bcfd3d426ec5f4db426d823fe94dd5ab671f3c048ae1d77e289241"}},{"ruleId":"D1","level":"warning","message":{"text":"CodingAgent._run_openai_iteration (cyclomatic 17): CodingAgent._run_openai_iteration 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":"chapter5/coding-agent/agent.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e90242cc1c12db5c5b8ef450547b08f9dc631e2047ae9b3d68718a9aa194798"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeSandboxEvaluator._recommendations_for (cyclomatic 17): CodeSandboxEvaluator._recommendations_for 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":"chapter5/coding-agent/sandbox_evaluator.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"69458a689ee330df0d1aeef95b8ab857cc964f01177f543d62136bdf016be5da"}},{"ruleId":"D1","level":"warning","message":{"text":"GrepTool._execute_impl (cyclomatic 17): GrepTool._execute_impl 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":"chapter5/coding-agent/tools/grep_tool.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c302f6788c06b056a9fe58d897662f4a841ae67a100440ed1e270937f4b7ecd"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiEditTool._execute_impl (cyclomatic 17): MultiEditTool._execute_impl has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/coding-agent/tools/multi_edit_tool.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4dee9fb94d106708dd589bcf69d52f3b6ed93136e04d8994a4948cd7211b59"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 17): demo.main 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":"chapter5/dynamic-form/demo.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ecdf4ea9bdee4690145755dc9662cc62cea5915e016fbe83c3b12d47ade2d2"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_safety_final.run_final_evaluation (cyclomatic 17): benchmark_safety_final.run_final_evaluation 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdd331447d4afd1ee6ed529eb5c7b66d8c6c2f3344d76e47286629860513449"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 17): demo.main 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":"chapter5/small-model-codified-rules/demo.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae246a4423fefe2c8e511423f72ff5d038faad1f9a1f05ccce678be3871d8327"}},{"ruleId":"D1","level":"warning","message":{"text":"CostEfficiencyAnalyzer.analyze_trajectory (cyclomatic 17): CostEfficiencyAnalyzer.analyze_trajectory 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":"chapter7/agent-cost-analysis/cost_efficiency_analyzer.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"11113da53fd00d5a9589d6066a4a180d99beece470eae75800b0a199d5601a14"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment_core.choose_decision (cyclomatic 17): experiment_core.choose_decision 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":"chapter7/android-world/experiment_core.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0506b38c6156b003ba4631490d936f21109559491ba322edb6502248432986ba"}},{"ruleId":"D1","level":"warning","message":{"text":"validate_evidence.main (cyclomatic 17): validate_evidence.main 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":"chapter7/elo-leaderboard/validation/validate_evidence.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8814fc659b2380a33f76ee5bd13ba059b2df230c3a94cc7583603a69e375aa2f"}},{"ruleId":"D1","level":"warning","message":{"text":"MultilingualReasoningEvaluator.evaluate (cyclomatic 17): MultilingualReasoningEvaluator.evaluate 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":"chapter8/MultilingualReasoning/evaluate_multilingual.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8af7b09f9cc24a1c09a342c841cf704a1d6bd93028e43a9f9346b9a97c3e4c"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkflowReplayer._get_element (cyclomatic 17): WorkflowReplayer._get_element 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":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3de5c10c7bc6e64d50539494cbbb296834ee607bdb6445f7d7607fd6ac8926"}},{"ruleId":"D1","level":"warning","message":{"text":"calibration.calibration_report (cyclomatic 17): calibration.calibration_report 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":"chapter9/trajectory-verifier/calibration.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0373e7deb58feaa96b6d62e1cebb4f721416d0e053cae2b430410cba4e9b9b8"}},{"ruleId":"D1","level":"warning","message":{"text":"search-index-router.slugForPath (cyclomatic 17): search-index-router.slugForPath 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":"extras/search-index-router.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da3527a05ded69a72c85136f943b3dd7beabf79f1ad0454148e69d47bac6712"}},{"ruleId":"D1","level":"warning","message":{"text":"coding-application-layout.artifactGroups (cyclomatic 17): coding-application-layout.artifactGroups has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f9209bea426363c7eab7f011a57c34604cd3a6901125a16a2323b621c0d1f1"}},{"ruleId":"D1","level":"warning","message":{"text":"resolution.resolve_backend (cyclomatic 16): resolution.resolve_backend 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":"agentbook/providers/resolution.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d7454c600f93c6197ff4c46cd4016abad2df99c109f141286cafd524edd4d8"}},{"ruleId":"D1","level":"warning","message":{"text":"ExperimentRunner.compare_learning_curves (cyclomatic 16): ExperimentRunner.compare_learning_curves 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":"chapter1/learning-from-experience/experiment.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"1603f9e8494aa4f99aabca8867d3849bf6ee44e2447e42020c1974caeb6675bf"}},{"ruleId":"D1","level":"warning","message":{"text":"agents.get_client (cyclomatic 16): agents.get_client 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":"chapter10/book-translation/agents.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9235e95ac1c0b65dc1efc6af2543d41873358506de69d1bdc22fe30de9099db"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillOrchestrator._handle_tool (cyclomatic 16): SkillOrchestrator._handle_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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/multi-role-transfer/skill_orchestrator.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b92ff0466bc1d9e736357b9ba139275a4194701e33aa491aaa5ac94c9d5d0b"}},{"ruleId":"D1","level":"warning","message":{"text":"main.interactive_mode (cyclomatic 16): main.interactive_mode 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":"chapter2/system-hint/main.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"483ea6812edfc30e87cd808c329856a226e1bd54aba5bf328ec226bc4b3fd70d"}},{"ruleId":"D1","level":"warning","message":{"text":"quickstart.main (cyclomatic 16): quickstart.main 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":"chapter2/system-hint/quickstart.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1663d08daf71bde655e432d789dd5abef8ec7749960f9ba2cbaea2672086e0a3"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 16): main.main 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":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"001dfbb60f64632efadae152a5faad8119ad8f40571f91471b275720afa3094e"}},{"ruleId":"D1","level":"warning","message":{"text":"offline_demo.run_demo (cyclomatic 16): offline_demo.run_demo 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":"chapter3/agentic-rag-for-user-memory/offline_demo.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4095177b2d865a56649d5d1e3e33cc35152bc268a34f8cf47f18097c296825"}},{"ruleId":"D1","level":"warning","message":{"text":"AgenticRAG.query (cyclomatic 16): AgenticRAG.query 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":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"320336b80e57679c5426b9b9dbae9ea3ce9fd8a47184de775c8fd01fdfb86c06"}},{"ruleId":"D1","level":"warning","message":{"text":"compare_retrieval.main (cyclomatic 16): compare_retrieval.main 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":"chapter3/contextual-retrieval/compare_retrieval.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ba7feb817cd86a14400da85a06106763dcea0282095c398f1dcf3b23aa6c55"}},{"ruleId":"D1","level":"warning","message":{"text":"ContextualAgenticRAG._execute_tool (cyclomatic 16): ContextualAgenticRAG._execute_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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3f1bba2f6e3a21877387d53bfc2ae04e9faf17af91326e93bd457904396307"}},{"ruleId":"D1","level":"warning","message":{"text":"main.main (cyclomatic 16): main.main 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":"chapter3/contextual-retrieval/main.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeff41de25d8f189e2b089ba8da43e126bb2d5a7ca24e49c676885196a2c1900"}},{"ruleId":"D1","level":"warning","message":{"text":"BackgroundMemoryProcessor.process_recent_conversations (cyclomatic 16): BackgroundMemoryProcessor.process_recent_conversations 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":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a82be6f33ef52f294bebc580e922acbdbbaf0fdaa17de252d5befbf44277ecf"}},{"ruleId":"D1","level":"warning","message":{"text":"demo_conversation_processing.demonstrate_conversation_processing (cyclomatic 16): demo_conversation_processing.demonstrate_conversation_processing 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":"chapter3/user-memory/demo_conversation_processing.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9b239280a2937c5b3404c303d8636c11597d88f7f0e2f49d1ec825a2470a4e"}},{"ruleId":"D1","level":"warning","message":{"text":"quickstart.quickstart (cyclomatic 16): quickstart.quickstart 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":"chapter3/user-memory/quickstart.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a86e9776bc0a0d6b2723a2d54f8a998022f3700c426d8f595fb17128b782370"}},{"ruleId":"D1","level":"warning","message":{"text":"run_exact_experiment.run_agent_task (cyclomatic 16): run_exact_experiment.run_agent_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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ade7fbc06ec67e80e04a57171a9841bd6c9c89c4a55380d3f367194744fba2"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecutionTools.code_interpreter (cyclomatic 16): ExecutionTools.code_interpreter 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":"chapter4/execution-tools/execution_tools.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac4452691c2846051d62385862dc54dbc2db91dc1cabf3a4e115640a54acaa2"}},{"ruleId":"D1","level":"warning","message":{"text":"quickstart.test_tools (cyclomatic 16): quickstart.test_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":"chapter4/perception-tools/quickstart.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"60685d8bb437c75d5aacef74466de39c120e5dd6b394d3d692b505645af361ff"}},{"ruleId":"D1","level":"warning","message":{"text":"expanded_catalog._filesystem (cyclomatic 16): expanded_catalog._filesystem 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":"chapter4/perception-tools/src/expanded_catalog.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c4e2b6edb71ed9aa0385da36deca1d4215a048e783ff5a988f3945914a8577"}},{"ruleId":"D1","level":"warning","message":{"text":"yahoo_finance_tools.get_financial_statements (cyclomatic 16): yahoo_finance_tools.get_financial_statements 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":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad07f38aa2c539fa9689f318fc5301b344d58a05e860181564854c36063f5fa9"}},{"ruleId":"D1","level":"warning","message":{"text":"demo.main (cyclomatic 16): demo.main 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":"chapter5/adaptive-log-parser/demo.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7b56ed42a76aa01c5515f727ad274929befae73cb2dcb95b0c78558ab4b54f"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentCreator._validate_template_spec (cyclomatic 16): AgentCreator._validate_template_spec 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":"chapter5/agent-creator/creator.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"a605d2cf63d220b056146c59b7d752fff35bf55af8d029eb4205afe311e754ed"}},{"ruleId":"D1","level":"warning","message":{"text":"creator.resolve_client (cyclomatic 16): creator.resolve_client 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":"chapter5/agent-creator/creator.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"898a06a994527def80bab8bae171206e7513fe3cad7bd99c3bb74727f1b53b1f"}},{"ruleId":"D1","level":"warning","message":{"text":"GrepTool._get_files_to_search (cyclomatic 16): GrepTool._get_files_to_search 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":"chapter5/coding-agent/tools/grep_tool.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3f822d1ba1546937e2c7f24e21d6f9cb4dd495487b14663fc0169baada92d8"}},{"ruleId":"D1","level":"warning","message":{"text":"ShellSession._parse_protocol_output (cyclomatic 16): ShellSession._parse_protocol_output 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":"chapter5/coding-agent/tools/shell_session.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b5d46164a47d496882ac0c94e5ef57bf872dabeaa49c547b2a536520c25242"}},{"ruleId":"D1","level":"warning","message":{"text":"PermissionRule._evaluate_condition (cyclomatic 16): PermissionRule._evaluate_condition 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":"chapter5/permission-embedded-data-objects/pedo/core/models.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1147c9c2670c6294c243ccf3cd7cb5ff265fbfd3514f09ae49f4807fdb1e5c62"}},{"ruleId":"D1","level":"warning","message":{"text":"oracle.run_secret_storage_oracle (cyclomatic 16): oracle.run_secret_storage_oracle 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":"chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/oracle.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e2ee77dd7c9ffc71e337fd503459de64b353a1ce25d1e37237561775f776a7"}},{"ruleId":"D1","level":"warning","message":{"text":"benchmark_comparisons.test_rls_violations (cyclomatic 16): benchmark_comparisons.test_rls_violations 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c43f6437c53c6aca3425210ea4804911b165973c421a9dab2120a5af6f38d1"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate_audio_quality.validate_response (cyclomatic 16): evaluate_audio_quality.validate_response 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":"chapter6/controllable-tts/evaluate_audio_quality.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"38eab0494a40b18aeb4897e72f2e21666810b577957ff495fc2640018edb7eef"}},{"ruleId":"D1","level":"warning","message":{"text":"pipeline.main (cyclomatic 16): pipeline.main 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":"chapter6/rgb-sim2real-grasping/pipeline.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0272bded004d6b3ded064ac452672aa79c2656d2cc938830167367f64c8a21d8"}},{"ruleId":"D1","level":"warning","message":{"text":"qwen2_streaming.parse_response (cyclomatic 16): qwen2_streaming.parse_response 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":"chapter6/streaming-speech/qwen2_streaming.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a552faf1bd1caad14f1c4bb66c10b70830f81bde5715c789f0ae6af3ab73d1"}},{"ruleId":"D1","level":"warning","message":{"text":"preflight.main (cyclomatic 16): preflight.main 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":"chapter6/xlerobot-teleoperation/preflight.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf02c3c3e751fc6f4e0c3102f9b8e43b6268e7cf4c95569873ad298197d12fc9"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.run_cell (cyclomatic 16): experiment.run_cell 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":"chapter7/model-action-threshold/experiment.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5519b70cdd4ef1d14ade41eb7baf8f13c03195714910e856585ba4c01cc953"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.main (cyclomatic 16): experiment.main 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":"chapter7/model-action-threshold/experiment.py"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce048c48adc2bc7cbf402f78b19851add3a6c4e871f1cfcec3821ca7688bb13c"}},{"ruleId":"D1","level":"warning","message":{"text":"experiment.validate_readiness (cyclomatic 16): experiment.validate_readiness 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"6827b587c91c2b6394d3d6b931492433a997cefa5a3689f6c5286dae09822e45"}},{"ruleId":"D1","level":"warning","message":{"text":"run_report_audit.validate_judgment (cyclomatic 16): run_report_audit.validate_judgment 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":"chapter8/continued-pretraining/validation/run_report_audit.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4306446b90c31f25c96ab5e679d6782ea31f6a98df026057d8c4186e1d8d74"}},{"ruleId":"D1","level":"warning","message":{"text":"train_sft_trl.train_model (cyclomatic 16): train_sft_trl.train_model 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":"chapter8/prompt-distillation/train_sft_trl.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf71ac9d448bfc20ae7baebbf1995d27e68f03ea700fe904b6b18abda5cd294"}},{"ruleId":"D1","level":"warning","message":{"text":"analyze_campaign.sesame_analysis (cyclomatic 16): analyze_campaign.sesame_analysis 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":"chapter8/speech-sft-experiment/analyze_campaign.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"6076ff445301566c32a2f2b0f00737a03e5a7865afe88f42bc008b618ac588c5"}},{"ruleId":"D1","level":"warning","message":{"text":"evaluate.evaluate_rules (cyclomatic 16): evaluate.evaluate_rules 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":"chapter9/ai-style-skill/evaluate.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e826431d142283a0ce13d8d552ed3559c686f1c7b5084bed5a01a28cb7cc39c7"}},{"ruleId":"D1","level":"warning","message":{"text":"SafetyPolicyGate.inspect_resource_limits (cyclomatic 16): SafetyPolicyGate.inspect_resource_limits 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":"chapter9/harness-safety-gate/safety_policy_gate.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"de116471592ccb673bb8d9b4be0949ad3907c18838570f342d34d444e065e0ba"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_9_9.main (cyclomatic 16): run_experiment_9_9.main 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":"chapter9/self-evolution-eval/run_experiment_9_9.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4974a56e336398cad014cbd992f27819b88d1004eb072469f70230e07f345fd3"}},{"ruleId":"D1","level":"warning","message":{"text":"candidate_sandbox.run_in_sandbox (cyclomatic 16): candidate_sandbox.run_in_sandbox 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":"chapter9/self-modifying-agent/candidate_sandbox.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"57aa72fbc7bc687507e2885152a27dd34ee3271f0c4d8a34c83ec1f803c9f5bf"}},{"ruleId":"D1","level":"warning","message":{"text":"build_evidence.arm_stats (cyclomatic 16): build_evidence.arm_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":"chapter9/tau2-escalation-experience/build_evidence.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"508ea027cb5baa7437e07876e51616cabeb81e5a8dc8606be67d23e71326a0f4"}},{"ruleId":"D1","level":"warning","message":{"text":"run_experiment_9_1.build_evidence (cyclomatic 16): run_experiment_9_1.build_evidence 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":"chapter9/trajectory-verifier/run_experiment_9_1.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b7473cbf580e317bfe0f207063a89ce207278a9778199408c653bc868f4397"}},{"ruleId":"D1","level":"warning","message":{"text":"flatten_epub_toc.flatten_nav (cyclomatic 16): flatten_epub_toc.flatten_nav 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":"flatten_epub_toc.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4ff267d9e6e2980ffd258b790415a8009929a3445ac8211620ee3757e6920c"}},{"ruleId":"D1","level":"warning","message":{"text":"AttentionStats.AttentionStats (cyclomatic 16): AttentionStats.AttentionStats has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 52, a function literal at line 105, calculateStats, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionStats.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5650261493122e40bcfe85ec1f202079ef3ebb545ce9eccf7e3c86ae269cc02"}},{"ruleId":"D1","level":"warning","message":{"text":"EchoProcessor.process (cyclomatic 16): EchoProcessor.process 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":"chapter6/live-audio/frontend/public/audioWorklet.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"096dcef04b345fa8dd9826940d14fda270429be25e5bdaa695d90fc8a9204108"}},{"ruleId":"D1","level":"warning","message":{"text":"auto-translate.hookLifecycle (cyclomatic 16): auto-translate.hookLifecycle has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 200, 212, 226). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/auto-translate.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfe4757665778962db341ea202f7cf5d66831e942df54608cc48d06fe97d490"}},{"ruleId":"D1","level":"warning","message":{"text":"lang-switcher.init::render (cyclomatic 16): lang-switcher.init::render 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: 3 other methods here (lang-switcher.init::detectLang, lang-switcher.init::translatePath, lang-switcher.init::rewriteSidebar) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2cb435828249fa963daa5bbc7e9b5d136e607054829aa55f52d18c46f2d97b"}},{"ruleId":"D1","level":"warning","message":{"text":"evolution-flow-figures.layoutEvolutionDeployment (cyclomatic 16): evolution-flow-figures.layoutEvolutionDeployment has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 337, 429). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/evolution-flow-figures.mjs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6200f8a4bd7c35128e312bce4da90da626b8c3429ebc401300efbe744c1de0"}},{"ruleId":"D1","level":"warning","message":{"text":"figure-viewer.initFigureViewer (cyclomatic 16): figure-viewer.initFigureViewer has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 5 function items inside it that branch (applyZoom, fit, a function literal at line 75, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/figure-viewer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb215e843e11e6d3d614c11b01be8b7cc25ae1b7a9f39739e5eb5e807c9ef94"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMemoryAgent.execute_task (cognitive 191): UserMemoryAgent.execute_task has cognitive complexity 191 (threshold 15). Drivers by points: if/else 35 (145 pts), loops 5 (18 pts), boolean chains 14, ternaries 3 (8 pts), error handling 2 (6 pts) (nesting depth added 132). 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":"chapter3/user-memory/agent.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"384a7ba3ab6158d536a7a6220f2cb680de26cbdc34ff9f1053e28f89b093ebc2"}},{"ruleId":"D2","level":"warning","message":{"text":"creator.run_experiment (cognitive 158): creator.run_experiment has cognitive complexity 158 (threshold 15). Drivers by points: if/else 22 (53 pts), ternaries 19 (44 pts), boolean chains 43, error handling 3 (9 pts), loops 4 (9 pts) (nesting depth added 67). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/agent-creator/creator.py"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a72d32ea40ed870987d9ecfb665037729bbef1668ad37f9283cb2540629ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run_evaluation_mode (cognitive 142): main.run_evaluation_mode has cognitive complexity 142 (threshold 15). Drivers by points: if/else 34 (97 pts), loops 8 (18 pts), ternaries 5 (18 pts), error handling 2 (5 pts), boolean chains 4 (nesting depth added 89). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/main.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"645956c1c7e2acb21c4e47de2ed1b45b09826ca21a18376f40e0e37d7afe6483"}},{"ruleId":"D2","level":"warning","message":{"text":"run_controlled_experiment.main (cognitive 135): run_controlled_experiment.main has cognitive complexity 135 (threshold 15). Drivers by points: if/else 44 (99 pts), boolean chains 17, loops 5 (12 pts), ternaries 4, error handling 2 (3 pts) (nesting depth added 63). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/android-world/run_controlled_experiment.py"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca0feb6e62b7c65baef7092560a226c7ff8d5f0c9297a2d79c6e633bc743c4f"}},{"ruleId":"D2","level":"warning","message":{"text":"VLLMToolAgent.chat_stream (cognitive 118): VLLMToolAgent.chat_stream has cognitive complexity 118 (threshold 15). Drivers by points: if/else 22 (81 pts), loops 7 (24 pts), boolean chains 6, error handling 1 (4 pts), ternaries 2 (3 pts) (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":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d4e6cbe1bb63bccef726404beb18366d8f722df5230e1e924d39f5943583bf"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis.completion_audit (cognitive 118): analysis.completion_audit has cognitive complexity 118 (threshold 15). Drivers by points: if/else 35 (64 pts), boolean chains 32, loops 13 (22 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":"chapter7/model-benchmark/analysis.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0201fdb6672d0dc9e4080b138648be35c2eeb6305f1342d7607dd6c656349c3a"}},{"ruleId":"D2","level":"warning","message":{"text":"OllamaNativeAgent.chat_stream (cognitive 114): OllamaNativeAgent.chat_stream has cognitive complexity 114 (threshold 15). Drivers by points: if/else 20 (69 pts), loops 8 (35 pts), error handling 2 (8 pts), boolean chains 1, ternaries 1 (nesting depth added 82). 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":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"56549a758650181cadb4f254a02d86f2b923dc47de511e1f07dd4a8254e1b008"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_evidence.validate (cognitive 111): validate_evidence.validate has cognitive complexity 111 (threshold 15). Drivers by points: if/else 49 (72 pts), boolean chains 24, loops 9 (11 pts), error handling 2 (4 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":"chapter8/MiniMind-pretrain/validation/validate_evidence.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f111943597259c1aa4801c99a16aa54f9ba9903363dc76fecfc49e7b704c8885"}},{"ruleId":"D2","level":"warning","message":{"text":"KVCacheAgent.execute_task (cognitive 107): KVCacheAgent.execute_task has cognitive complexity 107 (threshold 15). Drivers by points: if/else 26 (79 pts), ternaries 3 (14 pts), error handling 2 (6 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 70). 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":"chapter2/kv-cache/agent.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cd25c4dfaec88fdb292e871f2504d603be6d5ebc274b55581521156be59022"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundMemoryProcessor.apply_memory_updates (cognitive 101): BackgroundMemoryProcessor.apply_memory_updates has cognitive complexity 101 (threshold 15). Drivers by points: if/else 30 (74 pts), error handling 5 (18 pts), boolean chains 4, ternaries 1 (4 pts), loops 1 (nesting depth added 60). 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":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ab717a20c94c552e3b25b62ac16ac5c4e6b3a265117edc3494e9788c13296a"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.analyze (cognitive 100): experiment.analyze has cognitive complexity 100 (threshold 15). Drivers by points: if/else 32 (65 pts), ternaries 9 (15 pts), loops 8 (11 pts), boolean chains 9 (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":"chapter7/openvla-robotwin2-eval/experiment.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ed7af7c2999712596afbacec22b6cc7ae47f071369ff86ad37acf0887fd3c1"}},{"ruleId":"D2","level":"warning","message":{"text":"EventTriggeredAgent.handle_event (cognitive 99): EventTriggeredAgent.handle_event has cognitive complexity 99 (threshold 15). Drivers by points: if/else 28 (73 pts), ternaries 4 (12 pts), error handling 2 (6 pts), boolean chains 4, loops 2 (4 pts) (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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"0940afa56c85fec4429ae54b82cf3bc9d5483c69efea6b36610d1128df615784"}},{"ruleId":"D2","level":"warning","message":{"text":"main.interactive_mode (cognitive 97): main.interactive_mode has cognitive complexity 97 (threshold 15). Drivers by points: if/else 20 (53 pts), ternaries 4 (17 pts), error handling 5 (14 pts), loops 4 (10 pts), boolean chains 3 (nesting depth added 61). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"f982775591db063e1987b5e9e0d352f2cf218ffdbab181228001cf288f3d4342"}},{"ruleId":"D2","level":"warning","message":{"text":"review.main (cognitive 97): review.main has cognitive complexity 97 (threshold 15). Drivers by points: if/else 28 (61 pts), boolean chains 13, ternaries 5 (12 pts), loops 6 (11 pts) (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":"slides/review.mjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4da1e3f93878b6ff7fea32d1bbf9f054be5b73423e5202d377510c914e6301c"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemHintAgent.execute_task (cognitive 96): SystemHintAgent.execute_task has cognitive complexity 96 (threshold 15). Drivers by points: if/else 24 (69 pts), ternaries 4 (12 pts), error handling 2 (6 pts), boolean chains 5, loops 2 (4 pts) (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":"chapter2/system-hint/agent.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"5607de4168332d1bece82fe1c20987206eac68ff92cb1b5c24d06dcd308540da"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.judge (cognitive 95): experiment.judge has cognitive complexity 95 (threshold 15). Drivers by points: if/else 30 (59 pts), boolean chains 21, ternaries 7 (15 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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e7ae9713411495a87828f80ae8f41b8d71bf066de11ac315f63812cc7b085e"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.judge (cognitive 95): experiment.judge has cognitive complexity 95 (threshold 15). Drivers by points: if/else 30 (59 pts), boolean chains 21, ternaries 7 (15 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":"chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"61345075d902730b08108552a5c6cab8563330970374b0e69bb49c555470939a"}},{"ruleId":"D2","level":"warning","message":{"text":"processTTSQueue (cognitive 94): processTTSQueue has cognitive complexity 94 (threshold 15). Drivers by points: if/else 22 (57 pts), loops 5 (19 pts), boolean chains 8, ternaries 2 (6 pts), error handling 2 (4 pts) (nesting depth added 55). Of this number, 17 points are the body\u0027s own statements and 77 belong to 9 function literals inside it that branch. 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":"chapter6/live-audio/backend/server.js"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"59087e4399404272786d3ca1937826b95f230f038a2d592dc1e436d6e2409e23"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_simulator_run.validate (cognitive 91): validate_simulator_run.validate has cognitive complexity 91 (threshold 15). Drivers by points: if/else 32 (68 pts), boolean chains 14, loops 3 (4 pts), error handling 1 (3 pts), ternaries 2 (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":"chapter10/voice-werewolf/validate_simulator_run.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cdeb743931f3a1ef37cb3b1cef55662926c06e5f2124f8ced79cb000d08cce"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.run_game (cognitive 83): demo.run_game has cognitive complexity 83 (threshold 15). Drivers by points: ternaries 43, boolean chains 19, if/else 19, error handling 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":"chapter10/voice-werewolf/demo.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b71383ecec1347301013b778eb06e981baa3bd5d97ac2361400dbfdf4ed05a0"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.judge (cognitive 82): experiment.judge has cognitive complexity 82 (threshold 15). Drivers by points: if/else 27 (50 pts), boolean chains 17, ternaries 7 (15 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":"chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf2f5af791037d345f2354c8f4576f77e5feecbdc3614ff16981d12d0c5f276"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.judge (cognitive 82): experiment.judge has cognitive complexity 82 (threshold 15). Drivers by points: if/else 27 (50 pts), boolean chains 17, ternaries 7 (15 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":"chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"113e29e9bb6048aef2f511bedaea0c895766d2ad046ed3eb8e1589fc8111cc58"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.run_case (cognitive 79): experiment.run_case has cognitive complexity 79 (threshold 15). Drivers by points: if/else 18 (55 pts), boolean chains 17, ternaries 4, loops 2, error handling 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df4988975c8a6fe6f8d32b4c5b3d76d93d7bb281f18494830a7c9408acff4fd"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.run_case (cognitive 79): experiment.run_case has cognitive complexity 79 (threshold 15). Drivers by points: if/else 18 (55 pts), boolean chains 17, ternaries 4, loops 2, error handling 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a0845c3b4d8e9e07dae3a29977096080e4903739c88f013fc1f7e04612aed0"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.run_case (cognitive 79): experiment.run_case has cognitive complexity 79 (threshold 15). Drivers by points: if/else 18 (55 pts), boolean chains 17, ternaries 4, loops 2, error handling 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a184067fb757bcd636a1d055e9a0b6e2ecf8e6bdfb485d7ccd3b0f725a1ccc9"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.run_case (cognitive 79): experiment.run_case has cognitive complexity 79 (threshold 15). Drivers by points: if/else 18 (55 pts), boolean chains 17, ternaries 4, loops 2, error handling 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6ebbb009f1329bfb7a90277ae296d3251b19948cc83aa6d0039e46006b680a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCreator._generate_scratch_files (cognitive 75): AgentCreator._generate_scratch_files has cognitive complexity 75 (threshold 15). Drivers by points: if/else 21 (38 pts), loops 7 (15 pts), boolean chains 11, error handling 4 (11 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":"chapter5/agent-creator/creator.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9ca257aacdcbe0274daa5260f4a0f3848b3015d04c1de65a10d787102724a7"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 75): demo.main has cognitive complexity 75 (threshold 15). Drivers by points: ternaries 15 (31 pts), if/else 16 (27 pts), error handling 2 (8 pts), boolean chains 7, loops 2 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/code-for-math/demo.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba149f17654909334806bed8d3619adc9bcaaea2a3cbbb03bf302f8e4299271a"}},{"ruleId":"D2","level":"warning","message":{"text":"DuplexInterruptionManager.calculate_energy (cognitive 74): DuplexInterruptionManager.calculate_energy has cognitive complexity 74 (threshold 15). Drivers by points: if/else 27 (53 pts), ternaries 4 (14 pts), boolean chains 7 (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":"chapter6/streaming-speech/interruption_manager.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd09e6d85081578d96b0a452b0aa6400c4c4354dabefb5557a28c4321a620813"}},{"ruleId":"D2","level":"warning","message":{"text":"merge_candidate_shards.main (cognitive 70): merge_candidate_shards.main has cognitive complexity 70 (threshold 15). Drivers by points: if/else 32 (54 pts), loops 6 (11 pts), boolean chains 4, ternaries 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/android-world/merge_candidate_shards.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a205e8725beeaceed3b8523d3d5da796a90464e302991a67f232f9e5cc4edb"}},{"ruleId":"D2","level":"warning","message":{"text":"main.interactive_chat (cognitive 68): main.interactive_chat has cognitive complexity 68 (threshold 15). Drivers by points: if/else 16 (45 pts), ternaries 3 (10 pts), loops 3 (7 pts), error handling 3 (6 pts) (nesting depth added 43). 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":"chapter4/multimodal-agent/main.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d9e7b62d9403f815a8f12370a20c6fb297e18cbef8d76258cab9a024a0636a"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_vlm_evidence.validate_receipts (cognitive 67): validate_vlm_evidence.validate_receipts has cognitive complexity 67 (threshold 15). Drivers by points: if/else 25 (46 pts), boolean chains 16, error handling 2 (4 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":"chapter8/MiniMind-pretrain/validation/validate_vlm_evidence.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3101dfe5024aa65d9bcdabf3cd1a3569e9a878dd622f9f0e28f709b081695b7d"}},{"ruleId":"D2","level":"warning","message":{"text":"ReActAttentionAgent.execute_react_loop (cognitive 66): ReActAttentionAgent.execute_react_loop has cognitive complexity 66 (threshold 15). Drivers by points: if/else 17 (43 pts), ternaries 4 (14 pts), loops 3 (7 pts), boolean chains 2 (nesting depth added 40). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/main.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6c4b7a52ed9d39d4f830fe57675a55033530392c275402211c82d810a26f28"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchAgent._stream_response (cognitive 66): ResearchAgent._stream_response has cognitive complexity 66 (threshold 15). Drivers by points: if/else 11 (43 pts), loops 3 (11 pts), ternaries 4 (7 pts), boolean chains 4, error handling 1 (nesting depth added 43). 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":"chapter2/context-compression/agent.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"a685caedb722d3adf3f466a81346ab6f59dcbd1a262dae2f086ed85f337b7646"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextualUserMemoryAgent.answer_question (cognitive 66): ContextualUserMemoryAgent.answer_question has cognitive complexity 66 (threshold 15). Drivers by points: if/else 14 (38 pts), loops 5 (16 pts), error handling 2 (6 pts), boolean chains 3, ternaries 1 (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":"chapter3/contextual-retrieval-for-user-memory/contextual_agent.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6183b73460410de287cf210b1db694e623335ef6e806a9996630fde0cfdecd5a"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.main (cognitive 66): campaign.main has cognitive complexity 66 (threshold 15). Drivers by points: boolean chains 19, if/else 16 (18 pts), loops 9 (12 pts), error handling 5 (11 pts), ternaries 5 (6 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":"chapter3/structured-knowledge-extraction/campaign.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6a2a1d4f96140f9befac4dc17a0a556466109218ba04122f0e02eac8518689"}},{"ruleId":"D2","level":"warning","message":{"text":"main.interactive_mode (cognitive 66): main.interactive_mode has cognitive complexity 66 (threshold 15). Drivers by points: if/else 18 (39 pts), ternaries 5 (16 pts), loops 2 (6 pts), error handling 2 (4 pts), boolean chains 1 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/main.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"f982831162bcc13b275a1e6549a70175a5d9a91f09779ab215948b0128df19ed"}},{"ruleId":"D2","level":"warning","message":{"text":"verify_acceptance.check_arm (cognitive 66): verify_acceptance.check_arm has cognitive complexity 66 (threshold 15). Drivers by points: if/else 27 (32 pts), boolean chains 28, loops 5, 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":"chapter6/phone-agent/verify_acceptance.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d20348e57829d1e54b8ab5291228a6b3d81e2d446fd196594426c531e8a146"}},{"ruleId":"D2","level":"warning","message":{"text":"main.interactive_mode (cognitive 65): main.interactive_mode has cognitive complexity 65 (threshold 15). Drivers by points: if/else 13 (41 pts), loops 5 (11 pts), error handling 3 (7 pts), ternaries 2 (4 pts), boolean chains 2 (nesting depth added 40). 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":"chapter2/local_llm_serving/main.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fe8fbd1192c339bb5bd8ba522c20e19f03c5e87a57df0a829edb9da80888ca"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_application.run_pedo_workflow (cognitive 64): benchmark_application.run_pedo_workflow has cognitive complexity 64 (threshold 15). Drivers by points: if/else 10 (34 pts), loops 5 (17 pts), error handling 3 (6 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 40). 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb78ede4eaadadd81b8f8ec21d55631be8b8295f74fafcaa59e23fe4e78a63b"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_evidence.validate (cognitive 64): validate_evidence.validate has cognitive complexity 64 (threshold 15). Drivers by points: if/else 29 (43 pts), boolean chains 12, loops 6 (7 pts), error handling 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":"chapter8/continued-pretraining/validation/validate_evidence.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"979acaa40334a5f7e1a04cb1306ce9ec7ed374a2fe4a3fb18986ae37e2eae127"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_application.run_raw_workflow (cognitive 63): benchmark_application.run_raw_workflow has cognitive complexity 63 (threshold 15). Drivers by points: if/else 10 (34 pts), loops 5 (17 pts), error handling 3 (6 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 40). 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"688b9c28072db1d3815a3bd1a2eef4dbc4eab424e3ef911ed8d1d534decbb285"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridStructuredRetriever.index_graphrag_data (cognitive 62): HybridStructuredRetriever.index_graphrag_data has cognitive complexity 62 (threshold 15). Drivers by points: if/else 16 (40 pts), ternaries 4 (16 pts), loops 3 (6 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":"chapter3/structured-index/hybrid_retriever.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40f973032585e96d92f28e1dc73d871d59954038054cfb2c5d2e28b485477ba"}},{"ruleId":"D2","level":"warning","message":{"text":"validator._structural_check (cognitive 62): validator._structural_check has cognitive complexity 62 (threshold 15). Drivers by points: if/else 20 (39 pts), boolean chains 10, loops 5 (8 pts), error handling 2 (5 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":"chapter5/agent-creator/validator.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fff26e8d50b8dabc0a7ffd65c1533b71fe7e101ded3f91eb1f8827c9cab073"}},{"ruleId":"D2","level":"warning","message":{"text":"ExperimentRunner.run_611 (cognitive 62): ExperimentRunner.run_611 has cognitive complexity 62 (threshold 15). Drivers by points: loops 10 (36 pts), error handling 4 (14 pts), if/else 3 (12 pts) (nesting depth added 45). 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e30bc84e5da4c33c392cd5a47bb25756b375386a2ff0e0b22e1ec593991675"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Home (cognitive 59): index.Home has cognitive complexity 59 (threshold 15). Drivers by points: if/else 22 (23 pts), ternaries 14 (18 pts), boolean chains 14, error handling 4 (nesting depth added 5). Most of this is not in the body itself: 6 of the 59 points are its own statements and the rest belongs to 16 function items inside it that branch (startRecording, setupWebSocket, stopRecording, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"642d4b9cf63b63ca05c42ad4d37f69eff5e02828fd8a7a8e80aa6e23a37b1276"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 58): demo.main has cognitive complexity 58 (threshold 15). Drivers by points: ternaries 23 (24 pts), boolean chains 21, if/else 11, 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":"chapter10/autonomous-phone-registration/demo.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"56eb4a3426b3b6663838719428096ba5396ea93bb6725658b07a0617df0fb13e"}},{"ruleId":"D2","level":"warning","message":{"text":"lang-switcher.init::rewriteSidebar (cognitive 58): lang-switcher.init::rewriteSidebar has cognitive complexity 58 (threshold 15). Drivers by points: if/else 12 (43 pts), boolean chains 5, loops 4 (5 pts), error handling 1 (3 pts), ternaries 1 (2 pts) (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: 3 other methods here (lang-switcher.init::detectLang, lang-switcher.init::translatePath, lang-switcher.init::render) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d9354fdc5e819bd1b462c3355726c540316d351f7800db29df5162af793a6a7"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_2_8.run_one (cognitive 57): run_experiment_2_8.run_one has cognitive complexity 57 (threshold 15). Drivers by points: if/else 19 (32 pts), boolean chains 11, loops 6 (9 pts), error handling 2 (5 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":"chapter2/system-hint/run_experiment_2_8.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a2d8505cddc539a477d941777b93c1d2597186be51d2f14c994e808b842eb0"}},{"ruleId":"D2","level":"warning","message":{"text":"book-markdown.bookMarkdown.\u003Creturned closure\u003E::walk (cognitive 57): book-markdown.bookMarkdown.\u003Creturned closure\u003E::walk has cognitive complexity 57 (threshold 15). Drivers by points: if/else 24 (30 pts), boolean chains 25, ternaries 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":"web-astro/src/lib/book-markdown.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad61c58d5b51b7f28fcd4a3acffe3231a07182b88b2d956e21913bb39d79a67"}},{"ruleId":"D2","level":"warning","message":{"text":"bookMarkdown::(anonymous)::walk (cognitive 57): bookMarkdown::(anonymous)::walk has cognitive complexity 57 (threshold 15). Drivers by points: if/else 24 (30 pts), boolean chains 23, other 2, ternaries 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":"web-astro/src/lib/book-markdown.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b69786cca65f23024ed568a98e6e4bb7d1c9d5d9206ffc793cb58d65cdcb955"}},{"ruleId":"D2","level":"warning","message":{"text":"CodingAgentCLI.run_agent (cognitive 56): CodingAgentCLI.run_agent has cognitive complexity 56 (threshold 15). Drivers by points: if/else 14 (46 pts), loops 2 (7 pts), error handling 2, boolean chains 1 (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":"chapter5/coding-agent/main.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"539b6312a8f2a98558289f8c583ae487ade8e7c07d17584a15c4516a65720b79"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_harness_focused.run_focused_harness_eval (cognitive 56): benchmark_harness_focused.run_focused_harness_eval has cognitive complexity 56 (threshold 15). Drivers by points: if/else 9 (21 pts), error handling 4 (14 pts), ternaries 4 (11 pts), loops 5 (7 pts), boolean chains 3 (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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_harness_focused.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e62a772ae9bcb82ee53edcf0ef92264a2e624d84619bb604a514ee06a534bc"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_safety.print_results (cognitive 56): benchmark_safety.print_results has cognitive complexity 56 (threshold 15). Drivers by points: if/else 13 (31 pts), loops 10 (18 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"2103713fce40d296db84de22b74a28466317a0442a32cc7dd21b61296a0d4e8e"}},{"ruleId":"D2","level":"warning","message":{"text":"PEDOSecurityEvaluator.evaluate_field_visibility (cognitive 56): PEDOSecurityEvaluator.evaluate_field_visibility has cognitive complexity 56 (threshold 15). Drivers by points: if/else 23 (47 pts), boolean chains 6, error handling 1 (3 pts) (nesting depth added 26). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/run_live_security_eval.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"76576243486a2904888ff7a6c9ef5c7a180bfc575157622824a0dde3e7cb9383"}},{"ruleId":"D2","level":"warning","message":{"text":"evidence.validate_manifest (cognitive 55): evidence.validate_manifest has cognitive complexity 55 (threshold 15). Drivers by points: if/else 12 (33 pts), loops 7 (17 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/image-gen-workflow/evidence.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5a48a40539d901bd8e48878061eb684d6437dbcc0c151b0cbf2756e29cb885"}},{"ruleId":"D2","level":"warning","message":{"text":"run_comparison.main (cognitive 55): run_comparison.main has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 6 (13 pts), boolean chains 7, ternaries 3 (7 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":"chapter10/multi-role-transfer/run_comparison.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a82486bc2c5940eaa73d1a7b80e758656abc0b1294fa4562615dc834b930abf"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationChunker._chunk_fixed_rounds (cognitive 55): ConversationChunker._chunk_fixed_rounds has cognitive complexity 55 (threshold 15). Drivers by points: if/else 9 (32 pts), loops 6 (21 pts), boolean chains 2 (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":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f0960360b8b4831f9f789bf2ee777329871ac6384f988ce954dad8aeacf77a"}},{"ruleId":"D2","level":"warning","message":{"text":"AgenticRAG.query (cognitive 55): AgenticRAG.query has cognitive complexity 55 (threshold 15). Drivers by points: if/else 16 (36 pts), loops 3 (10 pts), error handling 2 (6 pts), boolean chains 3 (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":"chapter3/agentic-rag/agent.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e760b8da2e7c8d43da1bb83e48cbd15172e410db032c285797db1de300a683d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationChunker._chunk_fixed_rounds (cognitive 55): ConversationChunker._chunk_fixed_rounds has cognitive complexity 55 (threshold 15). Drivers by points: if/else 9 (32 pts), loops 6 (21 pts), boolean chains 2 (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":"chapter3/contextual-retrieval-for-user-memory/chunker.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4dd06ca90ca89998246716970a1aaa63fd396d1d9f43757a3729c099354809"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextAwareAgent.execute_task (cognitive 54): ContextAwareAgent.execute_task has cognitive complexity 54 (threshold 15). Drivers by points: if/else 12 (24 pts), ternaries 5 (12 pts), error handling 4 (9 pts), boolean chains 6, loops 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":"chapter1/context/agent.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f6c7e459c53cfba5826a5a0d541bcaea1e6072b738b1a5d4c296f5fedd3d79"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMemoryEvaluator.evaluate_test_case (cognitive 52): UserMemoryEvaluator.evaluate_test_case has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 8 (17 pts), loops 3 (8 pts), boolean chains 4, error handling 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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c26369e6deb2b3fada6612c98c133d65337a56dcc56496227286e605a66d108"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMemoryEvaluator.evaluate_test_case (cognitive 52): UserMemoryEvaluator.evaluate_test_case has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 8 (17 pts), loops 3 (8 pts), boolean chains 4, error handling 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":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9d1a2bb848e4016b6ca96c0a576d9bb0a197008d7db7f98a560631ad8f1f84"}},{"ruleId":"D2","level":"warning","message":{"text":"GrepTool._search_content (cognitive 52): GrepTool._search_content has cognitive complexity 52 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 5 (11 pts), ternaries 3 (10 pts), boolean chains 3, error handling 1 (2 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":"chapter5/coding-agent/tools/grep_tool.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3a5835da5d293f7ee1a200f8a9bd61f1c8c40d3085d3c668d5ce6782735423"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractiveContextualRAG.evaluate_specific_test_case (cognitive 51): InteractiveContextualRAG.evaluate_specific_test_case has cognitive complexity 51 (threshold 15). Drivers by points: if/else 13 (20 pts), ternaries 9 (19 pts), loops 5 (9 pts), boolean chains 2, error handling 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":"chapter3/contextual-retrieval-for-user-memory/main.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e63f5ed0eccde1e93880cccb0f9f078844b9a717e61df22610294880f3d2280"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis.availability_summary (cognitive 51): analysis.availability_summary has cognitive complexity 51 (threshold 15). Drivers by points: if/else 11 (32 pts), ternaries 5 (10 pts), boolean chains 6, 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":"chapter7/model-benchmark/analysis.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"460c0c6e4c3d1a2117c3267929b06d2455d62d68a0985c6571d3139b06c59af1"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextualMemoryEvaluator.evaluate_test_case (cognitive 50): ContextualMemoryEvaluator.evaluate_test_case has cognitive complexity 50 (threshold 15). Drivers by points: ternaries 10 (23 pts), loops 7 (13 pts), if/else 7 (8 pts), boolean chains 3, 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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc1bea3e3c7e709fc43fc5f85bf5dd705a0a6b88ad853a2a85a857776f604906"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimodalAgent._stream_gemini_response (cognitive 50): MultimodalAgent._stream_gemini_response has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (41 pts), loops 3 (5 pts), boolean chains 4 (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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9464d175129f6b0458edfea5fa96738537567b78de53f89a63dd4eb4c552209"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_official_run.validate (cognitive 49): validate_official_run.validate has cognitive complexity 49 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 16, ternaries 9 (11 pts), loops 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, 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":"chapter2/agent-skills-ppt/validate_official_run.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e6d8bdf2c855892471b7cd849db4b12b8d0613ba6695cc153bee25ccd24fc6"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_audio_quality.judge_once (cognitive 49): evaluate_audio_quality.judge_once has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 14, ternaries 4 (7 pts), loops 4 (6 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":"chapter6/controllable-tts/evaluate_audio_quality.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da61f38c7ee361c3cb3f3d6b00e59e29b2eecb8cfea0a4e0959b71b39bfee17"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_campaign.main (cognitive 48): validate_campaign.main has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 18, loops 3 (4 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":"chapter10/generative-agents/validate_campaign.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8c3c28a6661969022c51107803d3c48134606618e9c1ddec71688078e1832d"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_4_2.substantive_observation (cognitive 48): run_experiment_4_2.substantive_observation has cognitive complexity 48 (threshold 15). Drivers by points: if/else 23 (24 pts), boolean chains 22, 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":"chapter4/perception-tools/run_experiment_4_2.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b758251d65da905ce031699c2d62203c94e9fe3a8fd55943d4b5c3cb637843"}},{"ruleId":"D2","level":"warning","message":{"text":"GrepTool._get_files_to_search (cognitive 48): GrepTool._get_files_to_search has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (37 pts), error handling 1 (5 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/coding-agent/tools/grep_tool.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ada48ed96e18561650d5c4bf1b0e095651f3ba5351e531f606ba6fc0f3dfc1"}},{"ruleId":"D2","level":"warning","message":{"text":"StrengthenedOracle.check_violations (cognitive 48): StrengthenedOracle.check_violations has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (35 pts), loops 5, boolean chains 4, ternaries 1 (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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5989da414e59343f8fd23560fa7ab4d42c84be497886cfe34e6f248d8abd1643"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_from_cache.evaluate_from_parquet (cognitive 48): evaluate_from_cache.evaluate_from_parquet has cognitive complexity 48 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 8 (19 pts), boolean chains 3, loops 2 (3 pts), error handling 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":"chapter8/Intuitor/evaluate_from_cache.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c22cb674ddb50a35bad01767a9977fec8f2b20075b17f28b184c0009d706160"}},{"ruleId":"D2","level":"warning","message":{"text":"TreasureHuntGame._try_crafting (cognitive 47): TreasureHuntGame._try_crafting has cognitive complexity 47 (threshold 15). Drivers by points: if/else 9 (26 pts), loops 5 (21 pts) (nesting depth added 33). 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":"chapter1/learning-from-experience/game_environment.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"655ef8d6ba13b6bb54ef5dfd642e9698c5c37c9c4719a622bf3bcb34b01238e5"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_4_5.run (cognitive 47): run_experiment_4_5.run has cognitive complexity 47 (threshold 15). Drivers by points: if/else 15 (23 pts), ternaries 10 (12 pts), boolean chains 8, error handling 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":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3da2454083370a883e9cb280c43fbcd28b717f75c32630692ea4592ec49f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"search_tools.search_web (cognitive 47): search_tools.search_web has cognitive complexity 47 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 6 (12 pts), loops 4 (9 pts), ternaries 2 (5 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":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"317521be21587c48788b0f26260e7f60a892c836e1589faf456f50596b27c055"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_safety_v2.print_safety_v2_results (cognitive 47): benchmark_safety_v2.print_safety_v2_results has cognitive complexity 47 (threshold 15). Drivers by points: loops 11 (23 pts), if/else 7 (17 pts), ternaries 3 (7 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f710406997a9e83f1fb82212595d05233028b1f2d92c3ff4f71cac6bbe2ecd0"}},{"ruleId":"D2","level":"warning","message":{"text":"NotebookEditTool._execute_impl (cognitive 46): NotebookEditTool._execute_impl has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (35 pts), loops 3 (9 pts), error handling 2 (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":"chapter5/coding-agent/tools/notebook_edit_tool.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f90f74911cd3506f2dcf901423ac605d3d67d27e4fd9897d32a7c96202a75d5"}},{"ruleId":"D2","level":"warning","message":{"text":"markup.parse (cognitive 46): markup.parse has cognitive complexity 46 (threshold 15). Drivers by points: if/else 17 (33 pts), ternaries 2 (8 pts), error handling 1 (4 pts), loops 1 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/controllable-tts/markup.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78bd321288f2cfb287547f70a77505dde3f0ba500d35e30f1e71a019262ed41"}},{"ruleId":"D2","level":"warning","message":{"text":"fix_svg_text_layout.reflow_wrapped_shapes (cognitive 45): fix_svg_text_layout.reflow_wrapped_shapes has cognitive complexity 45 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 8 (20 pts), ternaries 1 (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":"book-vi/fix_svg_text_layout.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"4284c9188a2b221a5b54e9bcf6baaf99f9211ec394d341edb4f7c99f6aae4bf1"}},{"ruleId":"D2","level":"warning","message":{"text":"GPT5NativeAgent._citations (cognitive 45): GPT5NativeAgent._citations has cognitive complexity 45 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 4 (10 pts), ternaries 2 (10 pts), boolean chains 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":"chapter1/search-codegen/agent.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"781ae0f076606b1c88e8588b25ac68c17b8173a6408d2f5e6c49968056b5b983"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchAgent.execute_research (cognitive 45): ResearchAgent.execute_research has cognitive complexity 45 (threshold 15). Drivers by points: if/else 13 (33 pts), error handling 2 (6 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/agent.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"7712d893f4ab9f3a065e7c3c182b71c4c628f9299dba5354e098dce126131fa6"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMAgent.choose_action (cognitive 44): LLMAgent.choose_action has cognitive complexity 44 (threshold 15). Drivers by points: if/else 15 (30 pts), loops 5 (10 pts), boolean chains 3, error handling 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/learning-from-experience/llm_agent.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"764cd9bfef27e99c54d88e6a659da8ac0693f0a6454b7b88a477c948270e9241"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 44): main.main has cognitive complexity 44 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 4 (11 pts), error handling 5 (9 pts), loops 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":"chapter2/local_llm_serving/main.py"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"2559a7eda8fea42d9ffa5b82e817c331c1311fdb2e2ace096ab4a93008238ce7"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMemoryEvaluationFramework._load_single_test_case (cognitive 44): UserMemoryEvaluationFramework._load_single_test_case has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 6 (16 pts), ternaries 1 (6 pts), boolean chains 4 (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":"chapter3/user-memory-evaluation/framework.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b206e29647d5bbee41a3ff47336f500ea598f845345eb0cf84c42e521aeade63"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_safety_final.run_final_evaluation (cognitive 44): benchmark_safety_final.run_final_evaluation has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (32 pts), error handling 2 (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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"668e8f96132f96777e45848faff0e1e4086ba9db53b90420e8f504ac9b616cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"PEDOSecurityEvaluator.evaluate_row_level_security (cognitive 44): PEDOSecurityEvaluator.evaluate_row_level_security has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 6 (10 pts), boolean chains 9, error handling 2 (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":"chapter5/permission-embedded-data-objects/run_live_security_eval.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"43418bc9197b54dafd1efc90a477c989a4dd0cf2a004b790ce897ae8b044aded"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 44): demo.main has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (24 pts), ternaries 5 (8 pts), boolean chains 7, 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":"chapter7/tts-quality-eval/demo.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a9a92f2e468e2dda82416cc6f3f3be109362d1b80519d270f99478135e3e80"}},{"ruleId":"D2","level":"warning","message":{"text":"SafetyPolicyGate.inspect_path_traversal (cognitive 44): SafetyPolicyGate.inspect_path_traversal has cognitive complexity 44 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 7 (16 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/harness-safety-gate/safety_policy_gate.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e396893fa7cd6603b0abaafdd4c0afd6d3ca30be282d21b6c16c5c67a380cf"}},{"ruleId":"D2","level":"warning","message":{"text":"streaming._absorb (cognitive 43): streaming._absorb has cognitive complexity 43 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 19, 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":"chapter5/provider-failover/streaming.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f881190bd0f82445aa8a1f3a81d08be7917258523fa87b47aae55524aa335c85"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiRoleOrchestrator._run_one_llm_turn (cognitive 42): MultiRoleOrchestrator._run_one_llm_turn has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (27 pts), error handling 3 (7 pts), boolean chains 6, loops 1, 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":"chapter10/multi-role-transfer/orchestrator.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e033455beecd9dc35badae0bb112ffbd289c023ed881065140b2b3b74fe7acc6"}},{"ruleId":"D2","level":"warning","message":{"text":"LogSanitizationAgent.detect_pii (cognitive 42): LogSanitizationAgent.detect_pii has cognitive complexity 42 (threshold 15). Drivers by points: if/else 11 (27 pts), loops 3 (6 pts), boolean chains 4, ternaries 3, error handling 2 (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":"chapter3/log-sanitization/agent.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20b7f701489c2a5daf0e0ce9e5c00a799cbb9f2cab0117ca0f01e0598fc551d"}},{"ruleId":"D2","level":"warning","message":{"text":"run_exact_experiment.derive_acceptance (cognitive 42): run_exact_experiment.derive_acceptance has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 21, if/else 9 (17 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6c3dea6cdefba393d9e70697052be404e71256fa04f998c5b45bc4ebebb735"}},{"ruleId":"D2","level":"warning","message":{"text":"TrajectoryConsistencyChecker.check_trajectory (cognitive 42): TrajectoryConsistencyChecker.check_trajectory has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 4, ternaries 4, 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":"chapter9/trajectory-verifier/consistency_checker.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb50d5dcb557da1fc3bf71679bb8272b68f3914ecbedd00aa3b2c4be34fb462"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_audio_run.evaluate (cognitive 41): evaluate_audio_run.evaluate has cognitive complexity 41 (threshold 15). Drivers by points: if/else 13 (28 pts), boolean chains 7, loops 2 (3 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":"chapter10/voice-werewolf/evaluate_audio_run.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6d5aa2da8a9b2ab9e5efcfc445f9cd7d8c29c62d8fcb5f3d0e0a12652d04d7"}},{"ruleId":"D2","level":"warning","message":{"text":"example_with_system_hints.demo_system_hints (cognitive 41): example_with_system_hints.demo_system_hints has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (32 pts), loops 3 (9 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":"chapter5/coding-agent/example_with_system_hints.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f736a4ae7dbfe03474e6d6a2436050cb54f86bfeaa7e82dc026f90cd09191509"}},{"ruleId":"D2","level":"warning","message":{"text":"KVCacheAgent._format_messages (cognitive 40): KVCacheAgent._format_messages has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 3 (12 pts), boolean chains 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":"chapter2/kv-cache/agent.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"607eb0a19b0c67931dbe142491f23eabb2348f6c63a6f36fcc79c24d65af0301"}},{"ruleId":"D2","level":"warning","message":{"text":"CodingAgent.run (cognitive 40): CodingAgent.run has cognitive complexity 40 (threshold 15). Drivers by points: if/else 7 (24 pts), error handling 3 (10 pts), loops 3 (5 pts), boolean chains 1 (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":"chapter5/coding-agent/agent_new.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0424de3c9f9528df461ab28986c943c5011939e0767c39700234ce1de4caa3"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_application.print_application_results (cognitive 40): benchmark_application.print_application_results has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 5 (12 pts), loops 5 (6 pts), boolean chains 5 (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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"75148adb30ea9597474455113ee7e220828c3929e2e528ebef8cc680cd070d34"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_safety_final.print_final_results (cognitive 40): benchmark_safety_final.print_final_results has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 10 (18 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0f6ce978c849a055b69cddea401ef3226d6a900515a9efd86b692eeddd4d25"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningAgent._save_learned_workflow (cognitive 40): LearningAgent._save_learned_workflow has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (19 pts), loops 5 (12 pts), boolean chains 4, ternaries 3 (4 pts), 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":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b4fd4ef1f4b520894ba66329b38092090adc99b6d45d4cb0bb0878db2f9ae7"}},{"ruleId":"D2","level":"warning","message":{"text":"demo_conversation_processing.demonstrate_conversation_processing (cognitive 39): demo_conversation_processing.demonstrate_conversation_processing has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 3 (6 pts), boolean chains 2, 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":"chapter3/user-memory/demo_conversation_processing.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6bf4d3ead8444e60ab5fb8284c0e5db3e87fc451c4cea7cad979faeed16760"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 39): demo.main has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (29 pts), loops 3 (7 pts), error handling 1 (2 pts), ternaries 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":"chapter4/active-tool-discovery/demo.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"092fd32b7f9771e8503559eb80398fa1753b2f4527ec244f3d48044ae615d37d"}},{"ruleId":"D2","level":"warning","message":{"text":"providers.capture (cognitive 39): providers.capture has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 16 (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":"chapter5/provider-failover/providers.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26b9f0f9f6192e29a23e48492988ffa9225291f9740ec457c6565ab637f43d1"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalFileTools.grep (cognitive 38): LocalFileTools.grep has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 4 (8 pts), 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":"chapter2/kv-cache/agent.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"68363647ef2e405b5416018627d7ca0a933ec09502175b746e84358e030d6b2e"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 38): demo.main has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 16, if/else 15, ternaries 5 (6 pts), loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/paper-to-ppt/demo.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48ac56f050ad40c6a6f16209b202ef27ce8797d2d5813d97d61e996a8ec5abe"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_comparisons.run_multi_model_test (cognitive 38): benchmark_comparisons.run_multi_model_test has cognitive complexity 38 (threshold 15). Drivers by points: if/else 4 (14 pts), error handling 3 (12 pts), loops 3 (6 pts), ternaries 1 (5 pts), boolean chains 1 (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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2af2988c8ee0071d1fc1084827dc47ea44dcb1e1708d99c84f98d0caafc7b71"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_vlm_evidence.validate_run (cognitive 38): validate_vlm_evidence.validate_run has cognitive complexity 38 (threshold 15). Drivers by points: if/else 21 (26 pts), boolean chains 11, loops 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":"chapter8/MiniMind-pretrain/validation/validate_vlm_evidence.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd1291757fbf8fa193d37bc499e04ec99dd846ae43508da1be0b3159fa6f7bc"}},{"ruleId":"D2","level":"warning","message":{"text":"ReActAttentionAgent.generate_with_streaming (cognitive 37): ReActAttentionAgent.generate_with_streaming has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (29 pts), loops 2 (3 pts), ternaries 2 (3 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":"chapter2/attention_visualization/main.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"594f9d30f62c5be0a2be47010b211ee2d519689fc0b7fce50d4e6a26d0328bc2"}},{"ruleId":"D2","level":"warning","message":{"text":"AgenticRAG.query (cognitive 37): AgenticRAG.query has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (25 pts), error handling 2 (6 pts), loops 2 (4 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":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fbd9315117391b9d5c861f5adc7a9f089ea98c48ad5afb1b680070d714cdd3"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 37): demo.main has cognitive complexity 37 (threshold 15). Drivers by points: if/else 7 (18 pts), ternaries 3 (10 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/demo.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5c9bc42c9d324f59031a5fcdd3b4a3baa74982d4000220bc1025220b574f32"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalStageEvaluator.evaluate_pipeline (cognitive 37): RetrievalStageEvaluator.evaluate_pipeline has cognitive complexity 37 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 12 (17 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":"chapter3/retrieval-pipeline/stage_evaluator.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c590b7b614af86d647521f363713c7d52641cdbdcc2067cd0ecfff018d1844"}},{"ruleId":"D2","level":"warning","message":{"text":"verify_acceptance.main (cognitive 37): verify_acceptance.main has cognitive complexity 37 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 8, loops 4, error handling 1, ternaries 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":"chapter6/phone-agent/verify_acceptance.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7dfc866273d7245f93b011c77ab27f6daa1488dd7645662a9eb81b8ac878945"}},{"ruleId":"D2","level":"warning","message":{"text":"DownstreamAblationEngine.run_ablation_campaign (cognitive 37): DownstreamAblationEngine.run_ablation_campaign has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 11, boolean chains 4, loops 3 (4 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":"chapter9/hermes-self-evolution/run_downstream_ablation.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f37a7590be359dd8f30b9c30dd8c2797532ca133a7195e23da0d48ab738aa6"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionHandler.generateAIResponse (cognitive 37): ConnectionHandler.generateAIResponse has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (26 pts), boolean chains 5, error handling 4 (5 pts), loops 1 (nesting depth added 13). Most of this is not in the body itself: 7 of the 37 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 423, 488). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7c2fddd2419bc0854012d4598ebeb7a6727445719e3d816374c1e9a9a3dd0f"}},{"ruleId":"D2","level":"warning","message":{"text":"PhoneAgent._run_dialogue (cognitive 36): PhoneAgent._run_dialogue has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (24 pts), error handling 2 (4 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/autonomous-phone-registration/orchestration.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff7170664f6ca5183763391115ee81e0c71438bc8666fbb7054fa7895e01473"}},{"ruleId":"D2","level":"warning","message":{"text":"run_official_experiment.split_translation_units (cognitive 36): run_official_experiment.split_translation_units has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 4 (9 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":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8463dfefe7699a49917c21c8b254f7f5d0ce5dc3ecebe87b1dc96ef8f43aa538"}},{"ruleId":"D2","level":"warning","message":{"text":"supervise_campaigns.main (cognitive 36): supervise_campaigns.main has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 5 (9 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":"chapter10/generative-agents/supervise_campaigns.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc1d7065adadc1ea0be737c98c282fc7aba4149f468c51b7f99910069c879f1"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalLegalIndexer.chunk_document_smart (cognitive 36): LocalLegalIndexer.chunk_document_smart has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (29 pts), loops 2 (4 pts), ternaries 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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6ecc034fa43fbc387ae12eaeea76fee6d2eb70fa1e79186c3d599f2547efbc"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchEvaluator.generate_report (cognitive 36): BatchEvaluator.generate_report has cognitive complexity 36 (threshold 15). Drivers by points: if/else 8 (18 pts), ternaries 6 (12 pts), loops 4 (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":"chapter3/user-memory-evaluation/evaluator.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1691b699bf4a66815102fe050c71f27492721e3cc40131e2be5b36aa3e0757"}},{"ruleId":"D2","level":"warning","message":{"text":"run_exact_experiment.run (cognitive 36): run_exact_experiment.run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 19 (32 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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f1b880c7aac94aee206d41b0b26264840bec887ad59c1a2ef2e6394624b3ad"}},{"ruleId":"D2","level":"warning","message":{"text":"NotificationDispatcher.dispatch_and_wait (cognitive 36): NotificationDispatcher.dispatch_and_wait has cognitive complexity 36 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 6, error handling 3 (5 pts), ternaries 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":"chapter4/collaboration-tools/src/notification_dispatcher.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a5a03993e636dd32e1d5d5a5dab8d70271da61ab9c2bac2053a1304965eaf2"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCreator._ask (cognitive 36): AgentCreator._ask has cognitive complexity 36 (threshold 15). Drivers by points: if/else 5 (15 pts), ternaries 4 (7 pts), boolean chains 6, error handling 2 (5 pts), 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":"chapter5/agent-creator/creator.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb9a03062ce004731f55f2ffe3b4cbda1e8e8d5caa2aa82d46ebda7a65fe68d"}},{"ruleId":"D2","level":"warning","message":{"text":"validator.validate_agent (cognitive 36): validator.validate_agent has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 7, ternaries 6, error handling 1 (3 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":"chapter5/agent-creator/validator.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"466ef68d458ee162d70bae7c39bf3c48b2b7955c71751fd2f143d492d5759845"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.run (cognitive 36): campaign.run has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 7, error handling 3 (6 pts), loops 5 (6 pts), ternaries 2 (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":"chapter5/log-diagnosis/campaign.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b92694db5123afc438f0b73d38013a55a4fd0b31c5ff47fc26dac092b91413"}},{"ruleId":"D2","level":"warning","message":{"text":"run_targeted_eval.run_single (cognitive 36): run_targeted_eval.run_single has cognitive complexity 36 (threshold 15). Drivers by points: error handling 10 (21 pts), if/else 9 (11 pts), 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":"chapter5/permission-embedded-data-objects/run_targeted_eval.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1282277cf8f106d888b44f8f457f4ff3c370442dedc4ffff7187dd2bd69c2243"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop_planner.run_episode (cognitive 36): desktop_planner.run_episode has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 7, loops 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":"chapter6/gemini-xlerobot-navigation/desktop_planner.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e593747311f74493c384b9a375586a311e9d1e23d25fe042ad71723fdba69125"}},{"ruleId":"D2","level":"warning","message":{"text":"MultilingualReasoningEvaluator._parse_model_output (cognitive 36): MultilingualReasoningEvaluator._parse_model_output has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 8, 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":"chapter8/MultilingualReasoning/evaluate_multilingual.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25a6cf8247324571dd5c6691dbf1804854ca1de034bbc524fb64dc050a9dc2b"}},{"ruleId":"D2","level":"warning","message":{"text":"quick_demo.run_llm_demo (cognitive 35): quick_demo.run_llm_demo has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (9 pts), ternaries 2 (3 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":"chapter1/learning-from-experience/quick_demo.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"886681ea1809fef2784ea91c2fa21f5b4b561b0425f0d237aba14c69598e912e"}},{"ruleId":"D2","level":"warning","message":{"text":"run_official_experiment.validate_judge_response (cognitive 35): run_official_experiment.validate_judge_response has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 7, loops 3 (6 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7d1e1748fa54384af78bd0dc73807aeb5b6c9a8028c3918a08228c0fc1406c"}},{"ruleId":"D2","level":"warning","message":{"text":"run_official_experiment.main (cognitive 35): run_official_experiment.main has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 12, ternaries 9 (10 pts), if/else 7 (8 pts), loops 4 (5 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":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed05f7aa586b8cf5ed02e26d39197e5c71c03e83203a6be86e7b62f2ef979700"}},{"ruleId":"D2","level":"warning","message":{"text":"VLLMToolAgent.chat (cognitive 35): VLLMToolAgent.chat has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 4 (10 pts), loops 3 (7 pts), error handling 1 (4 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":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ff1bf40f0e96c2f90ea129f58a35d2a6b058e845426dc5d9d5d9826b685a20"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractiveRAGEvaluator.evaluate_single_test (cognitive 35): InteractiveRAGEvaluator.evaluate_single_test has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 7 (13 pts), loops 4 (7 pts), boolean chains 1, 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":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc55bbcacc82955d1bc4091fd4b62edd06b481c1db6b4fa072d3791f81e1bd1"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.measure_stream (cognitive 35): campaign.measure_stream has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 5 (9 pts), boolean chains 5, loops 2 (3 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":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5615574898c4b51093a6c3829149523b8cbbb3a4dbf7ab218184d8536947f2"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.measure_gemini (cognitive 35): campaign.measure_gemini has cognitive complexity 35 (threshold 15). Drivers by points: if/else 7 (21 pts), boolean chains 6, loops 3 (6 pts), error handling 1, 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":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1670bc4569af33faa6103b578c410383d6dd77adab4192ea061876c14c4bbd2"}},{"ruleId":"D2","level":"warning","message":{"text":"RateRampBenchmark.run (cognitive 35): RateRampBenchmark.run has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 11, loops 2 (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":"chapter7/model-benchmark/rate_ramp_benchmark.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"737f65ca2ecd2023348bd9a782bb254afd6f69daa5e022c2d89b1ba4490375a8"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.completion_assessment (cognitive 35): experiment.completion_assessment has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (21 pts), boolean chains 10, loops 2, 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, 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"059cb26a365cd334a30ecee991042bbf01351635c2bb093b5a2ee88c698b9fb1"}},{"ruleId":"D2","level":"warning","message":{"text":"create_data.generate_distillation_data (cognitive 35): create_data.generate_distillation_data has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (23 pts), loops 8 (12 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":"chapter8/prompt-distillation/create_data.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"045337a73b3eeb2f5b823d590eecedd9a664cb8a113af4828092863a648905aa"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.verify_simulator_trace (cognitive 34): demo.verify_simulator_trace has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 10, 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":"chapter10/voice-werewolf/demo.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ea20ee50e4f12391d36faa464250c56a45811a07125f4f5799726af09d3811"}},{"ruleId":"D2","level":"warning","message":{"text":"cli._demo (cognitive 34): cli._demo has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (19 pts), error handling 4 (8 pts), loops 3 (5 pts), boolean chains 1, ternaries 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":"chapter4/perception-tools/cli.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b21c42ea35976c73aa3f057c9de2386a2da9e359550327a1b51d9223325a93"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.solve (cognitive 34): demo.solve has cognitive complexity 34 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 3 (8 pts), boolean chains 6, error handling 1 (4 pts), loops 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/code-for-math/demo.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1a99a3f8cd421448b0c5df16c98b088fe39b61d8d1541b925b05a37ad42200"}},{"ruleId":"D2","level":"warning","message":{"text":"lang-switcher.init::translatePath (cognitive 34): lang-switcher.init::translatePath has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 12 (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: 3 other methods here (lang-switcher.init::detectLang, lang-switcher.init::rewriteSidebar, lang-switcher.init::render) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6109752ef4dab260e77cf2fdf25566df498609bd44c607c116b23dfbc830ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run_demo (cognitive 33): main.run_demo has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (26 pts), loops 1 (3 pts), error handling 2, boolean chains 1, 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":"chapter2/context-compression/main.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"559ce78de75152ab980db843b8e67b7a35e4c01b209429f66757605398240d92"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_2_8.execute_tool (cognitive 33): run_experiment_2_8.execute_tool has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 2, 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":"chapter2/system-hint/run_experiment_2_8.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d689ec3af0cf379f66916903df8423511a8e316dfeb47038bc7e8d8df306428a"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentChunker._chunk_by_paragraphs (cognitive 33): DocumentChunker._chunk_by_paragraphs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 3 (9 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":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b983a8f971890c51471a45e965523b444f96b3ff63a47e2f4e170d75c34435"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentChunker._chunk_by_paragraphs (cognitive 33): DocumentChunker._chunk_by_paragraphs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 3 (9 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":"chapter3/contextual-retrieval/chunking.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a0f24c2de2882420ef5103da8a465fb1613d6c3e443d4d41681f30e23f65c8"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextualChunker._chunk_by_paragraphs (cognitive 33): ContextualChunker._chunk_by_paragraphs has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (22 pts), loops 3 (9 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":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"a025cc7bea729658a2fbad2b9f0970d05e2e79a203ab4b5192047a114071ccd2"}},{"ruleId":"D2","level":"warning","message":{"text":"quickstart.quickstart (cognitive 33): quickstart.quickstart has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 4 (8 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/quickstart.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e43816fd2e8d10a154bb59bf512e7a4ccee0f00ece8bf9fe41f7fa323a16b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtendedTools.virtual_desktop_execute (cognitive 33): ExtendedTools.virtual_desktop_execute has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 9, loops 4, 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":"chapter4/execution-tools/extended_tools.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddabba5fa2e762edecc37e5955dc5abef233381785e4883a5e045eb9d240749"}},{"ruleId":"D2","level":"warning","message":{"text":"CodingAgent._run_openai_iteration (cognitive 33): CodingAgent._run_openai_iteration has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (20 pts), error handling 3 (5 pts), loops 3 (5 pts), ternaries 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":"chapter5/coding-agent/agent.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8aa1e9d5d40f82e95d1cd080beec3e5e0a96163dc72d48e1a5c12051882c7d5"}},{"ruleId":"D2","level":"warning","message":{"text":"regeneration_robustness.run (cognitive 33): regeneration_robustness.run has cognitive complexity 33 (threshold 15). Drivers by points: if/else 6 (18 pts), error handling 2 (8 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/regeneration_robustness.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9919130abb591150147bbeac8538550650a8f94af67ed05528ac7743ad71cc9f"}},{"ruleId":"D2","level":"warning","message":{"text":"run_handoff.run_pair (cognitive 33): run_handoff.run_pair has cognitive complexity 33 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 3 (6 pts), boolean chains 5, error handling 2 (4 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/provider-failover/run_handoff.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a21d1b28a86229f325d38fcce860a9a265c0aaf552477199d2c3cae288d5db"}},{"ruleId":"D2","level":"warning","message":{"text":"flatten_epub_toc.flatten_nav (cognitive 33): flatten_epub_toc.flatten_nav has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 5 (9 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":"flatten_epub_toc.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"024e442952c9d2516c412cbf9301ba557faa93b6a9e4997ae10b2fb3bc3d1ea0"}},{"ruleId":"D2","level":"warning","message":{"text":"validateLesson (cognitive 33): validateLesson has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 9, loops 5 (6 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/generate.mjs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd293feb8f1db46994dcc60779f3765bfd0a205d744df5eb76d089db3953c311"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSearchAgent.search_and_answer (cognitive 32): WebSearchAgent.search_and_answer has cognitive complexity 32 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 2 (7 pts), boolean chains 6, error handling 2 (5 pts), loops 2 (4 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/web-search-agent/agent.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"70078af9c9470c9a9c26aa8372df852d1acf7c205c47965fbd1882e6599cd652"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMemoryEvaluationFramework.display_test_case_summary (cognitive 32): UserMemoryEvaluationFramework.display_test_case_summary has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 3 (12 pts), loops 3 (8 pts) (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":"chapter3/user-memory-evaluation/framework.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"1911b8e7237f103254c46ac96557791ea4194249b644ac2bec0a6ad1570f6856"}},{"ruleId":"D2","level":"warning","message":{"text":"NotesMemoryManager.consolidate_memories (cognitive 32): NotesMemoryManager.consolidate_memories has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 4 (7 pts), ternaries 2 (5 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"056bee047243fb4bf6d93dd0781c411c5699c9505873eeae3b0eed16a7554b2d"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 32): demo.main has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (23 pts), boolean chains 5, loops 2 (3 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":"chapter5/code-for-logic/demo.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6af4cc2bf1700b26c3ca88075c2d753043333e61ebb1f6f2644609416b79a6"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign_postgres.main (cognitive 32): campaign_postgres.main has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 10, error handling 1 (4 pts), 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":"chapter5/erp-agent/campaign_postgres.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db7d0a0b00e83369cb85e2623928b817707a809c1943978acbb06f4750c5e2f"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.preflight (cognitive 32): experiment.preflight has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 14, if/else 6 (10 pts), ternaries 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":"chapter7/openvla-robotwin2-eval/experiment.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80ad7a82b35d868f3ec025b9f56fe6f5e5cf3cb97fc55d7a5d97b857c1e834a"}},{"ruleId":"D2","level":"warning","message":{"text":"run_full.main (cognitive 32): run_full.main has cognitive complexity 32 (threshold 15). Drivers by points: if/else 16 (23 pts), ternaries 4, loops 3, 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":"chapter7/user-memory-system-evaluation/run_full.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb458f5607b0ab550072b70fe1399fb57b08263811b7e23dd15e8b68de104f0"}},{"ruleId":"D2","level":"warning","message":{"text":"run_report_audit.parse_retained_outputs (cognitive 32): run_report_audit.parse_retained_outputs has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (30 pts), loops 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":"chapter8/continued-pretraining/validation/run_report_audit.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18241e7f2261bbfc8d7d3be94c7ab4fc044e721c364617e658ff50ffa09c9dc"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate.print_confusion_matrix (cognitive 32): evaluate.print_confusion_matrix has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 5 (11 pts), loops 6 (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":"chapter8/prompt-distillation/evaluate.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1fca90fbe261d2081b518a97628a11f37970b54b47c88b700d0bbf6dca8fa3"}},{"ruleId":"D2","level":"warning","message":{"text":"process (cognitive 32): process has cognitive complexity 32 (threshold 15). Drivers by points: loops 5 (14 pts), if/else 7 (13 pts), boolean chains 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":"chapter6/live-audio/frontend/public/audioWorklet.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e12dc97d513a132d086cf4e2b2d5b7372ea9753d1b45da329f61e4df1d18e2f"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionVisualizationAgent._capture_attention_hook (cognitive 31): AttentionVisualizationAgent._capture_attention_hook has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 5, loops 1 (2 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":"chapter2/attention_visualization/agent.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4747ad33635c8899bfdedfe816e109d171bebf93e948cbb8dea41c8e09fdd1a"}},{"ruleId":"D2","level":"warning","message":{"text":"memory_rag_campaign.main (cognitive 31): memory_rag_campaign.main has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 19, ternaries 5, if/else 4, error handling 1 (2 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memory_rag_campaign.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"314cce01bde7127533b72e25e34312e253f7795034e737072641e998f6273388"}},{"ruleId":"D2","level":"warning","message":{"text":"replay._eval_assertion (cognitive 31): replay._eval_assertion has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (15 pts), ternaries 3 (6 pts), error handling 2 (5 pts), boolean chains 3, 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":"chapter5/log-diagnosis/replay.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9cae30b8f8d34dd0161e0a2c91dc8baf7a64a0158ce0eb0fe3670930c615424"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_comparisons.run_all_comparisons (cognitive 31): benchmark_comparisons.run_all_comparisons has cognitive complexity 31 (threshold 15). Drivers by points: loops 16 (20 pts), if/else 4 (8 pts), ternaries 1 (3 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15002a6e808d9c7de67ac4e46de66e80837bfab190170b3f0196cbb2d838744"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_audio_quality.main (cognitive 31): evaluate_audio_quality.main has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 11, error handling 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":"chapter6/controllable-tts/evaluate_audio_quality.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f024e0b0bba82cc84e4c8c14e4fbbeaf60e5d3b8c264c30848b56c992673e9c"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis.cost_summary (cognitive 31): analysis.cost_summary has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 8 (16 pts), boolean chains 7, if/else 2 (5 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":"chapter7/model-benchmark/analysis.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5d29c6030b5f61f1caaac86490ec8611e390199d3a102bca40229438b68be2"}},{"ruleId":"D2","level":"warning","message":{"text":"run_full.valid_checkpoint (cognitive 31): run_full.valid_checkpoint has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 5, error handling 2 (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":"chapter7/user-memory-system-evaluation/run_full.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ce357fc35ef7ae7e41f7548ef62678bae6eb830ff24c69b37dec30c7de959c"}},{"ruleId":"D2","level":"warning","message":{"text":"run_official_experiment.judge_chapter (cognitive 30): run_official_experiment.judge_chapter has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 3 (7 pts), ternaries 2 (4 pts), boolean chains 3, 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":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c1601c5c73a336273f05c9ddef3141185dce7a054a43566b3f7c67fcaf2faf"}},{"ruleId":"D2","level":"warning","message":{"text":"quickstart.main (cognitive 30): quickstart.main has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (20 pts), loops 3 (6 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/quickstart.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca289ade010b9d76c3d62e3e670f271724071984a282658000be54cce1d94af"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMemoryRAGAgent.answer_question (cognitive 30): UserMemoryRAGAgent.answer_question has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (6 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"436134df365ea97e4cc532ca59c0d227f6d0279a6c7ad8d0e8678bab85abcb8f"}},{"ruleId":"D2","level":"warning","message":{"text":"Campaign.answer_agentic (cognitive 30): Campaign.answer_agentic has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (7 pts), ternaries 2 (6 pts), boolean chains 4, error handling 1 (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":"chapter3/agentic-rag/campaign.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d35995c955f9b5c7009bc6b31fcd469ef3217ea172790e78ca40c96373041e"}},{"ruleId":"D2","level":"warning","message":{"text":"RAGEvaluator.compute_aggregate_metrics (cognitive 30): RAGEvaluator.compute_aggregate_metrics has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (27 pts), ternaries 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb65c1b723a35e09b1e09e5279886651cdaed25b2d79468380d6466fe1f7456"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMemoryRAGAgent.answer_question (cognitive 30): UserMemoryRAGAgent.answer_question has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (6 pts), loops 2 (4 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24d5fb55953f4820ecfdb8518b198475413a464a54f7d7e98ed49075405efae"}},{"ruleId":"D2","level":"warning","message":{"text":"RAGEvaluator.compute_aggregate_metrics (cognitive 30): RAGEvaluator.compute_aggregate_metrics has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (27 pts), ternaries 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":"chapter3/contextual-retrieval/evaluation/evaluate.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"780cb89542679bd5226fb740d3025ce38279e4d8d79af2f0a778b51e0604f141"}},{"ruleId":"D2","level":"warning","message":{"text":"LOCOMOBenchmark._run_single_session_test (cognitive 30): LOCOMOBenchmark._run_single_session_test has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 4 (13 pts), loops 4 (10 pts), if/else 4 (7 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":"chapter3/user-memory/locomo_benchmark.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa40b105e44c838695f898043886ded810c9a7313b86d1080fbda39d1f5028da"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign_browser.customize (cognitive 30): campaign_browser.customize has cognitive complexity 30 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 4 (8 pts), boolean chains 6, loops 2 (3 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":"chapter5/conversational-ui/campaign_browser.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"950c0c52183abfabb5218b7501dbcc7d096f900eec507d2a346cb8b96b648b25"}},{"ruleId":"D2","level":"warning","message":{"text":"preflight.main (cognitive 30): preflight.main has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 15, ternaries 6 (8 pts), if/else 3 (4 pts), loops 3 (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":"chapter6/rgb-sim2real-grasping/preflight.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e351dd2463e8ed0017f16cd3815db3565a075fa7145b1988957ee5607ae24a7"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowReplayer._get_element (cognitive 30): WorkflowReplayer._get_element has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (20 pts), error handling 3 (7 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":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee3828ac3be2ae27f2c757e8d1d9be9080139b5140f5de36fb95ba67b173a99f"}},{"ruleId":"D2","level":"warning","message":{"text":"judge_comparison.main (cognitive 29): judge_comparison.main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (7 pts), loops 4 (6 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/multi-role-transfer/judge_comparison.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"162066dac0c23e702d0b52076019d7744694c2262851001c72262f86b93929b2"}},{"ruleId":"D2","level":"warning","message":{"text":"run_campaign.summarize (cognitive 29): run_campaign.summarize has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 6 (10 pts), boolean chains 8, 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":"chapter2/prompt-injection/run_campaign.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92ee8028d8e4090d32898faafe3d8acbe184b8e49d69882f07503f0053d1ad6"}},{"ruleId":"D2","level":"warning","message":{"text":"AgenticRAG._execute_tool (cognitive 29): AgenticRAG._execute_tool has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (26 pts), loops 1 (2 pts), 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":"chapter3/agentic-rag/agent.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83e24358030fa5bb11ba2c71e0923f5dde8e20d34b2553f90e345cb8f78922d"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextualAgenticRAG._execute_tool (cognitive 29): ContextualAgenticRAG._execute_tool has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 3, loops 1 (2 pts), ternaries 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":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f894f679809b50acc4440ae9089d0b466663a2ba14dcf0e80439ea8376184a28"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalPipeline._combine_results (cognitive 29): RetrievalPipeline._combine_results has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 5 (14 pts), if/else 7 (11 pts), loops 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":"chapter3/retrieval-pipeline/retrieval_pipeline.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7595e32847c9574e67630ebc2f30f2fad404c15b861dde28eceaa1b0c2e12d0a"}},{"ruleId":"D2","level":"warning","message":{"text":"quickstart.main (cognitive 29): quickstart.main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 5 (9 pts), error handling 2 (4 pts), ternaries 1 (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":"chapter3/sparse-embedding/quickstart.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bba3445bd8bd1a61f1bb2e873ef4f3c2cd40f648d46a4a9597ab3a3c11b59fe"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.build_graph (cognitive 29): campaign.build_graph has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 7 (11 pts), boolean chains 3, ternaries 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":"chapter3/structured-index/campaign.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b726974f2e181dc762719c75d25c6a47a8686c9ebaef3dbc230366d17aec90b"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.main (cognitive 29): campaign.main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 9, loops 5 (7 pts), ternaries 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":"chapter3/structured-index/campaign.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"62626332f8a09a8dbed2c88130937b38ef6dba07af6031c104ea081c91770d59"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 29): main.main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (14 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":"chapter3/structured-index/main.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e2b6c1875f4fca7d5c20e4cf8204bc8d920eb5163c0ce425a80677dafb68be"}},{"ruleId":"D2","level":"warning","message":{"text":"LOCOMOBenchmark._run_multi_session_test (cognitive 29): LOCOMOBenchmark._run_multi_session_test has cognitive complexity 29 (threshold 15). Drivers by points: loops 4 (11 pts), ternaries 3 (11 pts), if/else 3 (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":"chapter3/user-memory/locomo_benchmark.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8231275701c6d31a307bd4c6db1a6c51f93c3b2b1a8241c3a829954b6d8146"}},{"ruleId":"D2","level":"warning","message":{"text":"MockChatClient._respond (cognitive 29): MockChatClient._respond has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 4, loops 2, 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":"chapter4/active-tool-discovery/offline_backend.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"407530a79ce378220c624705854ef3f8aabd22581ed51c096decba0bf0c8f4d9"}},{"ruleId":"D2","level":"warning","message":{"text":"run_exact_experiment.run_agent_task (cognitive 29): run_exact_experiment.run_agent_task has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (21 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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"558818f9f520be20b56e0a04fcc8036ebaf0bea9f00d3152d1a6ed7ba28a17f8"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimodalAgent._stream_openai_response (cognitive 29): MultimodalAgent._stream_openai_response has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 4 (8 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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"9084944a5435ef8d66c98391757adff01dbd9d5bc8b2c68dd0f441b553adaa61"}},{"ruleId":"D2","level":"warning","message":{"text":"ShellSession._parse_protocol_output (cognitive 29): ShellSession._parse_protocol_output has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 5, 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":"chapter5/coding-agent/tools/shell_session.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cf2150bb84563bf9f5dda6776d7e6529e76bfad47f2b2a6e4e5b2ac0347988"}},{"ruleId":"D2","level":"warning","message":{"text":"run_continuation.main (cognitive 29): run_continuation.main has cognitive complexity 29 (threshold 15). Drivers by points: loops 4 (10 pts), error handling 2 (9 pts), ternaries 1 (5 pts), if/else 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/provider-failover/run_continuation.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abf3fda0e4194fe175db8c43e3355cc4ae4207d6486d84f9dcbb8b6e359dec1"}},{"ruleId":"D2","level":"warning","message":{"text":"build_evidence.arm_stats (cognitive 29): build_evidence.arm_stats has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (16 pts), loops 3 (6 pts), boolean chains 5, ternaries 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/tau2-escalation-experience/build_evidence.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bdd5026fed42eee91a9bdb5a2a4138e8ae00c92b9a6d5c044b2fe89283125d"}},{"ruleId":"D2","level":"warning","message":{"text":"main (cognitive 29): main has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 5, loops 4 (5 pts), ternaries 3, other 1 (nesting depth added 6). Of this number, 28 points are the body\u0027s own statements and 1 belongs to 10 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/generate.mjs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ddae107a018a5c3fda16debc51906c18c03ca920918ac2011ac902b49f5541"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 28): main.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 2 (4 pts), boolean chains 3, loops 1 (3 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b179a63a21c15e0df41356a2a8e84b176464b52b465c79db0eed6fadfe6e5c"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMAgent.play_episode (cognitive 28): LLMAgent.play_episode has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (22 pts), loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/learning-from-experience/llm_agent.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d819dd0377a97c6175e08cdf0e5664326dc8b2e4e6dd558abe32ac6703cf253"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.run_orchestration (cognitive 28): agents.run_orchestration has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 6, loops 5, 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, 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":"chapter10/book-translation/agents.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"841776db791bb9346b90b954b372accbeff052f563dc3585ae9756698517ed45"}},{"ruleId":"D2","level":"warning","message":{"text":"judge_plausibility.main (cognitive 28): judge_plausibility.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 5 (10 pts), loops 3 (4 pts), error handling 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":"chapter10/generative-agents/judge_plausibility.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a1b63ac36fa9d87fb668ee1d5097eeed00bd0061c56a1944bd2222695d0cf8"}},{"ruleId":"D2","level":"warning","message":{"text":"ReActAttentionAgent.save_react_trajectory (cognitive 28): ReActAttentionAgent.save_react_trajectory has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 7 (8 pts), loops 3 (5 pts), error handling 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":"chapter2/attention_visualization/main.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bbf6d5c43af2744015640cf4da63fc40db7b6d8c8aabcb2b1ba3cbb12084a7"}},{"ruleId":"D2","level":"warning","message":{"text":"ResearchAgent._handle_windowed_compression (cognitive 28): ResearchAgent._handle_windowed_compression has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/agent.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3a77700afaacd4a2d44443a12b1911a9a971ed55eebb0de35894b88b6cdc82"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMemoryEvaluator.generate_report (cognitive 28): UserMemoryEvaluator.generate_report has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 2 (4 pts), boolean chains 3, loops 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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0946f9fc2c348324185dda1ea82772d8a1ddb4df55e5c9697ec939290f7500"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryIndexer.search (cognitive 28): MemoryIndexer.search has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 7, loops 2 (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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"d631a34552358b98bfe6e2c8b7745924211c7c7766919d6e611a1dc8540cfcc2"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMemoryEvaluator.generate_report (cognitive 28): UserMemoryEvaluator.generate_report has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (18 pts), ternaries 2 (4 pts), boolean chains 3, loops 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":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d75e4e0e75e119d2efe5f718188ad015428261239f02af2af2aaa1524a6e58a"}},{"ruleId":"D2","level":"warning","message":{"text":"expanded_catalog._specific_contract (cognitive 28): expanded_catalog._specific_contract has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 11 (12 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":"chapter4/perception-tools/src/expanded_catalog.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bc948577bdcd43a9d97dacbb5e3dff67675906ca9824ebd049a5b41b0f2662"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiEditTool._execute_impl (cognitive 28): MultiEditTool._execute_impl has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (20 pts), error handling 2 (4 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":"chapter5/coding-agent/tools/multi_edit_tool.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5353b57c32a126ed8ea4762f39688a3155316e7c4026dc445f4113563f6e240b"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.main (cognitive 28): campaign.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 10, loops 3, 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":"chapter5/paper-to-video/campaign.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"703f5f675d7c54efd0e89f47044766c0410662e655980d9438a44129d1b077c8"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_safety_final.call_generated_func (cognitive 28): benchmark_safety_final.call_generated_func has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 10, error handling 5 (9 pts), if/else 7 (9 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"502019f44c1d77fa7062f6ceae5f2f19236d53666740dd3d707cdd9726649fee"}},{"ruleId":"D2","level":"warning","message":{"text":"judging.judge (cognitive 28): judging.judge has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 8, ternaries 2 (5 pts), error handling 1 (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":"chapter5/provider-failover/judging.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ac1191b715bbef649f6ecd23a499ccea3343181dd63d349d6286a980b74522"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_run.main (cognitive 28): validate_run.main has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 13, if/else 6, ternaries 5 (6 pts), loops 2 (3 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":"chapter6/computer-use-open-model/validate_run.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9d21c6cb72f85e2fa539cce2b6602e321a6a33749015bf4b0c1d4fbde2b131"}},{"ruleId":"D2","level":"warning","message":{"text":"verify_acceptance.check_llm_receipt (cognitive 28): verify_acceptance.check_llm_receipt has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 14, if/else 13, 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":"chapter6/phone-agent/verify_acceptance.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c868865725321db1ef4197d451d7078e5430ce6429c36b17b5b3c6f88aba96"}},{"ruleId":"D2","level":"warning","message":{"text":"webrtc_app._acceptance (cognitive 28): webrtc_app._acceptance has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 25, if/else 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":"chapter6/phone-agent/webrtc_app.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0f3ef24f09c541faf44ba3ae37b9913d94a3aec93aab50f65fb18d3a63fe56"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment_core.render_report (cognitive 28): experiment_core.render_report has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 6 (9 pts), boolean chains 3, 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":"chapter7/android-world/experiment_core.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7869b858dcffe4c8189c98ca5727b5d0b0911f8146dd01cf679f99704b5fad"}},{"ruleId":"D2","level":"warning","message":{"text":"bradley_terry.compute_mle_elo (cognitive 28): bradley_terry.compute_mle_elo has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (17 pts), loops 3 (5 pts), boolean chains 4, 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":"chapter7/elo-leaderboard/bradley_terry.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0a9cab05abdcd2ecb8509308c3793d7137b27bf97cadf9f9bf7fef9f74bef0"}},{"ruleId":"D2","level":"warning","message":{"text":"train_student.main (cognitive 28): train_student.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 4 (7 pts), error handling 4 (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":"chapter8/cot-distillation/train_student.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e9b0ec1e04feb14332f902b3e76354564c5ae665f6bd7c84eac888121335c0"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate.evaluate_model (cognitive 28): evaluate.evaluate_model has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 6 (16 pts), if/else 6 (9 pts), boolean chains 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/prompt-distillation/evaluate.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a672076a7dea5b286da706fd81901a52b5522d3b2ae8cf6977901e7a80e3840"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate.main (cognitive 28): evaluate.main has cognitive complexity 28 (threshold 15). Drivers by points: if/else 13 (22 pts), loops 2 (4 pts), boolean chains 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":"chapter8/prompt-distillation/evaluate.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d16975fd22108b7282867a36325fadeb1fd7f437e2fdeb7d2f01869642090c"}},{"ruleId":"D2","level":"warning","message":{"text":"run_real_validation.runLlm (cognitive 28): run_real_validation.runLlm has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 7, 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":"chapter6/live-audio/backend/run_real_validation.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"9733491ea1516fcce1214fa18d1d6b906a7a03797f5877c6743de9692d1d131a"}},{"ruleId":"D2","level":"warning","message":{"text":"figure-style.color (cognitive 28): figure-style.color has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (15 pts), ternaries 5 (10 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":"web-astro/scripts/figure-style.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc87e842401dbd72fa0338abec7632efaaca0daf9ef860d474f34f59aed1fcc4"}},{"ruleId":"D2","level":"warning","message":{"text":"highlights.initHighlights::render (cognitive 28): highlights.initHighlights::render has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/highlights.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b640e3ee8b382fcb37a1b5e004b26e901b0b7bd1bd31715990653a3b06317e91"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldSpec.validate (cognitive 27): FieldSpec.validate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 10, error handling 2 (4 pts), ternaries 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":"chapter10/autonomous-phone-registration/models.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9ab56dd3a5d0854758ef08f810e6f86c81685809f7efd75f53a9a0bfad0175"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run_single_task (cognitive 27): main.run_single_task has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (23 pts), loops 1 (2 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":"chapter2/local_llm_serving/main.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0908f48ed4c1011e78cd43681347342dfb2ef3ea218f3dfc2e2c2784398d16"}},{"ruleId":"D2","level":"warning","message":{"text":"main.interactive_mode (cognitive 27): main.interactive_mode has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 5 (15 pts), if/else 4 (6 pts), error handling 2 (4 pts), boolean chains 1, 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":"chapter2/system-hint/main.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f24b038dcef6c8faca9805e20275bcb0cbe4b94d1a4d1163226d4dd921b6d7"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run_interactive_mode (cognitive 27): main.run_interactive_mode has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 3 (5 pts), error handling 2 (4 pts), loops 2 (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":"chapter3/agentic-rag/main.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c0f75e5be6f9204b15fffcf83b68a3abd81dd1697326515bdf46654aedbbba"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextualLegalIndexer.compare_retrieval_methods (cognitive 27): ContextualLegalIndexer.compare_retrieval_methods has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (18 pts), loops 2 (5 pts), error handling 1 (2 pts), boolean chains 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":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee8d86b57f982583801f63dfb2dfbcb34c6b1f54bcfac80471424469b73fce8"}},{"ruleId":"D2","level":"warning","message":{"text":"memory_rag_campaign.live_search_plan (cognitive 27): memory_rag_campaign.live_search_plan has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 1 (4 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memory_rag_campaign.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0e7af96e2fc3a433b0cecea5ddd0bf1463d999e0cad7c585d2c2a0e0852e70"}},{"ruleId":"D2","level":"warning","message":{"text":"InvertedIndex.add_document (cognitive 27): InvertedIndex.add_document has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 2 (3 pts), boolean chains 2, 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":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7cc46ffaf98dca9fe5b29863b2c6c1f1d11c7fb5134ac3f2ca1d7be91fe307"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphRAGIndexer.search (cognitive 27): GraphRAGIndexer.search has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 5 (11 pts), ternaries 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":"chapter3/structured-index/graphrag_indexer.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e8e368b8b596c73d3b5906d82470cd0096e9ea7be263e93473f90979236e82"}},{"ruleId":"D2","level":"warning","message":{"text":"archetypes.fit (cognitive 27): archetypes.fit has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (5 pts), ternaries 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":"chapter3/structured-knowledge-extraction/archetypes.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab417099f253d64a51a8131a3c9080e9c262b4e56c8272ae99510189658b0da"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_4_4.run (cognitive 27): run_experiment_4_4.run has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 14, if/else 7 (8 pts), ternaries 4, loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/run_experiment_4_4.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31b37a3f0738fa5d119f7dc31badbad9fe9eff4412ca6e7254d081779d35762"}},{"ruleId":"D2","level":"warning","message":{"text":"CodingAgent._run_anthropic_iteration (cognitive 27): CodingAgent._run_anthropic_iteration has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 3 (7 pts), loops 2, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/coding-agent/agent.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5bccdff3bf3dba562dcaa629a9d974dfcd08c756186f6ccee763dc26b8992c"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadTool._read_notebook (cognitive 27): ReadTool._read_notebook has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 2 (5 pts), error handling 2, boolean chains 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":"chapter5/coding-agent/tools/read_tool.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"becc7da17d0cbb3fffa992aa130b033b895b34086d6f8ab68db89819c87c9bd4"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign_browser.main (cognitive 27): campaign_browser.main has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 11, if/else 5 (7 pts), loops 6 (7 pts), 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":"chapter5/conversational-ui/campaign_browser.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"bced1c48ffe3fc071cd94b773ee548e441c22f812bd040f7f352bd3b2a2d4927"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_final_comprehensive.run_safety_eval (cognitive 27): benchmark_final_comprehensive.run_safety_eval has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 4 (12 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb9f2ea2ad2d8b928950e57c153d98a9654a631f750856b987187f49f6e8a1a"}},{"ruleId":"D2","level":"warning","message":{"text":"build_73_evidence.main (cognitive 27): build_73_evidence.main has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 6, loops 2 (3 pts), ternaries 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":"chapter7/user-memory-system-evaluation/build_73_evidence.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"185425feba6e324f3b026a088fa0d76ab6dbd116e0aa9fc6b769110fcb07e62e"}},{"ruleId":"D2","level":"warning","message":{"text":"LongitudinalEvaluator.run (cognitive 27): LongitudinalEvaluator.run has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 9 (10 pts), boolean chains 2, loops 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":"chapter9/self-evolution-eval/harness.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a1b418ab1ee1e009e0dec9ac3de1e8a9d5040d7f7ce541ede013271c812727"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIQualityJudge.evaluate (cognitive 27): OpenAIQualityJudge.evaluate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 4 (8 pts), boolean chains 5, 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":"chapter9/trajectory-verifier/llm_judge.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3f059746bde71aa0683188eecaeb14060820dccc4b4da9c07c06ef19d86f95"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionModal.AttentionModal (cognitive 27): AttentionModal.AttentionModal has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 13, if/else 9 (10 pts), ternaries 2 (3 pts), match/switch 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 99, handleMouseMove, a function literal at line 91, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionModal.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c7da240777c4d6c81c2ad949ea1385923c5012299c7da17721c1ae5dba961b"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.save_evidence (cognitive 26): demo.save_evidence has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, loops 3 (4 pts), error handling 1 (3 pts), ternaries 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":"chapter10/multi-role-transfer/demo.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"00db920d7fad9d23593c4006876ba213418f3cf7153949b123d6aae5faf35afd"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.verify_isolation (cognitive 26): demo.verify_isolation has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 6 (7 pts), loops 3 (6 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/voice-werewolf/demo.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e2ebe64a8bc030cf0243a80713c57eb1ff76eb484281bdd24f57c4eaa718b0"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 26): main.main has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13 (22 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":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2a745659689daf6fce924982c4cb8bbdfbc8bcd6b745019fc1356c8c224544"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextualMemoryIndexer._generate_summary_cards (cognitive 26): ContextualMemoryIndexer._generate_summary_cards has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 2 (4 pts), error handling 2 (3 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":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57f85e0cea4ead9a3a939cc7671da98d044c276816f67bb1971c1148454584f"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run_interactive_mode (cognitive 26): main.run_interactive_mode has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (4 pts), loops 2 (4 pts), ternaries 2 (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":"chapter3/contextual-retrieval/main.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"937beeeff918963817be436aa9b8f39f94aa61e559150067b06f89bc2d862a27"}},{"ruleId":"D2","level":"warning","message":{"text":"Reranker.rerank (cognitive 26): Reranker.rerank has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 4 (5 pts), ternaries 1 (2 pts), boolean chains 1, 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":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5450f1d85986b76b42989293deb7b22f2f14137006125fe9bdf43f73eb28a3cc"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMemoryAgent._tool_add_memory (cognitive 26): UserMemoryAgent._tool_add_memory has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), error handling 2 (6 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ff91c19b1e47b7ef368e7ba77c2847c5598338196e7180816b11b65fdccc35"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign._trajectory (cognitive 26): campaign._trajectory has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (22 pts), ternaries 2 (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":"chapter5/log-diagnosis/campaign.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf76af5c62b0714e4a4b20936a6722dd34d32a77e871f7b754442141adf263ab"}},{"ruleId":"D2","level":"warning","message":{"text":"PEDOSecurityEvaluator._execute_agent_query (cognitive 26): PEDOSecurityEvaluator._execute_agent_query has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 4 (8 pts), ternaries 2 (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":"chapter5/permission-embedded-data-objects/run_live_security_eval.py"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"375033aa1a3c5c27225c2108a1fba30ed47a63f243b4a2ca9c046fac4143aaee"}},{"ruleId":"D2","level":"warning","message":{"text":"run_targeted_eval.main (cognitive 26): run_targeted_eval.main has cognitive complexity 26 (threshold 15). Drivers by points: loops 8 (19 pts), if/else 2 (6 pts), boolean chains 1 (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/run_targeted_eval.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e88f04c8e5dfc3feaa69904ce042e24999f39b261d4c9d0da2e34cc72182073"}},{"ruleId":"D2","level":"warning","message":{"text":"qwen2_streaming.parse_response (cognitive 26): qwen2_streaming.parse_response has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 3 (8 pts), boolean chains 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":"chapter6/streaming-speech/qwen2_streaming.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8ae5549cb9786fb5000e0e6639bf182106484ac8cffb9d1c981a12e6fb4500"}},{"ruleId":"D2","level":"warning","message":{"text":"run_controlled_experiment._parse_args (cognitive 26): run_controlled_experiment._parse_args has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 10, error handling 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":"chapter7/android-world/run_controlled_experiment.py"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62a19cb1f76c085129fe2ecf3560e68a12e5b228a76458b4f69689e8648f40c"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.main (cognitive 26): experiment.main has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 4 (8 pts), ternaries 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":"chapter7/model-action-threshold/experiment.py"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6c8715958025304f2f88e49434074da0af1cb9a324b939cf7528cafba50fde"}},{"ruleId":"D2","level":"warning","message":{"text":"CardBuilder.build (cognitive 26): CardBuilder.build has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 3 (4 pts), error handling 1 (2 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb069cd29c23273c2ee2c81ebb85e10ea190852892c0043808e8e2727afdcf0"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze_campaign.sesame_analysis (cognitive 26): analyze_campaign.sesame_analysis has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 4 (5 pts), boolean chains 4, 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":"chapter8/speech-sft-experiment/analyze_campaign.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b7ea3df897af5749cd298da5964dbab8d140f40228ab4afb4f365ef4290f84"}},{"ruleId":"D2","level":"warning","message":{"text":"Workflow.parameterize (cognitive 26): Workflow.parameterize has cognitive complexity 26 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 3 (11 pts), boolean chains 3 (nesting depth added 14). 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":"chapter9/browser-use-rpa/learning_agent/workflow.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3448c8c1974067ae8784ce69c9d7b3ab6e241dcaa9a1df2f930681e0d727939"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_9_5.campaign (cognitive 26): run_experiment_9_5.campaign has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 19, if/else 4, ternaries 2, loops 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":"chapter9/browser-use-rpa/run_experiment_9_5.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14e6369b7e75fccba8db4aaf3322c29e6df4feeda98f24a82018fbb35a4bb7e"}},{"ruleId":"D2","level":"warning","message":{"text":"DownstreamAblationEngine.evaluate_code_quality (cognitive 26): DownstreamAblationEngine.evaluate_code_quality has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 3, error handling 2 (3 pts), loops 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":"chapter9/hermes-self-evolution/run_downstream_ablation.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3699ea5447bf7a38fed50ae720afb16f4ef41f3843b217536bc3b6778a11d441"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze.stats (cognitive 26): analyze.stats has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 6, loops 3 (6 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":"chapter9/tau2-escalation-experience/analyze.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4484bee6c803b4ef9bd20f1d9cf8cf3dc8db7f99bdeadd23ff977e3e78349e"}},{"ruleId":"D2","level":"warning","message":{"text":"lang-switcher.init::detectLang (cognitive 26): lang-switcher.init::detectLang has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4 (6 pts), boolean chains 5, 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: 3 other methods here (lang-switcher.init::translatePath, lang-switcher.init::rewriteSidebar, lang-switcher.init::render) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"16df0a2d6eb897f1f51fcd4ae8b08ac2282f0cb8f66b1dd97d910b7f5948a630"}},{"ruleId":"D2","level":"warning","message":{"text":"fix_svg_text_layout.same_row_regions (cognitive 25): fix_svg_text_layout.same_row_regions has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 4 (14 pts), if/else 3 (7 pts), loops 3 (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":"book-vi/fix_svg_text_layout.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd80c0d81a76cbb842b1ed446b5545c38e27d0f5377df3a22a82f1b0b1f8062"}},{"ruleId":"D2","level":"warning","message":{"text":"StrategyRunner.generate_summary (cognitive 25): StrategyRunner.generate_summary has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 5 (10 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":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"684101d0b3c102bc4f980a9c526dd5a242917fb8d6187bd389d2609426ea4ce3"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.main (cognitive 25): campaign.main has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 11, loops 3 (6 pts), if/else 3, ternaries 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":"chapter3/contextual-retrieval/campaign.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a9e06f7082a0c2a64f468f8bb618b4a352befa58c301bd8947f167c8d866cb"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalPipeline._calculate_statistics (cognitive 25): RetrievalPipeline._calculate_statistics has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 3 (4 pts), boolean chains 2, 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":"chapter3/retrieval-pipeline/retrieval_pipeline.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6fd43520aaed3ce3ffc05cc22d4cfe28fc34ae8127b005fe2eeb7a36660bd8"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphRAGIndexer.multi_hop_search (cognitive 25): GraphRAGIndexer.multi_hop_search has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 3 (10 pts), if/else 4 (8 pts), loops 3 (4 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":"chapter3/structured-index/graphrag_indexer.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"b440939768e9bb26ce7ef919af8934836926af49b4c9def7b6851605e021f4e4"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridStructuredRetriever._compute_scores (cognitive 25): HybridStructuredRetriever._compute_scores has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 2, error handling 1 (2 pts), ternaries 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":"chapter3/structured-index/hybrid_retriever.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cdb61f1747f135333c399c15d3e4767c18fdb03fa366e220178abe2d23db30"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimodalTools._analyze_with_gemini_audio (cognitive 25): MultimodalTools._analyze_with_gemini_audio has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 1 (2 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. This shape REPEATS in the file: one other method here (MultimodalTools._analyze_with_gemini_pdf) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"018067a0e38ca66772c8c82626ba4ee6f8635ceb6e620cd1514319d47f19abbd"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimodalTools._analyze_with_gemini_pdf (cognitive 25): MultimodalTools._analyze_with_gemini_pdf has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 1 (2 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. This shape REPEATS in the file: one other method here (MultimodalTools._analyze_with_gemini_audio) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dd63cc251354039689d40e9256e95f148f2cf02cc7c87c72fdd3b0281891be"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_final_comprehensive.run_all (cognitive 25): benchmark_final_comprehensive.run_all has cognitive complexity 25 (threshold 15). Drivers by points: loops 11 (18 pts), if/else 4 (7 pts) (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fa6947768eceafce2784656c2a8ec919599461e0f829f6d9fd2f1c1b666e1e"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 25): demo.main has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 6 (7 pts), boolean chains 4, 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":"chapter5/video-edit/demo.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf38d2db677626b9fc25efd48d6c9894ba2df1f81af56d5aba45e99a406ea134"}},{"ruleId":"D2","level":"warning","message":{"text":"summarize.summarize (cognitive 25): summarize.summarize has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 2 (4 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":"chapter6/astra-async-steering/summarize.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"219acfbf11eb805d06ed4d5633dadc56f387e6b7a2bb36a87e034d7ac5dedca4"}},{"ruleId":"D2","level":"warning","message":{"text":"run_weather_task.main (cognitive 25): run_weather_task.main has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 4 (6 pts), ternaries 3, boolean chains 2, error handling 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":"chapter6/claude-computer-use-native/run_weather_task.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eff720d6cdc1ff408558101270080e9b33a2560592f5c3191481fa02120bfc1"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAICompatibleLlm.predict (cognitive 25): OpenAICompatibleLlm.predict has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (19 pts), boolean chains 3, error handling 1 (2 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":"chapter7/android-world/run_controlled_experiment.py"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5050848714044bb547073b8d5be2ca6ec339d2449c6064a291ff8c00a995440"}},{"ruleId":"D2","level":"warning","message":{"text":"ExperimentRunner.run_64 (cognitive 25): ExperimentRunner.run_64 has cognitive complexity 25 (threshold 15). Drivers by points: error handling 5 (13 pts), if/else 6 (9 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10aa323acc8c2a160cf29a33a1fc5a21a6a2adee4db493687d3c4d42185c646"}},{"ruleId":"D2","level":"warning","message":{"text":"MultilingualReasoningEvaluator.evaluate_cot_fidelity (cognitive 25): MultilingualReasoningEvaluator.evaluate_cot_fidelity has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 2, 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":"chapter8/MultilingualReasoning/evaluate_multilingual.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1bb1102f9881bc836b69020eb789d29ac915298f31936079bc5693c750ce2c"}},{"ruleId":"D2","level":"warning","message":{"text":"MultilingualReasoningEvaluator.evaluate_accuracy (cognitive 25): MultilingualReasoningEvaluator.evaluate_accuracy has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 4, ternaries 3, 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":"chapter8/MultilingualReasoning/evaluate_multilingual.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd255ba35a43d4d026173f825967ab3d13d5304e981daf5e657fbe01082a32f"}},{"ruleId":"D2","level":"warning","message":{"text":"calibration.calibration_report (cognitive 25): calibration.calibration_report has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 6 (12 pts), boolean chains 7, if/else 1 (3 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":"chapter9/trajectory-verifier/calibration.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a9fd2e23753a8770a601065ff9e1bdb54be0c1906bc24304bacd90c51cdaa5"}},{"ruleId":"D2","level":"warning","message":{"text":"reading-position.initReadingPosition (cognitive 25): reading-position.initReadingPosition has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 6, ternaries 5, error handling 1 (2 pts) (nesting depth added 2). Most of this is not in the body itself: 9 of the 25 points are its own statements and the rest belongs to 5 function items inside it that branch (save, restore, capture, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/reading-position.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eaa1fd40a0ed4e8ac8e49e3532bea9b62d8b12a6edc19c23a6b0b475863e41"}},{"ruleId":"D2","level":"warning","message":{"text":"validateExperimentEvidence (cognitive 25): validateExperimentEvidence has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 22, ternaries 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":"chapter6/live-audio/backend/experiment_validation.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"44840233e1e19ce1bde311e2a93f0569144954afda07a7a1057924f75a2954b9"}},{"ruleId":"D2","level":"warning","message":{"text":"demo_streaming.demo_unified_streaming (cognitive 24): demo_streaming.demo_unified_streaming has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (21 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":"chapter2/local_llm_serving/demo_streaming.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a93b18577ffe13dd30208394588a15c0ecb17de1cb5095a1faa1e15b9e8604"}},{"ruleId":"D2","level":"warning","message":{"text":"run_campaign.run_trial (cognitive 24): run_campaign.run_trial has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 5 (7 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":"chapter2/prompt-injection/run_campaign.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d29c58fbfaa8394d73806edec71eee21c40128e063aea4386cbf13d530ea925"}},{"ruleId":"D2","level":"warning","message":{"text":"AdvancedMemoryManager.get_context_string (cognitive 24): AdvancedMemoryManager.get_context_string has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (11 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":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"828d6b24f75a9d08c4fb5e83343daf19a905b10e9bad3e807a63381cf0eff7e9"}},{"ruleId":"D2","level":"warning","message":{"text":"regex_sanitizer.sanitize (cognitive 24): regex_sanitizer.sanitize has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 5 (8 pts), boolean chains 2, 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":"chapter3/log-sanitization/regex_sanitizer.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea5965b6a589ebdee015aa0e336e53db7698b24cc1608ac3759ffab91fd7405"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run_memory_op (cognitive 24): main.run_memory_op has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 4 (9 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":"chapter3/mem0/main.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"40638ccb547c111f3d5cbac81801212884c89a1365c6ff413f7a98d4b6c5668f"}},{"ruleId":"D2","level":"warning","message":{"text":"extractor._normalize (cognitive 24): extractor._normalize has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (7 pts), error handling 1 (4 pts), boolean chains 1, 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":"chapter3/structured-knowledge-extraction/extractor.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b000db82152c2e12467382cf4507793e077c09117aa9fbb74edb01446712a4e2"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractiveEvaluator.run_single_test (cognitive 24): InteractiveEvaluator.run_single_test has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 4 (7 pts), ternaries 1 (4 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":"chapter3/user-memory-evaluation/main.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63d72882adfd33d6829958493ebd49c0434f4d951ead95b54268b3e21c4d78a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent._run_loop (cognitive 24): agent._run_loop has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 2 (5 pts), boolean chains 4, 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":"chapter4/active-tool-discovery/agent.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c463986441bf522284d928fefa4855d7aca149d217403593ee50dd0f4ed208"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimodalAgent._extract_pdf_to_text (cognitive 24): MultimodalAgent._extract_pdf_to_text has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (21 pts), loops 1 (2 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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"983dcc4d229fb9e8aedfc61eae9a46e06ba6dfd54bad48e6228f1aa4f4506174"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.main (cognitive 24): campaign.main has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (7 pts), loops 3 (4 pts), error handling 1 (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":"chapter5/adaptive-log-parser/campaign.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4910fdcaa3ac394feaed94f41d58717b36697e2f5a56d75e47742c96f845ac"}},{"ruleId":"D2","level":"warning","message":{"text":"agents._slide_contract_issues (cognitive 24): agents._slide_contract_issues has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 3, 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":"chapter5/paper-to-ppt/agents.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e467b7267441cff0f1ab7cf809451add3a0fe3ef41ceb704a4aef76b299d199"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_comparisons.run_improved_harness_test (cognitive 24): benchmark_comparisons.run_improved_harness_test has cognitive complexity 24 (threshold 15). Drivers by points: error handling 5 (15 pts), if/else 2 (6 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda9f58ba840a0e4f662db9eff03656c5d45ea4f8de8c30a512229a01380a3e2"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_final_comprehensive.check_violations (cognitive 24): benchmark_final_comprehensive.check_violations has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, loops 4, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd72ee34c00a487ca0c6f3b9af430393d0b3e0086b56e8fc6749c22bece0d8ab"}},{"ruleId":"D2","level":"warning","message":{"text":"PEDOSecurityEvaluator.evaluate_scenarios (cognitive 24): PEDOSecurityEvaluator.evaluate_scenarios has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (17 pts), ternaries 5, 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":"chapter5/permission-embedded-data-objects/run_live_security_eval.py"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"630382114644e0af65092acdbe91a65c573b5a8e36bd0ff0734a50fdee06f24a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run (cognitive 24): main.run has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 4, error handling 4, ternaries 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":"chapter6/computer-use-open-model/main.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"576c9d472750bdf4df7a4e81d8c0c28591e8de49acebf996b2c5b65a9d8ac4c8"}},{"ruleId":"D2","level":"warning","message":{"text":"CostEfficiencyAnalyzer.analyze_trajectory (cognitive 24): CostEfficiencyAnalyzer.analyze_trajectory has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 2 (4 pts), ternaries 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":"chapter7/agent-cost-analysis/cost_efficiency_analyzer.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f18559e042b7e473726c34f127fe2434f76016175909b8fe8270c6bee9a2fb6"}},{"ruleId":"D2","level":"warning","message":{"text":"RepositoryHarness.execute (cognitive 24): RepositoryHarness.execute has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 2 (5 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":"chapter7/model-action-threshold/experiment.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f05414a079af0ec1706a6aa038f82f2cfdd537f838bd78e7ba489c1060c6a2"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.measure_anthropic (cognitive 24): campaign.measure_anthropic has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, loops 2, error handling 1, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1f4e591178d1c996d096996c6b4812f1bf37c46dfd2246ca5bd7442b2904e8"}},{"ruleId":"D2","level":"warning","message":{"text":"customer_service_env._derive_claims_and_promises (cognitive 24): customer_service_env._derive_claims_and_promises has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (5 pts), ternaries 1 (4 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":"chapter9/trajectory-verifier/customer_service_env.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e693ae4bbc45d78761c06be09d400f6808a150c672cebcb4ad34f908589bd949"}},{"ruleId":"D2","level":"warning","message":{"text":"lang-switcher.init::render (cognitive 24): lang-switcher.init::render has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 4 (10 pts), if/else 6 (8 pts), loops 3 (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: 3 other methods here (lang-switcher.init::detectLang, lang-switcher.init::translatePath, lang-switcher.init::rewriteSidebar) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d286523fa2b49c93796ec08cf16dad5428d3d5cf05f84ce640a3931a3773612"}},{"ruleId":"D2","level":"warning","message":{"text":"search-index-router.slugForPath (cognitive 24): search-index-router.slugForPath has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, 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":"extras/search-index-router.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"278fe5ba894ae4604b65abc14d86e5bf1f29dbd0d525619ad53ed39a2bad94b4"}},{"ruleId":"D2","level":"warning","message":{"text":"TreasureHuntGame._attack (cognitive 23): TreasureHuntGame._attack has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (21 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":"chapter1/learning-from-experience/game_environment.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb95dbcb8914474674fb4c49d699d4f216aaf5ab31d8f014eda676f64ee3dc7"}},{"ruleId":"D2","level":"warning","message":{"text":"run_campaign.run_arm (cognitive 23): run_campaign.run_arm has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2, ternaries 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":"chapter10/generative-agents/run_campaign.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4747a1c2b99530c4d8aa1aa25490c1e37049dd25381ac976195a9d0cfb314ee"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 23): demo.main has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, ternaries 3 (6 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":"chapter10/voice-werewolf/demo.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a8e94f6b17b0bc7ae7dae02390f97c68d82eb93bfdd85ef213370c3378df70"}},{"ruleId":"D2","level":"warning","message":{"text":"SimulatedVoiceSession.__init__ (cognitive 23): SimulatedVoiceSession.__init__ has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 4, 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":"chapter10/voice-werewolf/werewolf/simulator.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bac18509efe2745cccc6c43c069ae0ddc7afe536e9f6233a761af7c5d007f6"}},{"ruleId":"D2","level":"warning","message":{"text":"visualization.create_token_attention_summary (cognitive 23): visualization.create_token_attention_summary has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 4 (8 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":"chapter2/attention_visualization/visualization.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd14ce0d2e16b4a504a55c5b9ee3ef2b06f999d71e2e2e5fbd74471c212cdda9"}},{"ruleId":"D2","level":"warning","message":{"text":"demo._parse_selection (cognitive 23): demo._parse_selection has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (21 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":"chapter2/prompt-injection/demo.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"857502f0634a40e281985f0514cac1e77e8a86cda3ebaec243eb4aa360fe276d"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentStore.add_document (cognitive 23): DocumentStore.add_document 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, 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":"chapter3/retrieval-pipeline/document_store.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a752eadf71660854277e281afac22a0b1b1c769d334c086e723fe71c436a0cb0"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 23): main.main has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 1 (3 pts), ternaries 1 (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":"chapter3/user-memory-evaluation/main.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52c87aa0da47cd7168a25c21120ec52774ca8380cdc0ec19cbe7ef3b81f0eed"}},{"ruleId":"D2","level":"warning","message":{"text":"quickstart.test_tools (cognitive 23): quickstart.test_tools has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 6, loops 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":"chapter4/perception-tools/quickstart.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fb14b35865a307c7ede41e177edbdebd4d1297ecfd77f438c612f455de4e5e"}},{"ruleId":"D2","level":"warning","message":{"text":"expanded_catalog._filesystem (cognitive 23): expanded_catalog._filesystem has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 4 (8 pts), loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/expanded_catalog.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3c2d105467c43cbd2443325d837076fe309133abc209a4cb06babd0659767b"}},{"ruleId":"D2","level":"warning","message":{"text":"filesystem_tools.grep_search (cognitive 23): filesystem_tools.grep_search has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 2 (3 pts), 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":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"603ef815104a2499ee024d302df630c95904feeec752e364b8498b257cef46f7"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 23): demo.main has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 5 (8 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":"chapter5/conversational-ui/demo.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f61aa8473e99c737f09764a09d628ff9ef04ba1b17e084986aab73e567b8b3"}},{"ruleId":"D2","level":"warning","message":{"text":"seed.generate (cognitive 23): seed.generate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 7 (9 pts), boolean chains 3, 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":"chapter5/erp-agent/seed.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37f78c2f8a9f397072811b3926a97b4675c8f9f92ba10360194ac3486cea7ec"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.self_check (cognitive 23): demo.self_check has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 6, if/else 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":"chapter5/paper-to-video/demo.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba83ee05862cd448d7b629dc486c6bfae9d7f3e28a5828a24fc533f1d767499"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionRule._evaluate_condition (cognitive 23): PermissionRule._evaluate_condition has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (21 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":"chapter5/permission-embedded-data-objects/pedo/core/models.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"e687186a928f6f84dde82ba32baa5722696394b3100463e7b2acf3e5b550da53"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectStore._handle_delete_cascades (cognitive 23): ObjectStore._handle_delete_cascades has cognitive complexity 23 (threshold 15). Drivers by points: loops 5 (14 pts), if/else 3 (9 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/core/store.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08ae2ea4fabc87d416daec11f99f80ce1d491702e5876bf3d91ed67dc032776"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 23): demo.main has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 2, loops 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":"chapter5/small-model-codified-rules/demo.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"2102d6e8631e091bcdc5d83a3bf947ea983fd9a3cf5addd4cb3c20a00f7f49cc"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_audio_quality.validate_response (cognitive 23): evaluate_audio_quality.validate_response has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, 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":"chapter6/controllable-tts/evaluate_audio_quality.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"231e0816b590b5230f4454ed4de12f533aa7b3b32c72d1b14e3064b40f7c5fbe"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline.judge_gemini_audio (cognitive 23): pipeline.judge_gemini_audio has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 7, 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":"chapter7/tts-quality-eval/pipeline.py"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d002c9b1b60cb4861a20e6d04292db6e878bdfbacdadc1e22e79cc2fd8179dd"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.interaction_analysis (cognitive 23): experiment.interaction_analysis has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, loops 3, ternaries 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"2090f51b7eb1f42a60c0829de890d816e48e5c66ae0630074c15c3d1800e7a42"}},{"ruleId":"D2","level":"warning","message":{"text":"SFTDataQualityAuditor.find_duplicates (cognitive 23): SFTDataQualityAuditor.find_duplicates has cognitive complexity 23 (threshold 15). Drivers by points: loops 7 (12 pts), if/else 5 (11 pts) (nesting depth added 11). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/cot-distillation/sft_data_auditor.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6a559cd222a322cea1e3493b17593ad731e5837b945dccc1af165d101efb41"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Home (cognitive 23): index.Home has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 20, if/else 7 (9 pts), ternaries 3 (6 pts), error handling 3 (5 pts), loops 1 (nesting depth added 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. This shape REPEATS in the file: one other method here (index.Home::loadTrajectories) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfeb087b84ccb6f499773f219e9677d5ba810cd8c9065a2effcdabd5abb9b5cd"}},{"ruleId":"D2","level":"warning","message":{"text":"fix_svg_text_layout.apply_figure_overrides (cognitive 22): fix_svg_text_layout.apply_figure_overrides has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (14 pts), boolean chains 3, ternaries 1 (3 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":"book-vi/fix_svg_text_layout.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c87ee4ee4e12dc15d69a6cf98077a3517226216d331aa6dfcdf122d861d2ab0"}},{"ruleId":"D2","level":"warning","message":{"text":"calc_sandbox._check (cognitive 22): calc_sandbox._check has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 5 (10 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":"chapter1/context/calc_sandbox.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"602e64f393872a6c760363af827195d4ecef4794ab54ff5c9f2abd81e617940b"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistrationBrowser.fill (cognitive 22): RegistrationBrowser.fill has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), error handling 3 (4 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":"chapter10/autonomous-phone-registration/browser.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d242e71213d79ed282247f1e2759c8ca4cabdd19db4af971fa9b8acd106eb5d"}},{"ruleId":"D2","level":"warning","message":{"text":"decision.decide_orchestration (cognitive 22): decision.decide_orchestration has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, loops 3 (5 pts), error handling 1 (2 pts), ternaries 2 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/autonomous-phone-registration/decision.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6889a5e6e626fca8b0419e411c0578554ad7dffab3ccef1c6d6063782863592e"}},{"ruleId":"D2","level":"warning","message":{"text":"BilingualConsistencyAuditor._audit_terminology (cognitive 22): BilingualConsistencyAuditor._audit_terminology has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/book-translation/consistency_auditor.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad650ba070837141ea4d65fde50cdbfa4670c580dbc09278ee045237ddb8494"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluation.evaluate_task (cognitive 22): evaluation.evaluate_task has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 17, if/else 5. 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":"chapter10/multi-role-transfer/evaluation.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"72777c630b425801c1991e62ae841bfa61a7140e1fa1ec38eea42fe0dc743353"}},{"ruleId":"D2","level":"warning","message":{"text":"run_comparison._aggregate (cognitive 22): run_comparison._aggregate has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 8 (16 pts), if/else 2 (4 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":"chapter10/multi-role-transfer/run_comparison.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8b769f5b8bd687101e7cefb33d873972c3b5517543a022d752ca43f85cc9e5"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_campaign.main (cognitive 22): validate_campaign.main has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, if/else 8 (9 pts), ternaries 3, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/talkact-reproduction/validate_campaign.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"31972b4ac2beb7a3d259640d635acc65491a2fbeb15d3431dec118998f4b1fa6"}},{"ruleId":"D2","level":"warning","message":{"text":"main.print_result (cognitive 22): main.print_result has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 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":"chapter2/system-hint/main.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac4f5d97c562e17641140f04ecd7a0bd1a9cfa286e250726856c82fc995f7aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextualMemoryIndexer.search_with_context (cognitive 22): ContextualMemoryIndexer.search_with_context has cognitive complexity 22 (threshold 15). Drivers by points: loops 6 (11 pts), if/else 5 (8 pts), boolean chains 2, error handling 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcde864e4fabc77ce23a7886aaffc539da5e9c74f7f6fb3f85386ce944d6872b"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryIndexer.search (cognitive 22): MemoryIndexer.search has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 7, error handling 1, 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":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec91e9e3229d2eef23393d7ba92ede20fec67eb6d73bbd3f7fc16ab434316ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.build_sample (cognitive 22): campaign.build_sample has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, loops 3 (4 pts), ternaries 1 (3 pts), 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":"chapter3/structured-knowledge-extraction/campaign.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b202d3e936e326f7b796bea7f24f805cb952b920a643eab0503d7cfcb1add31a"}},{"ruleId":"D2","level":"warning","message":{"text":"main.print_result (cognitive 22): main.print_result has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 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":"chapter3/user-memory/main.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3a1342fd8a2763d33ba551562a89372defb829618484c500e4b4f8b3d4ee01"}},{"ruleId":"D2","level":"warning","message":{"text":"NotesMemoryManager.update_memory (cognitive 22): NotesMemoryManager.update_memory has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (13 pts), ternaries 2 (8 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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37a52a49680dd9ae5428d8e53aeafbd61cabc976f8a4a216c150ba005b8b9c6"}},{"ruleId":"D2","level":"warning","message":{"text":"timer_tools._load_timers (cognitive 22): timer_tools._load_timers has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 1 (3 pts), boolean chains 1, 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":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ea127e3934bceba641d66568e1a5e224fdd9bd18aad79e1aba2759bc87539f"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_4_2.derive_acceptance (cognitive 22): run_experiment_4_2.derive_acceptance has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 8, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/run_experiment_4_2.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"562a16462992e3962f014209a5f25340a0a9b20f3d99b7979a76420dcf07cf9e"}},{"ruleId":"D2","level":"warning","message":{"text":"yahoo_finance_tools.get_financial_statements (cognitive 22): yahoo_finance_tools.get_financial_statements has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (6 pts), error handling 2 (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":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21ddb6427070af20478299443daa788b18d6e76741bdca259fe1d66a3cd110f"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 22): demo.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 4 (5 pts), loops 2 (3 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":"chapter5/adaptive-log-parser/demo.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2eb17ecf73d930cc6cb07206483947d7e5e2ab8ac51eafcb09e0fded476c7bf"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_safety_final.check_db_violations (cognitive 22): benchmark_safety_final.check_db_violations has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (6 pts), loops 4, boolean chains 2, 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd6eb24e05e36ee6dc897da99ddc0a9c375b5ce5422f65bbe50d9ad084068f5"}},{"ruleId":"D2","level":"warning","message":{"text":"harness.check_hiring_violations (cognitive 22): harness.check_hiring_violations has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 3 (6 pts), loops 4, boolean chains 2, 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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"265d174716be45ed7faf60ee4ee14550703ab3cb9f6b4e26ede485c1caba213a"}},{"ruleId":"D2","level":"warning","message":{"text":"summarize.continuation_summary (cognitive 22): summarize.continuation_summary has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, loops 3, 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":"chapter5/provider-failover/summarize.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4308be91ed0296f22535063e13f2492b76f0337ad90a1e9c8ec68a118e10bdf9"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_weather_run.main (cognitive 22): validate_weather_run.main has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 14, if/else 5 (6 pts), loops 1, ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/claude-computer-use-native/validate_weather_run.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf16066d454bb245b68994232bb0082ccb06c5a1d80daf86ae1bb281cbf8bfb"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline.main (cognitive 22): pipeline.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 4 (6 pts), boolean chains 3, error handling 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":"chapter6/rgb-sim2real-grasping/pipeline.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8384d7c44b8cd7e9a71109fe20c8941bd2b18dba50998d053e93faabb8da73e"}},{"ruleId":"D2","level":"warning","message":{"text":"run_controlled_experiment._validate_resume_evidence (cognitive 22): run_controlled_experiment._validate_resume_evidence has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 2 (5 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":"chapter7/android-world/run_controlled_experiment.py"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"b407b7fa2955e0bde60ceb7ba673824553655f2805ecfa22130126caa985a661"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_evidence.main (cognitive 22): validate_evidence.main has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (18 pts), 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":"chapter7/elo-leaderboard/validation/validate_evidence.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c3cc4fd1db450c9df0ac73fde4010a94452e00beb30c3310327952c8efc7ac"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.selected_pricing_manifest (cognitive 22): experiment.selected_pricing_manifest has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (13 pts), loops 4, error handling 1 (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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b16737e1234eaa682c7f0f7351955f6282320234a568ebf32053b1ad847b154"}},{"ruleId":"D2","level":"warning","message":{"text":"create_data.parse_final_answer (cognitive 22): create_data.parse_final_answer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/prompt-distillation/create_data.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"594d060b2813b5e48d0956c2bc4c6329039d1c19b9ef7464049ce3591bbddd9b"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate.evaluate_rules (cognitive 22): evaluate.evaluate_rules has cognitive complexity 22 (threshold 15). Drivers by points: loops 5 (8 pts), if/else 3 (7 pts), ternaries 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":"chapter9/ai-style-skill/evaluate.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a35ca8455360886ddbdb51a83be0c6e8e2d52f2ed6a1d8b669a4abc18d708b"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionHandler.isCompleteSentence (cognitive 22): ConnectionHandler.isCompleteSentence has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (17 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":"chapter6/live-audio/backend/server.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a104a5f15530118907719a0a792c36ec8182420fc473be71374e8d590abc58"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_1_2.validate (cognitive 21): run_experiment_1_2.validate has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 17, if/else 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":"chapter1/web-search-agent/run_experiment_1_2.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c5f013159e6f07c5cc1e6fe0959ad0c97721031c434faa7b76f6474b15003f"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.get_client (cognitive 21): agents.get_client has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/book-translation/agents.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa41e941f6625ea9912b3d205bec27ae22cb1eb961b88146bba6a61de45d50ab"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillOrchestrator._handle_tool (cognitive 21): SkillOrchestrator._handle_tool has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 5, 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":"chapter10/multi-role-transfer/skill_orchestrator.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e6e8cb08a66e22171fefb018682a5b482903e2362a0bdee6186e4b73c08d58"}},{"ruleId":"D2","level":"warning","message":{"text":"StagedAgent._run_one_model_turn (cognitive 21): StagedAgent._run_one_model_turn has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3, error handling 2 (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":"chapter10/staged-system-prompt/agent.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dca789eab35cb13ee176842a8dbba841eb5ba53f2e1404e8dd8aadabf77f69"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.execute_tool (cognitive 21): Agent.execute_tool has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 2 (6 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/prompt-injection/agent.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad2e7e4befdafecd3211557b1f0afc03087b9e6189cbd88c661f9ad99138dd5"}},{"ruleId":"D2","level":"warning","message":{"text":"SystemHintAgent._tool_read_file (cognitive 21): SystemHintAgent._tool_read_file has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (14 pts), error handling 3, boolean chains 2, 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":"chapter2/system-hint/agent.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bde0944aeca8a8c11df8275378ddf730fb84fcd5931eafefa994ed6febd15d"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_2_8.component_scores (cognitive 21): run_experiment_2_8.component_scores has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 12, if/else 7 (8 pts), ternaries 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/run_experiment_2_8.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23a33b9ce24fb6a1bad04c1135c552efedfe2e1b7e90667f2c5b09cfee59f46"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 21): main.main has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 2 (4 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":"chapter3/agentic-rag/main.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3514c616ad0169b496763d19658e2355f6351f388e2abbf1a7627e74ce6fe44e"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextualMemoryEvaluator.generate_report (cognitive 21): ContextualMemoryEvaluator.generate_report has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (4 pts), loops 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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe52ed6bc85b7596d6d6ec023e25832cf0f715f3216d95513eb990f70567a029"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.normalize_schema (cognitive 21): campaign.normalize_schema has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, ternaries 2 (6 pts), 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":"chapter3/structured-knowledge-extraction/campaign.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1d7bd5ae56390e9aa1107625d22102c95bd0b15b5522eadb9ba545c11d4d23"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractiveEvaluator._display_result (cognitive 21): InteractiveEvaluator._display_result has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 4, 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":"chapter3/user-memory-evaluation/main.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4f43119f006a465d2eaac3b6ad92f77a811fd11468c64c753bf10e31877844"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundMemoryProcessor.process_recent_conversations (cognitive 21): BackgroundMemoryProcessor.process_recent_conversations has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 3, loops 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":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"784a8bc3541d308b9029579638257b6795ae845f7807dd52b939baff0476c2a5"}},{"ruleId":"D2","level":"warning","message":{"text":"run_exact_experiment.substantive_payload (cognitive 21): run_exact_experiment.substantive_payload has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 9 (10 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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf15d6cfeeb430c1c6b306c64518bcc59e1cc8a3116db9cbb6cc25c2f4fa493"}},{"ruleId":"D2","level":"warning","message":{"text":"run_exact_experiment.run_group (cognitive 21): run_exact_experiment.run_group has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c3f05e099d340da6d9f5f36151df96042b2a378280cd895e671f35bc41a87e"}},{"ruleId":"D2","level":"warning","message":{"text":"example_complex_task.run_complex_task (cognitive 21): example_complex_task.run_complex_task has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (20 pts), loops 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":"chapter5/coding-agent/example_complex_task.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6db53f39c92e740cdc707c9dccbdf7ce1325d5947a2a1a78444549e2bfb2a5"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 21): demo.main has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, boolean chains 3, loops 2 (3 pts), ternaries 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":"chapter5/dynamic-form/demo.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"055d25918b1828b91d19557f2a0fa2784afe8f12f68bbf18ac7d9abcf5b8355c"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 21): demo.main has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 5, ternaries 3, loops 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":"chapter5/paper-to-video/demo.py"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c3fe5341d047addf31c6b4d2136616da509d46793ac85a77bea93d23043d2a"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.run (cognitive 21): campaign.run has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (9 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/video-edit/campaign.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d6b7b9a7337241c43224751399b07dea35101b3dd950d8ca746b047fb7fca9"}},{"ruleId":"D2","level":"warning","message":{"text":"unipile_mailbox_experiment.run (cognitive 21): unipile_mailbox_experiment.run has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (9 pts), boolean chains 6, if/else 4 (5 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":"chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc89e308d13e0f8d66e45ad3e6b3e0191bb34c9799ef39a8feb9473c7200f17"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_evidence.validate (cognitive 21): validate_evidence.validate has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 1 (5 pts), boolean chains 3, 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":"chapter6/gemini-xlerobot-navigation/validate_evidence.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"90eb890fa9a8a46c8428cf0a089699bb02da2b5de1b1983fbbab435d4fdef3ed"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 21): main.main has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (12 pts), loops 2 (4 pts), ternaries 1 (3 pts), 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":"chapter7/elo-leaderboard/main.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc93b78aace314a2d5d8faa017e072d1938af431c97d44cc257e58985164e43"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.run_cell (cognitive 21): experiment.run_cell has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, error handling 2 (5 pts), 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":"chapter7/model-action-threshold/experiment.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf19afebb266cc50908493378bb0dd8dcd13f7a0db9407f167a4925b586ddd8"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.failure_boundary_analysis (cognitive 21): experiment.failure_boundary_analysis has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (5 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d55ba671a564ee847ac4b3cb0cbeff8a376648b158133665c2ff2e91adb29e"}},{"ruleId":"D2","level":"warning","message":{"text":"run_report_audit.validate_judgment (cognitive 21): run_report_audit.validate_judgment has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 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":"chapter8/continued-pretraining/validation/run_report_audit.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"85bce656efd524d3e74fbe49dc96e89451ac2c22c8957e771d456c5e76431521"}},{"ruleId":"D2","level":"warning","message":{"text":"quality_audit.check_row (cognitive 21): quality_audit.check_row has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 1 (3 pts), ternaries 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":"chapter8/curly-quote-sft/quality_audit.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51899664abe28c6384a95eab3ec00dd1cb305ce2524cd4dfc0a2d1c715eef44"}},{"ruleId":"D2","level":"warning","message":{"text":"compare.compare (cognitive 21): compare.compare has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (8 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":"chapter8/prompt-distillation/compare.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"74eaf10cf1d85e8b4fcba2c2b68d864a563bdde9d589b78a4c40f9a3bef00418"}},{"ruleId":"D2","level":"warning","message":{"text":"fix_svg_text_layout.css_font_sizes (cognitive 20): fix_svg_text_layout.css_font_sizes has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), loops 3 (6 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":"book-vi/fix_svg_text_layout.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0212f62059f08c5af3ef77919c96aee23637514fc18b100d829d0b127dabe5"}},{"ruleId":"D2","level":"warning","message":{"text":"fix_svg_text_layout.validate_file (cognitive 20): fix_svg_text_layout.validate_file has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 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":"book-vi/fix_svg_text_layout.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"60088c61795d74c3a813b7160189d40e2936fa4084fa2b1ca8cca4ec194129a0"}},{"ruleId":"D2","level":"warning","message":{"text":"AblationTestSuite.analyze_results (cognitive 20): AblationTestSuite.analyze_results has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 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":"chapter1/context/main.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc09ec95827083e7ef596122d135b131d8c2a1d6a94f05e28e185209361cb016"}},{"ruleId":"D2","level":"warning","message":{"text":"ExperimentRunner.compare_learning_curves (cognitive 20): ExperimentRunner.compare_learning_curves has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 5 (6 pts), ternaries 3 (4 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":"chapter1/learning-from-experience/experiment.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e4c88c6f106aecd12e51a20f8274cad32304d367a8c309c5a5eae82975d7fd"}},{"ruleId":"D2","level":"warning","message":{"text":"GPT5NativeAgent.process_request (cognitive 20): GPT5NativeAgent.process_request has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, ternaries 4 (8 pts), if/else 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":"chapter1/search-codegen/agent.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f03ff1b0ddd916391dfd08077fbb85672f0c02ed76076995efcc3aa3df273a"}},{"ruleId":"D2","level":"warning","message":{"text":"ComputerAgent.run (cognitive 20): ComputerAgent.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (11 pts), error handling 2 (6 pts), loops 2, 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":"chapter10/autonomous-phone-registration/orchestration.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d9a028943c4bbb71d02e6df57f7ed7785fc29f4985fd83821e41d582251fe9"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluation._custom_task_score (cognitive 20): evaluation._custom_task_score has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/multi-role-transfer/evaluation.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05fadfe1a0acf6cc5a198fad860713d73ffc48d4a09180000507bbfc33db7fb"}},{"ruleId":"D2","level":"warning","message":{"text":"Judge._witch_act (cognitive 20): Judge._witch_act 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":"chapter10/voice-werewolf/werewolf/game.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bed8521dc6d6f70baeb330c1110f554a8771050e10c1358d245bbe535d576f9"}},{"ruleId":"D2","level":"warning","message":{"text":"Judge.day (cognitive 20): Judge.day has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 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":"chapter10/voice-werewolf/werewolf/game.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c150cec61e7fb19c9ff5ce4c70002b9cd931a53f201aa68503c0d2559615c3"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalFileTools.find (cognitive 20): LocalFileTools.find has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), loops 2 (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":"chapter2/kv-cache/agent.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"063afd6fe75bbe8d3733a91e7959ffc3fec5e8312191fde9273705b7782cc2fa"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.run_matrix (cognitive 20): demo.run_matrix has cognitive complexity 20 (threshold 15). Drivers by points: if/else 2 (8 pts), loops 3 (6 pts), ternaries 2 (6 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":"chapter2/prompt-injection/demo.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"066e549064f7ce72e73afce36af9e2a49243f3f8b38cebb26ec9ae21a37092c1"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_2_8.summarize (cognitive 20): run_experiment_2_8.summarize has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (8 pts), loops 2, ternaries 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":"chapter2/system-hint/run_experiment_2_8.py"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9987c2316b886e4084b7d9828a458422ca95a4a4666e276fa4e595a65a5ad4c"}},{"ruleId":"D2","level":"warning","message":{"text":"view_trajectory.view_trajectory (cognitive 20): view_trajectory.view_trajectory has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 4 (7 pts), error handling 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":"chapter2/system-hint/view_trajectory.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfe5eac3617075513c22b08cdbf5162d8793acdbd65cd586c4a3cb65f065983"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractiveContextualRAG.manage_memory_cards (cognitive 20): InteractiveContextualRAG.manage_memory_cards has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (14 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":"chapter3/contextual-retrieval-for-user-memory/main.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e0003bad67fa9bcb025880e85e2cb69fa2cabdc12df00db13973504e0e82f6"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 20): main.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), error handling 1 (3 pts), ternaries 1 (3 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/main.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8393180883d2175d6e06b0d5c2dacfab68deedaf03629a49b57366b7d96b203"}},{"ruleId":"D2","level":"warning","message":{"text":"memory_rag_campaign.fixed_window_chunks (cognitive 20): memory_rag_campaign.fixed_window_chunks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 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":"chapter3/memory_rag_campaign.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"f25dd1109792351f75d8c3815228d609d7f22d5196d12da3d9059d2d640ffe3d"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionTools.code_interpreter (cognitive 20): ExecutionTools.code_interpreter has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (15 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":"chapter4/execution-tools/execution_tools.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3da44ca17318ed081bdd0d400727bc2b54efdec2ac3c337576b128722ba4ce2"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecutionTools.virtual_terminal (cognitive 20): ExecutionTools.virtual_terminal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 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":"chapter4/execution-tools/execution_tools.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e5d73313baeac834de2a66e752f44a3725394ea30914b11969dd6f52a9c677"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.main (cognitive 20): campaign.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, loops 4 (5 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":"chapter4/multimodal-agent/campaign.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"99756779be8541879fa9e22ea5d09f77c649978b96a06aaafdca13d345a46917"}},{"ruleId":"D2","level":"warning","message":{"text":"validator._protocol_is_valid (cognitive 20): validator._protocol_is_valid has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 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":"chapter5/agent-creator/validator.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"022d5853b3f5de4c3daea88a6840bb9c3b596efd432658f976af63557538ca7b"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_manifest.validate_manifest (cognitive 20): validate_manifest.validate_manifest has cognitive complexity 20 (threshold 15). Drivers by points: loops 10 (17 pts), if/else 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/cad-vs-diffusion/validate_manifest.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9771f3b9160ea1cc963dd082cdb52925ba9441c4ce17a72d17f626c8c8affa69"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.call_model (cognitive 20): demo.call_model has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 2 (5 pts), error handling 1 (4 pts), if/else 2 (4 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":"chapter5/code-for-logic/demo.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0cd8e17b389043a119b1c6a8c3c9031af49806fe55843114c3ee83ce610d4d"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_safety.run_safety_evaluation (cognitive 20): benchmark_safety.run_safety_evaluation has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (14 pts), error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"14443eb59e37d06727dbcf822a901a4aadd54592e08b428d776c048dda82c88a"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.run_agent (cognitive 20): agent.run_agent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, error handling 1 (4 pts), loops 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":"chapter5/small-model-codified-rules/agent.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e58969abae07bfe2912418bea707d7ae6eda363f36f9341a6f1152b99e9c5a"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskManager._run (cognitive 20): TaskManager._run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 3 (5 pts), ternaries 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/async-agent/tasks.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a3d362f85ddff40daf2ca9dcf6c6c1b2a8b5140905f0f9fdafa6d01d7b7df8"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_artifacts.main (cognitive 20): validate_artifacts.main has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 10, ternaries 4, error handling 1 (2 pts), if/else 2, loops 2 (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":"chapter6/controllable-tts/validate_artifacts.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf8a2bd6c83cbdaeda24b34fe6e2698400e5da0b3637f5a689159bab7bf4b2f"}},{"ruleId":"D2","level":"warning","message":{"text":"desktop_planner.main (cognitive 20): desktop_planner.main has cognitive complexity 20 (threshold 15). Drivers by points: loops 4 (10 pts), ternaries 2 (5 pts), boolean chains 2, error handling 2, if/else 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":"chapter6/gemini-xlerobot-navigation/desktop_planner.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"579d61b136b335e863d8f2526431ed52b864461cc33067d65b77f29c4be72824"}},{"ruleId":"D2","level":"warning","message":{"text":"runner.run (cognitive 20): runner.run has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 4 (5 pts), loops 3 (4 pts), error handling 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":"chapter7/user-memory-policy-eval/runner.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fcf9ddf01560ccc0c27fd304c4ad955b814f40c138b85269ac4a7ca508bf4f"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryAgent.rag (cognitive 20): MemoryAgent.rag has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (6 pts), ternaries 3 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"375c32d5d02a51fa7b474943ba33b4009844340be42d825d0d1fa12b597a1b41"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.validate_readiness (cognitive 20): experiment.validate_readiness has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 4, 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d1a033dc343bb9ea089a656ecf7f92cb7f8d114a3104aaa3049b0bfe5a6d1c"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate_from_cache.normalize_number (cognitive 20): evaluate_from_cache.normalize_number has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), error handling 3 (6 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":"chapter8/Intuitor/evaluate_from_cache.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"92567456154737ef420791f5ba6db1c5f4e96629125031df640d247f8034e70e"}},{"ruleId":"D2","level":"warning","message":{"text":"run_vlm_training_report_audit.validate_judgment (cognitive 20): run_vlm_training_report_audit.validate_judgment has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 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":"chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7383ad358d640bd8b51b0fc3717ff82e1ff825ddbf08b872491dcc6b71dff0"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze_data.main (cognitive 20): analyze_data.main has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (4 pts), loops 2, 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":"chapter8/cot-distillation/analyze_data.py"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"42542abd7af667d4410ada4aba62259dba740b4b69b7b107125193db5fcf1299"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_9_7.main (cognitive 20): run_experiment_9_7.main has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 4, loops 3 (4 pts), if/else 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":"chapter9/harness-safety-gate/run_experiment_9_7.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad3d39326afc1229cb14414632061aed84f3641add26b18911ffd69b0cfecb1"}},{"ruleId":"D2","level":"warning","message":{"text":"context-flow-figures.layoutContextFlow (cognitive 20): context-flow-figures.layoutContextFlow has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 4 (6 pts), boolean chains 1 (nesting depth added 5). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 55, caption, a function literal at line 140, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/context-flow-figures.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"683a11d4d97288bd397cdabf6af87689618a948e1e83b53c40f25def7331ea5f"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_1_1.evaluate_context_contract (cognitive 19): run_experiment_1_1.evaluate_context_contract has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 9 (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":"chapter1/context/run_experiment_1_1.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fb3906a53d6ab90db2c29e7fa1fbd39edf7d82a68b41179b0914feabcb44b7"}},{"ruleId":"D2","level":"warning","message":{"text":"pipeline.generate_image_gemini (cognitive 19): pipeline.generate_image_gemini has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, ternaries 1 (4 pts), loops 2 (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":"chapter1/image-gen-workflow/pipeline.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9200c1c91412ba6a7319413e6bf93542c8b9feda18796e01cd0810be4960a306"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMAgent.train (cognitive 19): LLMAgent.train has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), ternaries 2 (4 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/learning-from-experience/llm_agent.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5bc0462bfd925b9d6da963c8973efef169a2626a2d72980fa835b763621ce9"}},{"ruleId":"D2","level":"warning","message":{"text":"QLearningAgent.train (cognitive 19): QLearningAgent.train has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 3 (5 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/learning-from-experience/rl_agent.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"f91e2d064a889dbf8b0ad2cee6c7394fe0074895fd33b1c0bbad26560d270a2e"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_8_2.main (cognitive 19): run_experiment_8_2.main has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 5, ternaries 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":"chapter1/learning-from-experience/run_experiment_8_2.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5b5a032fadeaccc5924e189a7c18b9235126caa3bfed080d155292740a0c45"}},{"ruleId":"D2","level":"warning","message":{"text":"consistency.analyze (cognitive 19): consistency.analyze has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (6 pts), 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":"chapter10/book-translation/consistency.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b94a5104369d1e7622e78401f5fea851ee0231cc0b4d5648f0550b8bd2a2dd3"}},{"ruleId":"D2","level":"warning","message":{"text":"package_comparison.main (cognitive 19): package_comparison.main has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 3, ternaries 2, loops 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":"chapter10/multi-role-transfer/package_comparison.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"239639bf7abebaa9ff60c0840610362b8198999618b0c9cddcf954268c7238ea"}},{"ruleId":"D2","level":"warning","message":{"text":"llm.extract_profile (cognitive 19): llm.extract_profile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 3, ternaries 1 (3 pts), error handling 1 (2 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":"chapter10/parallel-web-research/llm.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"34460719cdcd82b2f39dc49eedc8c2c1130911fee397d90e401b544be12501c4"}},{"ruleId":"D2","level":"warning","message":{"text":"offline_demo.run_demo (cognitive 19): offline_demo.run_demo has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 6, loops 3, 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":"chapter3/agentic-rag-for-user-memory/offline_demo.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"304eb172469e3e917eacd5bfbfda7b68e5c2289262240b97dcb24d99b4dbee94"}},{"ruleId":"D2","level":"warning","message":{"text":"ComparisonRunner.generate_report (cognitive 19): ComparisonRunner.generate_report has cognitive complexity 19 (threshold 15). Drivers by points: loops 5 (7 pts), if/else 3 (6 pts), ternaries 3 (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":"chapter3/user-memory-evaluation/comparison.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"be62b9ad6f2cdb106b5f0ce4296431728234173bf19144b8eb5a56f68021ca57"}},{"ruleId":"D2","level":"warning","message":{"text":"Campaign.run_one (cognitive 19): Campaign.run_one has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/run_evaluation.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a107d945119bd4c08522977975a08e9840bfc72b003b90422f184c8c74b30dd"}},{"ruleId":"D2","level":"warning","message":{"text":"expanded_catalog._web (cognitive 19): expanded_catalog._web has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (16 pts), 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":"chapter4/perception-tools/src/expanded_catalog.py"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"af93ad1da6c25e92e8b4be66f0cee648a080f8dc22c60b66960457a5b7d41fda"}},{"ruleId":"D2","level":"warning","message":{"text":"filesystem_tools._fingerprint (cognitive 19): filesystem_tools._fingerprint has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (8 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":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3085c95c0ac310e3c8cdbc8fe1945f82c61152308f89c23ede89d656891c5809"}},{"ruleId":"D2","level":"warning","message":{"text":"filesystem_tools.copy_path (cognitive 19): filesystem_tools.copy_path has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 2, boolean chains 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":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea5fc2fe81d1ff03e4959e9c40f228f5b452ff5d89d9a9fabbf1b4d20a0e081"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCreator.repair_after_live_failure (cognitive 19): AgentCreator.repair_after_live_failure has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 6, if/else 5 (6 pts), ternaries 3 (4 pts), error handling 1 (2 pts), 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":"chapter5/agent-creator/creator.py"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cadc58fb852e9160340aa279fb8457d910fe51478beceaf1139153bcf4158f"}},{"ruleId":"D2","level":"warning","message":{"text":"creator.resolve_client (cognitive 19): creator.resolve_client has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 4 (8 pts), loops 1, ternaries 1 (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":"chapter5/agent-creator/creator.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6b8363e74883fb374d7afc515fc9ff526af3aa4714db70efb00305ba1b4819"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneratedAgent.run (cognitive 19): GeneratedAgent.run has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (5 pts), error handling 1 (3 pts), 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":"chapter5/agent-creator/reference_agent/agent.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"748e34c80772e7507757b4bdab5f8796daa564805a18dd356474bfe1f0e2ee88"}},{"ruleId":"D2","level":"warning","message":{"text":"CodingAgent._convert_to_openai_format (cognitive 19): CodingAgent._convert_to_openai_format has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 2 (5 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":"chapter5/coding-agent/agent.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"87731f770fc60040a84271f2999feec3f3b99030beb48b1e6aa4bf958fbb1428"}},{"ruleId":"D2","level":"warning","message":{"text":"LSTool._execute_impl (cognitive 19): LSTool._execute_impl has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 2 (4 pts), loops 2 (3 pts), 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":"chapter5/coding-agent/tools/ls_tool.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec4c89b2e07e97d6ca21d0f08166643cea9547d7771afecc0c3b783c44eb60d"}},{"ruleId":"D2","level":"warning","message":{"text":"oracle.run_shopping_cart_oracle (cognitive 19): oracle.run_shopping_cart_oracle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), error handling 4, loops 2 (3 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/oracle.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4d52c522f9a75482aec40aaaafdcb80536e932d814492eaa9e78a67a2d7da9"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark_comparisons.test_rls_violations (cognitive 19): benchmark_comparisons.test_rls_violations has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, error handling 7, boolean chains 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"af81d085a3db5b08d607ed77a5a7c06528de1cfcb3866e101b00ee886f7ba181"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentRuntime.run_llm_turn (cognitive 19): AgentRuntime.run_llm_turn has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (6 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (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":"chapter6/async-agent/runtime.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1b2ac08a46118cb5aa53a53a857941ac79c6f53c65f64ec755ec782b49c908"}},{"ruleId":"D2","level":"warning","message":{"text":"analysis.summarize_workloads (cognitive 19): analysis.summarize_workloads has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 6, 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":"chapter7/model-benchmark/analysis.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c482a8f0aec0479a2ef902e8a594de20101a6a9803ce5fdbe34b21965bfe098"}},{"ruleId":"D2","level":"warning","message":{"text":"generate_data.main (cognitive 19): generate_data.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, ternaries 2, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/cot-distillation/generate_data.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"18196ef7a02e9f792b78665a76f17dbac4e0f76ff969b0977babd87c4ddef094"}},{"ruleId":"D2","level":"warning","message":{"text":"SFTDataQualityAuditor.check_format (cognitive 19): SFTDataQualityAuditor.check_format has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 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":"chapter8/cot-distillation/sft_data_auditor.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5570c0d7d8e6d59b5530432e2140294c71db959e5c61a0c42c1e3e7f6dde78ae"}},{"ruleId":"D2","level":"warning","message":{"text":"train_sft_trl.train_model (cognitive 19): train_sft_trl.train_model has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2, 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, 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":"chapter8/prompt-distillation/train_sft_trl.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6b53c963653a9a011929340c0e1da092000f5d522d59506e0f2255ddcffddd"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowReplayer.replay_workflow (cognitive 19): WorkflowReplayer.replay_workflow has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (14 pts), error handling 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41f4448929bd2234463d94bb1a5b725eaeb1722a17e470269da842f229e51c9"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkflowReplayer._evaluate_predicate (cognitive 19): WorkflowReplayer._evaluate_predicate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 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":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b3a55cb9839192084c212264e3b31e8adc3f43d261a49f39d3fe712ddb22d6"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 19): demo.main has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 6, if/else 6, ternaries 4 (5 pts), loops 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":"chapter9/prompt-auto-optimization/demo.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89b6cbcd37db2ef595014b83443a77a142150b964de3d752af3964f664b1f17"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAILongitudinalAgent.observe (cognitive 19): OpenAILongitudinalAgent.observe has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, loops 1 (3 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/self-evolution-eval/agent.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e23eb08b1a7ad6741c8f6f4304f2d367ad55a8bb694ba5fe7621542ae10d3f"}},{"ruleId":"D2","level":"warning","message":{"text":"SelfEvolvingAgent._dispatch (cognitive 19): SelfEvolvingAgent._dispatch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 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":"chapter9/self-evolving-tools/agent.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14ef1b7532a65ec9dfd0cc8c41d30bab4f7b7ce9a4df615676ca5f4f0461f62"}},{"ruleId":"D2","level":"warning","message":{"text":"base_tools._parse_ddg (cognitive 19): base_tools._parse_ddg has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/self-evolving-tools/base_tools.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6945fc24ed972e0b1f244fba53fd5294b6d43891560833648d52f0a68fd98827"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze.main (cognitive 19): analyze.main has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 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":"chapter9/tau2-escalation-experience/analyze.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"069ed3b93ef188d14382215963cdec36b999772745eeda7cfc7726c5e491342d"}},{"ruleId":"D2","level":"warning","message":{"text":"TrajectoryConsistencyChecker.find_contradictions (cognitive 19): TrajectoryConsistencyChecker.find_contradictions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 3 (4 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":"chapter9/trajectory-verifier/consistency_checker.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"635b21d69876ae108bddd54d42aaf14c8caf8e200af478ce1f16c7aed09248cf"}},{"ruleId":"D2","level":"warning","message":{"text":"svg_lib._wrap_line (cognitive 18): svg_lib._wrap_line has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (6 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":"book-ar/svg_lib.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c35d51d76780c728c4f2edbbe61b54fb6f5cbbc77cd5c534582d9a97e1379a2"}},{"ruleId":"D2","level":"warning","message":{"text":"svg_lib._wrap_line (cognitive 18): svg_lib._wrap_line has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (6 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":"book-en/svg_lib.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f620ca86c3fc72c0e8f906843e4a78af5eb14bb759f7f2d99eb883373c0d72e1"}},{"ruleId":"D2","level":"warning","message":{"text":"svg_lib._wrap_line (cognitive 18): svg_lib._wrap_line has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (6 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":"book-es/svg_lib.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea227dc1938a870a82d10de07e5e35e137da18923870831c09c967665a18a6f5"}},{"ruleId":"D2","level":"warning","message":{"text":"svg_lib._wrap_line (cognitive 18): svg_lib._wrap_line has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (6 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":"book-id/svg_lib.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"68098e553a8d1c4a59c63f59c643c7471f4c4cc87c2d70cb25f0fa5d8d6c7686"}},{"ruleId":"D2","level":"warning","message":{"text":"svg_lib._wrap_line (cognitive 18): svg_lib._wrap_line has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (6 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":"book-ru/svg_lib.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"2946a684769faecde51e299a28920057644462ad5745d889b80ee5fd256296e6"}},{"ruleId":"D2","level":"warning","message":{"text":"svg_lib._wrap_line (cognitive 18): svg_lib._wrap_line has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (6 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":"book-tr/svg_lib.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a931ec547a8b105af1680feb55ba67b0b1ab8b059f45632925bd72127b744cdc"}},{"ruleId":"D2","level":"warning","message":{"text":"orchestration._extract_value (cognitive 18): orchestration._extract_value has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (2 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":"chapter10/autonomous-phone-registration/orchestration.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e36e1e007e00364552e3a7f16b141a46ccfc805c55c92fafb5c302006ea363"}},{"ruleId":"D2","level":"warning","message":{"text":"agents.llm_chat (cognitive 18): agents.llm_chat has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, error handling 1 (2 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":"chapter10/book-translation/agents.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68f5f167a23bbc02fa7370b651e22607c66dafdd069a7cdbb607f60e06cfde0"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkerAgent.run (cognitive 18): WorkerAgent.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), error handling 3 (4 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/parallel-web-research/agents.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ae009e248416595e41f2426f1dce5474cc6fca5330a5ba91f52b8acf3031c6"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_official_run.collect_tool_calls (cognitive 18): validate_official_run.collect_tool_calls has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 3 (7 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":"chapter2/agent-skills-ppt/validate_official_run.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9138692a9401864a343846458a9f658f15a947c93c15aba07553ec7492f870a4"}},{"ruleId":"D2","level":"warning","message":{"text":"StrategyRunner.run_strategy (cognitive 18): StrategyRunner.run_strategy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 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":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d33a0e4f6f69a71580fdf2de88e357fae17bb58b7d047b3f12947c5219d9f7d"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryIndexer._index_documents (cognitive 18): MemoryIndexer._index_documents has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (3 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe872131415e1f5c0bd2a27fb7cc5a19278fb4a6c8cd22d259310be9bdffc72"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractiveRAGEvaluator.view_test_cases (cognitive 18): InteractiveRAGEvaluator.view_test_cases has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 2 (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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fe9b1da0ee9dc86bbe880cd9be624644df05da653910c7969ef7a60e376e82"}},{"ruleId":"D2","level":"warning","message":{"text":"RAGEvaluator.evaluate_response (cognitive 18): RAGEvaluator.evaluate_response has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (4 pts), 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb5d1fe5f6cf175aedf7181862072da81e1ecd0b6f56727834aeef0b46971c5"}},{"ruleId":"D2","level":"warning","message":{"text":"compare_retrieval.main (cognitive 18): compare_retrieval.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 2 (3 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":"chapter3/contextual-retrieval/compare_retrieval.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"141c640bdb3cb2ba47d7367ad32241b4dfe12b2a7f3243828abf5055a5c02c1d"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractiveSession.run (cognitive 18): InteractiveSession.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 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":"chapter3/mem0/main.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9426174f17f23e7d51ff6d2a6b2c8945459be30112c3e6826ad3fefbd654d8"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run_interactive_mode (cognitive 18): main.run_interactive_mode has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (5 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":"chapter3/memobase/main.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e897b552ccb7b1e98782daaa4be386e90d6bbf5003868c1769d05bc1ae8cc6"}},{"ruleId":"D2","level":"warning","message":{"text":"api_service.build_index (cognitive 18): api_service.build_index has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (17 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":"chapter3/structured-index/api_service.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80a1c2137687495f938903f05b34fb7606341b640895388e9406b6f01a37ba3"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphRAGIndexer.hierarchical_summarization (cognitive 18): GraphRAGIndexer.hierarchical_summarization has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (6 pts), error handling 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":"chapter3/structured-index/graphrag_indexer.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"e139c2bf62ff41d0db104412275d485c2fbcdd7e2fa3cf57e7e60be8e4676769"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMemoryAgent._tool_update_memory (cognitive 18): UserMemoryAgent._tool_update_memory has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 1 (3 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":"chapter3/user-memory/agent.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2388aba7b8fcd153721c7cb39caca0c8fe821653d672feab8dc225e88558738"}},{"ruleId":"D2","level":"warning","message":{"text":"run_exact_experiment.parse_action (cognitive 18): run_exact_experiment.parse_action has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 2 (5 pts), 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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"18360a88b24325081e45f45f7acf838f76735d4b42cef86dd286586d98eb3d02"}},{"ruleId":"D2","level":"warning","message":{"text":"MultimodalAgent._answer_with_context (cognitive 18): MultimodalAgent._answer_with_context has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 1 (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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e9ebfdecc2b6ed20b88426a85435bfae62fa1991c4d9f572d91fe72c16f346"}},{"ruleId":"D2","level":"warning","message":{"text":"multimodal_tools.extract_youtube_transcript (cognitive 18): multimodal_tools.extract_youtube_transcript has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 4 (6 pts), error handling 3 (5 pts), if/else 4 (5 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":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"86073c70ac7b3062b6d33ac0c7cc38430fc73a5d2b0108ecad7f0501b8388784"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.main (cognitive 18): campaign.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 6, error handling 1 (3 pts), loops 1, 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":"chapter5/dynamic-form/campaign.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"137d5b815ff8ac689a3f769910010778691abb4b571147c4cd985d6ef358abc0"}},{"ruleId":"D2","level":"warning","message":{"text":"case_studies.banking_pedo_run (cognitive 18): case_studies.banking_pedo_run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 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":"chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6adbcbd3d02b24cf72d22a5333ef96f7b5660e5d416c9fee2a5a46c5586537"}},{"ruleId":"D2","level":"warning","message":{"text":"EventTriggeredAgent._tool_read_file (cognitive 18): EventTriggeredAgent._tool_read_file has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), error handling 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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a372154e4d946ac048f3aa5f00ffb7066d9193817b91732fab9bcfaca104c81"}},{"ruleId":"D2","level":"warning","message":{"text":"unipile_mailbox_experiment.poll_campaign_emails (cognitive 18): unipile_mailbox_experiment.poll_campaign_emails has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 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":"chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf9f97666f1c4e8f450b1ab32841cb6f3203f0d268b3251a1a7b87c9b48d2b7b"}},{"ruleId":"D2","level":"warning","message":{"text":"preflight.main (cognitive 18): preflight.main has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (8 pts), boolean chains 4, if/else 3, loops 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":"chapter6/xlerobot-teleoperation/preflight.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb59b2eaaf6df04c2043d15176beb766a0a826496a1a059c5b21ff69d7727a13"}},{"ruleId":"D2","level":"warning","message":{"text":"CostEfficiencyAnalyzer._recommendations (cognitive 18): CostEfficiencyAnalyzer._recommendations has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 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":"chapter7/agent-cost-analysis/cost_efficiency_analyzer.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"df207a2cdb6bc15a4f1f005a1d3ba67871efd510a9d307cfa46695315b2af690"}},{"ruleId":"D2","level":"warning","message":{"text":"RateRampBenchmark.calculate_backoff_curves (cognitive 18): RateRampBenchmark.calculate_backoff_curves has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (6 pts), boolean chains 5, ternaries 3 (5 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":"chapter7/model-benchmark/rate_ramp_benchmark.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ad318f9f43485f8b996a39bd41f0390a2f6d2a0b3bdb3bbf75d326123e4094"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.summarize (cognitive 18): demo.summarize has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (6 pts), loops 3 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/tts-quality-eval/demo.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5aed8b065215e8f01650f096978393111a3aa40ecd619595d4736542aeb1237"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatBackend.complete (cognitive 18): ChatBackend.complete has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, if/else 5, error handling 2 (3 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f18f8747819f74968805abc5ff36a97e3ad344fff4eca140d6bc1436a48dde1"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.reprice_legacy_64_records (cognitive 18): experiment.reprice_legacy_64_records has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"3438be68df6cdca72371d10233a187fc25d3aec9016035c9df010132bf662b2a"}},{"ruleId":"D2","level":"warning","message":{"text":"run_training_report_audit.validate_judgment (cognitive 18): run_training_report_audit.validate_judgment has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4c5a5d9eca76f12b9db738e54c3b6c1b953a245349b375618530b0aa55ef61"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_vlm_evidence.verify_records (cognitive 18): validate_vlm_evidence.verify_records has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 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":"chapter8/MiniMind-pretrain/validation/validate_vlm_evidence.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6606642e4ad54cc0f4df02f97ce68db76c47e2370552ffe541e3b63c66eb9d31"}},{"ruleId":"D2","level":"warning","message":{"text":"MultilingualReasoningEvaluator.compute_token_usage (cognitive 18): MultilingualReasoningEvaluator.compute_token_usage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (8 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":"chapter8/MultilingualReasoning/evaluate_multilingual.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a3e33e658b1a6a98e9ee86bad79e2a6151e241f679c8858d37d75086a47774"}},{"ruleId":"D2","level":"warning","message":{"text":"MultilingualReasoningEvaluator.evaluate (cognitive 18): MultilingualReasoningEvaluator.evaluate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (7 pts), boolean chains 4, loops 4, error handling 1 (2 pts), ternaries 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":"chapter8/MultilingualReasoning/evaluate_multilingual.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb21f3bcf61a64f1f98eea6ad5a8aeffa9607e9734efd53b738b1205d7b400d"}},{"ruleId":"D2","level":"warning","message":{"text":"analyze_campaign.orpheus_analysis (cognitive 18): analyze_campaign.orpheus_analysis has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (5 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":"chapter8/speech-sft-experiment/analyze_campaign.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df1eb755d99f44910cdb1a93d35596728de91720aec366913a711e855658a38"}},{"ruleId":"D2","level":"warning","message":{"text":"evolution.diagnose (cognitive 18): evolution.diagnose has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 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":"chapter9/harness-safety-gate/evolution.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"344e7c76194b45af58fcc3301321b39b47f2cd4755f22e1993748ebe7e5ff498"}},{"ruleId":"D2","level":"warning","message":{"text":"coding_agent.optimize_prompt (cognitive 18): coding_agent.optimize_prompt has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (2 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":"chapter9/prompt-auto-optimization/coding_agent.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f591e9d0f14625829d500e2f1da868129909774de1f0db0793898c32ee3558b"}},{"ruleId":"D2","level":"warning","message":{"text":"index.Home::loadTrajectories (cognitive 18): index.Home::loadTrajectories has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), error handling 3 (5 pts), ternaries 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. This shape REPEATS in the file: one other method here (index.Home) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a833e8880ecebf34e8c58abd2f31b84feb981712d1dc6122b5e39d585be6d2b"}},{"ruleId":"D2","level":"warning","message":{"text":"VoiceActivityDetector.processAudioChunk (cognitive 18): VoiceActivityDetector.processAudioChunk has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), 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":"chapter6/live-audio/backend/utils/vad.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"09280984ccd5985e1e2ad20289c186e5af2da4951421b7da8aa96475a6a5c22d"}},{"ruleId":"D2","level":"warning","message":{"text":"evolution-flow-figures.layoutEvolutionDeployment (cognitive 18): evolution-flow-figures.layoutEvolutionDeployment has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 2, ternaries 1 (nesting depth added 3). None of this is in the body itself: all 18 points belong to 2 function literals inside it that branch (lines 337, 429). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/evolution-flow-figures.mjs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6163dce01b58786994dcb3ee3764a77bd1c058be5e54d660ba9bff309640bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run_ablation_study (cognitive 17): main.run_ablation_study has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (3 pts), boolean chains 2, error handling 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":"chapter1/context/main.py"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e537f7eeba99a8c696a636ffa0bed7b3cd7b076a5356897f53188c402e1e99"}},{"ruleId":"D2","level":"warning","message":{"text":"finalize_experiment_8_2.main (cognitive 17): finalize_experiment_8_2.main has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, ternaries 6, if/else 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":"chapter1/learning-from-experience/finalize_experiment_8_2.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1dfa7a61a373fcfcc9d8f12c742f7f6c9054ead55cdc88bc37e1de5def9daa"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMAgent._build_context (cognitive 17): LLMAgent._build_context has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 3 (8 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":"chapter1/learning-from-experience/llm_agent.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b26a2e9c8bd53b906c993b92d0edf952a6a9c0dcad18ae2e5a1a549842d472"}},{"ruleId":"D2","level":"warning","message":{"text":"consistency.check_adherence (cognitive 17): consistency.check_adherence has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/book-translation/consistency.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f2fe9f87354acd56c0d318bc73318578ef184f68443552a49562ced88b6ec3"}},{"ruleId":"D2","level":"warning","message":{"text":"ReceiptRecorder.record (cognitive 17): ReceiptRecorder.record has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 2, if/else 2, loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/generative-agents/provider_adapter.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3004b79a33ddfe862559df61a203bc75ce332f4a7237cca39d2faf356cad7639"}},{"ruleId":"D2","level":"warning","message":{"text":"Coordinator.run (cognitive 17): Coordinator.run has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3, boolean chains 2, error handling 1 (2 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":"chapter10/parallel-web-research/agents.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b59f42519dc151a0e1386d2e0f7a49d62e0398ad2e79a08fb55de023e8de4a"}},{"ruleId":"D2","level":"warning","message":{"text":"run_official_experiment.validate_manifest (cognitive 17): run_official_experiment.validate_manifest has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (5 pts), loops 1 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/staged-system-prompt/run_official_experiment.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dfb2760bc436eaf81ee99f7a096cebbcc96574ca0ca39050ccaf2cc794f0c8"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark.stream_once (cognitive 17): benchmark.stream_once has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 1 (3 pts), ternaries 2, boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/benchmark.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78b77ef4b2d5b96de85771d232d115c33578b503f5cddbe295617651a10896e"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextualLegalIndexer.process_all_documents (cognitive 17): ContextualLegalIndexer.process_all_documents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 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":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"3928d3f8af3030392f48150e30c73f1ec5a8ecf3174eec5c6dab5b12b1f17abf"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 17): main.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (14 pts), ternaries 1 (2 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":"chapter3/contextual-retrieval/main.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d667575f6b1c8557a27a1c7df7773edf0b3c4430be171cdc1a3ae641c773b747"}},{"ruleId":"D2","level":"warning","message":{"text":"api_service.query_index (cognitive 17): api_service.query_index has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (6 pts), error handling 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":"chapter3/structured-index/api_service.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03e142d9ed4490d7f3185171055877034822019cc6aff04d662612d2712bfeb"}},{"ruleId":"D2","level":"warning","message":{"text":"HybridStructuredRetriever.retrieve (cognitive 17): HybridStructuredRetriever.retrieve has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 3, loops 3, error handling 1 (2 pts), 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":"chapter3/structured-index/hybrid_retriever.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06165512603096bc652a7be5e7500f3a9220a67fc8546215ed9ca830f06d960"}},{"ruleId":"D2","level":"warning","message":{"text":"archetypes.vectorize (cognitive 17): archetypes.vectorize has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 2 (3 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":"chapter3/structured-knowledge-extraction/archetypes.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d73d4487790d420fbe1f50c692ffd4f534c5a98bb5f8db4110ca0034653046"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.vectorize (cognitive 17): campaign.vectorize has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 4 (12 pts), if/else 2 (3 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":"chapter3/structured-knowledge-extraction/campaign.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"546daa328c178efffed06ce21ff0f65a80ae6f4eb2ae586e1878eb1862735684"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundMemoryProcessor._background_processing_loop (cognitive 17): BackgroundMemoryProcessor._background_processing_loop has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 1 (2 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":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ac0fbaec765e5d1cc4aa7c31808b4b7f104f6d638ad20929698c92e0daecfa"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.cmd_list (cognitive 17): cli.cmd_list has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 2 (4 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":"chapter4/perception-tools/cli.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0de1254f6f271f79c374eb4e44dcefcb0bff01cf734f075a73967793355d65"}},{"ruleId":"D2","level":"warning","message":{"text":"multimodal_tools.read_document (cognitive 17): multimodal_tools.read_document has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (7 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":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d35772f179a1b5cb77f3ca2b5da55643f79be8571265ec6cc3b491c7656f1cd"}},{"ruleId":"D2","level":"warning","message":{"text":"PubChemClient.make_request (cognitive 17): PubChemClient.make_request has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (5 pts), boolean chains 2, 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":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c3c5d612ee6f4e59775295d078a5c4bd42e8e47a17f793228401009adcf1fe"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCreator._validate_template_spec (cognitive 17): AgentCreator._validate_template_spec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 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":"chapter5/agent-creator/creator.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dca28dc1c33dc7f84be62669c017946b1e50c32c2ec6babd8ef4ee35a71aec4"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCreator._stats_from_calls (cognitive 17): AgentCreator._stats_from_calls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, 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":"chapter5/agent-creator/creator.py"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0a5196dfe4fd1740f695eca2cf4a14a567a08f88bbf4d87fc94f2a06d10c19"}},{"ruleId":"D2","level":"warning","message":{"text":"KillBashTool._execute_impl (cognitive 17): KillBashTool._execute_impl has cognitive complexity 17 (threshold 15). Drivers by points: error handling 3 (9 pts), if/else 4 (7 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":"chapter5/coding-agent/tools/kill_bash_tool.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a2c9a53254510ce8bb8527ea9971f852a7f8b7c32c1ddc286e9b913748f9a2"}},{"ruleId":"D2","level":"warning","message":{"text":"main._llm_reply (cognitive 17): main._llm_reply has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (5 pts), ternaries 2 (4 pts), 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":"chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"987b0140c23e4697456680ef946502a8f839b784de20c307584ec4d555428165"}},{"ruleId":"D2","level":"warning","message":{"text":"main._llm_reply (cognitive 17): main._llm_reply has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (5 pts), ternaries 2 (4 pts), 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":"chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3267b4d25155fc1a0b04295cdd0839156b5e08bf00c0948d615771b6336d6f2"}},{"ruleId":"D2","level":"warning","message":{"text":"main._llm_reply (cognitive 17): main._llm_reply has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (5 pts), ternaries 2 (4 pts), 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":"chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f291acb21400af21e3b1ac09974f6d6724c1c68e7606415d9a0febb07d523a53"}},{"ruleId":"D2","level":"warning","message":{"text":"demo._render_field_html (cognitive 17): demo._render_field_html has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 6 (11 pts), loops 2 (4 pts), if/else 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":"chapter5/dynamic-form/demo.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc26fa43352c40ccc980cdefcd3169cc04e7f014553cb04f688b777e6fb81139"}},{"ruleId":"D2","level":"warning","message":{"text":"demo._replay_and_issues (cognitive 17): demo._replay_and_issues has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), boolean chains 2, 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":"chapter5/log-diagnosis/demo.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eeea869ba9ea0ee2e522bce3aca851f9a9fab8684f814cd8234b7ba157c4561"}},{"ruleId":"D2","level":"warning","message":{"text":"sut.run_task (cognitive 17): sut.run_task has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, loops 1 (3 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":"chapter5/log-diagnosis/sut.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4164427de5b5952f18f7e49aedc4582ccef52936810c9b303499e62daf63fa98"}},{"ruleId":"D2","level":"warning","message":{"text":"oracle.run_secret_storage_oracle (cognitive 17): oracle.run_secret_storage_oracle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 6, boolean chains 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":"chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/oracle.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9db2666ebeef0e3904756c4e574f061b8333c3a60c36c411b4fd140b1abb165"}},{"ruleId":"D2","level":"warning","message":{"text":"BenchmarkResults.coverage_by_cwe (cognitive 17): BenchmarkResults.coverage_by_cwe has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/metrics.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b45c1bc99056253d2f6ae7f35f5396d7d4ee9bc06d32f0f082aafe8f64ec4f"}},{"ruleId":"D2","level":"warning","message":{"text":"renderers._gemini_parts (cognitive 17): renderers._gemini_parts has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (7 pts), loops 2 (3 pts) (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/provider-failover/renderers.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f418dce6c6f55dbe724a8b66b7a4a93a02c4c9d2456401f7f5528c4726f762f9"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign._render_model_script (cognitive 17): campaign._render_model_script has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (4 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":"chapter5/video-edit/campaign.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"319868f27499948b4418256b8e38a85c563030660a6f443e709504b1aaaac270"}},{"ruleId":"D2","level":"warning","message":{"text":"video_editor._apply_edit_ffmpeg (cognitive 17): video_editor._apply_edit_ffmpeg has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/video-edit/video_editor.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3ced8f8724e8722d0059aceae90c9b1bccb4c1fcb28a6415fa387120255252"}},{"ruleId":"D2","level":"warning","message":{"text":"client.interactive_mode (cognitive 17): client.interactive_mode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 3 (7 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/client.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b668fa7a56391639c71c9d136a7add21c3c77aa79c0962805087103bbab52ec"}},{"ruleId":"D2","level":"warning","message":{"text":"run_real_experiment.derive_acceptance (cognitive 17): run_real_experiment.derive_acceptance has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (4 pts), ternaries 2 (3 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":"chapter6/async-agent/run_real_experiment.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2eb6de98de8cb747f6a56fc1fe68c406ec933f3a8726719a1bd8533388f040"}},{"ruleId":"D2","level":"warning","message":{"text":"run_acceptance.main (cognitive 17): run_acceptance.main has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 5, loops 3, error handling 1, ternaries 1. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/phone-agent/run_acceptance.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"6228de0203f405e9b2b90733e1174148bf3179d78ff8e862607a90679420f058"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.evaluate_one (cognitive 17): demo.evaluate_one has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 7 (8 pts), if/else 4 (5 pts), boolean chains 3, 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":"chapter7/tts-quality-eval/demo.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"88527ce0430c90c86e383a0dc98b93cd4d3482b798bdd212bbd5db6913540890"}},{"ruleId":"D2","level":"warning","message":{"text":"run_vlm_training_report_audit.main (cognitive 17): run_vlm_training_report_audit.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, 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":"chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bb6c6a91ea5516cde062e548030f6d770bf4d601416611bd4b60b64f5a73ef"}},{"ruleId":"D2","level":"warning","message":{"text":"train_sft_trl.prepare_model_and_tokenizer (cognitive 17): train_sft_trl.prepare_model_and_tokenizer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 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":"chapter8/prompt-distillation/train_sft_trl.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d5bb0d6fcc0aac780ab22fc0da4d77ed612378d161d1d888920a2f1a36b90d"}},{"ruleId":"D2","level":"warning","message":{"text":"SafetyPolicyGate.is_high_risk_operation (cognitive 17): SafetyPolicyGate.is_high_risk_operation has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 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":"chapter9/harness-safety-gate/safety_policy_gate.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef5810186c7b15a6bfedc0664ca58fb4ca80c3069911bef606473d4b87655bf"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_9_8.main (cognitive 17): run_experiment_9_8.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/hermes-self-evolution/run_experiment_9_8.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d11090ee5f6ca43d94a37eccae0db7ee9f522f59d0e627ae1163b1b7c917bce"}},{"ruleId":"D2","level":"warning","message":{"text":"airline_env.run_agent (cognitive 17): airline_env.run_agent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 3, error handling 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":"chapter9/prompt-auto-optimization/airline_env.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adc9bd0fad1f9412874237572c37d34b7ccdd2236a0ecd8566b0a889405b114"}},{"ruleId":"D2","level":"warning","message":{"text":"review.splitSlides (cognitive 17): review.splitSlides has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 3 (5 pts), boolean chains 4 (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":"slides/review.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6658b699cbc9b0316ef5679b68df9e14675d7c70e407b3f03f1ec100ddd1eca"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.resolve_backend (cognitive 16): resolution.resolve_backend has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5, ternaries 2 (3 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":"agentbook/providers/resolution.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b48af5963c717c679bb5ad0c12b9d2e967d8bacf730646443d21a8d25e9b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextAwareAgent._build_context (cognitive 16): ContextAwareAgent._build_context has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 2 (4 pts), boolean chains 3, 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":"chapter1/context/agent.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf05c35357d520ac2fba78fb8194f6c9b865ccb7fff26c8a07aa1f44fc49252b"}},{"ruleId":"D2","level":"warning","message":{"text":"vis_validation.render_arm_section (cognitive 16): vis_validation.render_arm_section has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), loops 2 (4 pts), boolean chains 2, ternaries 1 (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":"chapter1/context/vis_validation.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95497f63e6c6f34b3bebfe99ba83b6ac2c48ebe43147e2dfd0af0528f96b31c"}},{"ruleId":"D2","level":"warning","message":{"text":"TreasureHuntGame.execute_action (cognitive 16): TreasureHuntGame.execute_action 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":"chapter1/learning-from-experience/game_environment.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3857c6185971b10c6aa2cd8289684f8b792040099e949be5235713b50e948321"}},{"ruleId":"D2","level":"warning","message":{"text":"GPT5NativeAgent._post_responses (cognitive 16): GPT5NativeAgent._post_responses has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (4 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":"chapter1/search-codegen/agent.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7428bea46be8c6f9264df5d29dc852c1b38066aba3555a62409ac5108231468e"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run_interactive_mode (cognitive 16): main.run_interactive_mode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (4 pts), ternaries 1 (3 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":"chapter1/web-search-agent/main.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee87dd64079d892bd1c3bbf7a38bb92200ca0ff9ec82ed0b70c118efab428b53"}},{"ruleId":"D2","level":"warning","message":{"text":"BilingualConsistencyAuditor._load_content (cognitive 16): BilingualConsistencyAuditor._load_content has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/book-translation/consistency_auditor.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7aecb2df5e602727d1c10917060368056bb3d9d7620312097040dd02806091"}},{"ruleId":"D2","level":"warning","message":{"text":"run_official_experiment.main (cognitive 16): run_official_experiment.main has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, ternaries 3, if/else 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":"chapter10/parallel-web-research/run_official_experiment.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7dae67b63a0144628d73ce8d7c078eaa47f31f4639c26eac0728b61bd3ad19"}},{"ruleId":"D2","level":"warning","message":{"text":"StagedAgent._dispatch_tool (cognitive 16): StagedAgent._dispatch_tool has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5 (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":"chapter10/staged-system-prompt/agent.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"231e189cf0680687e585be3d6d5fe7de48a4028d792822f353020e02a39e3e15"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.run_agent (cognitive 16): demo.run_agent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 3, error handling 1 (3 pts), 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":"chapter2/agent-skills-ppt/demo.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"146540983aa4205d27a316f0f0a2525b84215d6cd399d125221631a58324d8e1"}},{"ruleId":"D2","level":"warning","message":{"text":"AttentionVisualizationAgent._process_generation_attentions (cognitive 16): AttentionVisualizationAgent._process_generation_attentions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, error handling 1, 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":"chapter2/attention_visualization/agent.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9f35710262f99f93299e0cb9c02bec9b1fc7e5dbf7c09e1e4ae7b19ee8c893"}},{"ruleId":"D2","level":"warning","message":{"text":"visualization.visualize_results (cognitive 16): visualization.visualize_results has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/visualization.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"4648e74a5479abf2d172a07c421b77655e44ae2a6929e1ffd154481ed8b52b4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextCompressor._non_context_aware_individual_summary (cognitive 16): ContextCompressor._non_context_aware_individual_summary has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 2 (4 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":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b3ff0a71e416bc91ef66aaaa5567d7dc76ff0b3c9b143ceaffddb2f88596d9"}},{"ruleId":"D2","level":"warning","message":{"text":"ExperimentRunner.run_single_strategy (cognitive 16): ExperimentRunner.run_single_strategy has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 4, boolean chains 2, 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":"chapter2/context-compression/experiment.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab20de1e7141754cb9903a5851c2bd2876f684fb7aa9f32c8cef80958a19092"}},{"ruleId":"D2","level":"warning","message":{"text":"main.run_comparison (cognitive 16): main.run_comparison has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 3 (5 pts), loops 2, 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":"chapter2/kv-cache/main.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"b367b6da4127f7bafbc891cef62881439bea8603b14a51ab62f2a897dcf2e16e"}},{"ruleId":"D2","level":"warning","message":{"text":"Agent.run (cognitive 16): Agent.run has cognitive complexity 16 (threshold 15). Drivers by points: loops 3 (6 pts), error handling 2 (5 pts), if/else 1 (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":"chapter2/prompt-injection/agent.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71c2415b9a2bedb3a12ba62609b81f5b12618c415d90d0a9a545fd635a331a7"}},{"ruleId":"D2","level":"warning","message":{"text":"main.preview_status_bar (cognitive 16): main.preview_status_bar has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 3 (6 pts), ternaries 1 (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":"chapter2/system-hint/main.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"33dec0b48cd3439c0817e6ee35e213f755082d545285b40b20ee3a08ada6168e"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextualConversationChunker.contextualize_chunks (cognitive 16): ContextualConversationChunker.contextualize_chunks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 1 (3 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b076187f63ba1a140e1add30b383d0bd71bd4cd09efd1c40ee4d4bef0164f6"}},{"ruleId":"D2","level":"warning","message":{"text":"InteractiveContextualRAG.test_query (cognitive 16): InteractiveContextualRAG.test_query has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 2 (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":"chapter3/contextual-retrieval-for-user-memory/main.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"75714863e7aa8f16f346bfcb3b8d730b27ecae847f2e30acd987730a53a66bee"}},{"ruleId":"D2","level":"warning","message":{"text":"cli.compare_ann (cognitive 16): cli.compare_ann has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), loops 3 (5 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":"chapter3/dense-embedding/cli.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"161220d93a2a3d574378aa36000404dd6d3109661d5c70683963b8379f5d584f"}},{"ruleId":"D2","level":"warning","message":{"text":"DocumentStore.delete_document (cognitive 16): DocumentStore.delete_document has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 1 (3 pts), boolean chains 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":"chapter3/retrieval-pipeline/document_store.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9264203629029bb6bab4267b99bdb9aca161564c2abeb96a812416fd25e42d"}},{"ruleId":"D2","level":"warning","message":{"text":"extractor.extract_dataset (cognitive 16): extractor.extract_dataset has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 3 (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":"chapter3/structured-knowledge-extraction/extractor.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1032babea6c0d2d70801f14c5692efb68003635fda7a6bb732358d0f4d86005c"}},{"ruleId":"D2","level":"warning","message":{"text":"ComparisonRunner.run (cognitive 16): ComparisonRunner.run 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":"chapter3/user-memory-evaluation/comparison.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"4360e53246a841a777207ca38347dcd0f8d151537e75461ecf20ea70be16befa"}},{"ruleId":"D2","level":"warning","message":{"text":"LLMEvaluator._parse_evaluation_response (cognitive 16): LLMEvaluator._parse_evaluation_response has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 3, ternaries 1 (2 pts), 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":"chapter3/user-memory-evaluation/evaluator.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee235960358a87926888c1c09994ffa3413fb1e55be640ad2d60aae695096f3"}},{"ruleId":"D2","level":"warning","message":{"text":"UserMemoryAgent.__init__ (cognitive 16): UserMemoryAgent.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 4, 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":"chapter3/user-memory/agent.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0dfbb2ecf889fd2519ee20c65c3809773ed0753f3c0b1040609bb9f90ae393"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationalAgent.__init__ (cognitive 16): ConversationalAgent.__init__ has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 4, 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":"chapter3/user-memory/conversational_agent.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d82158879c1d4f926bf133a2c296f2e27080c126571bf1f6c141acd59dab8c"}},{"ruleId":"D2","level":"warning","message":{"text":"run_exact_experiment._call_real_tool (cognitive 16): run_exact_experiment._call_real_tool has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 3, loops 1 (2 pts), 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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d1040c505e7588f095619b572efacca294350f4b0ce8606499132049fac3d1"}},{"ruleId":"D2","level":"warning","message":{"text":"hitl_tools._notify_admin_of_request (cognitive 16): hitl_tools._notify_admin_of_request has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), error handling 2 (3 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":"chapter4/collaboration-tools/src/hitl_tools.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d340b550d4edde7739c9398e33ceeaa4d48d2a6f7d5ae26e2cffa89175c9a12"}},{"ruleId":"D2","level":"warning","message":{"text":"validate_experiment_4_5.main (cognitive 16): validate_experiment_4_5.main has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 3, 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":"chapter4/collaboration-tools/validate_experiment_4_5.py"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6233547b18685362a31e2f826a8f0c3f6e951e51b7a3a50ea760819c75247b"}},{"ruleId":"D2","level":"warning","message":{"text":"private_data_tools.search_notion (cognitive 16): private_data_tools.search_notion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 2 (4 pts), error handling 2, 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":"chapter4/perception-tools/src/private_data_tools.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"72020221555b909dffec98fca2b2d7f1bbe0592088550faf598e9328492c4579"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentCreator._safe_files (cognitive 16): AgentCreator._safe_files has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 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":"chapter5/agent-creator/creator.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee471b1eddf05a3df93a70cc8ee02e68bfc59d60a8a11f7c0fbe14c01493e685"}},{"ruleId":"D2","level":"warning","message":{"text":"csp_solver.eval_stmt (cognitive 16): csp_solver.eval_stmt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, 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":"chapter5/code-for-logic/csp_solver.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8db930ccec9a913541cfee2383c09f088b3de708be2566e5c1627ab452b4cb7"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.parse_answer (cognitive 16): demo.parse_answer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (8 pts), error handling 2 (5 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":"chapter5/code-for-logic/demo.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8718ed8f7a143c8b7f1be8e599e0db56b9d57c6720ce6cfd7e532040441551"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.run_mode (cognitive 16): demo.run_mode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), boolean chains 3, error handling 1 (3 pts), ternaries 2 (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":"chapter5/code-for-logic/demo.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"92648e0c61b3bc702da2cabef0291a01f15d9419421213d87bbfa2e674c27c31"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeSandboxEvaluator._recommendations_for (cognitive 16): CodeSandboxEvaluator._recommendations_for 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":"chapter5/coding-agent/sandbox_evaluator.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"23856edf1f37d6309cb8152631334dab33dd4469265c5fa79ebd2e8054c250fb"}},{"ruleId":"D2","level":"warning","message":{"text":"GrepTool._execute_impl (cognitive 16): GrepTool._execute_impl has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 1, error handling 1, 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":"chapter5/coding-agent/tools/grep_tool.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ca12be87a16e82d55cb3439196fdd337d3f6375ce0ffeb401b9a7d0794b799"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.run_questions (cognitive 16): demo.run_questions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 2 (4 pts), loops 2 (4 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/demo.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"577ea8c4e4164204fb6c41b238d2a2c1ff1b7887369553e6968626013e59053f"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign.process_page (cognitive 16): campaign.process_page has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 6, 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":"chapter5/paper-to-video/campaign.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"64982fce144162dfdef789762dcd3f23d4f9218a995161ab11c469745d2a5860"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectStore._check_permission (cognitive 16): ObjectStore._check_permission has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 1, 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":"chapter5/permission-embedded-data-objects/pedo/core/store.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"75abeded014425969744a711f33f080bd1910add90b0fff15d62ce0839ce1f8b"}},{"ruleId":"D2","level":"warning","message":{"text":"IntegrityOracle._check_salary_range (cognitive 16): IntegrityOracle._check_salary_range has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 1 (4 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"49083fdff7d10155d65f5c2f9655ce806bb540d55092a075c40a89295fbd0fcd"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.print_interception_example (cognitive 16): demo.print_interception_example has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (8 pts), loops 3 (7 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":"chapter5/small-model-codified-rules/demo.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e23ae7d9d8e73d0b6e48e5c31cb177e2c8379ef367492730fa6329719715c7"}},{"ruleId":"D2","level":"warning","message":{"text":"campaign._script_is_safe (cognitive 16): campaign._script_is_safe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 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":"chapter5/video-edit/campaign.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d7df421ffb6636deb0aabc8f167c6bfae5996b1c6d2934df355473e52275c1"}},{"ruleId":"D2","level":"warning","message":{"text":"demo.main (cognitive 16): demo.main has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 3, 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":"chapter6/streaming-speech/demo.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3ef3b2a8807e98e8612ef67a9c99506e2900039b8db407cd4201ecb1219c03"}},{"ruleId":"D2","level":"warning","message":{"text":"benchmark.measure_once (cognitive 16): benchmark.measure_once has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 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":"chapter7/model-benchmark/benchmark.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"df476d6a7fa411de1f8002115c3e3494cd463c685f9f3a9edd416f675b3fd724"}},{"ruleId":"D2","level":"warning","message":{"text":"annotate_timeouts.build_annotations (cognitive 16): annotate_timeouts.build_annotations has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), 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":"chapter7/openvla-robotwin2-eval/annotate_timeouts.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d668f213134eac86227ef3a21cfedc0ab70ae0c6392c40755ee43184045def20"}},{"ruleId":"D2","level":"warning","message":{"text":"experiment.conversation_chunks (cognitive 16): experiment.conversation_chunks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (11 pts), 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"8870de5aeffe34431e937bcd0cc2431bf99bf429e7682a30cddad53612169b66"}},{"ruleId":"D2","level":"warning","message":{"text":"verify_full_matrix_20260731.main (cognitive 16): verify_full_matrix_20260731.main has cognitive complexity 16 (threshold 15). Drivers by points: loops 6 (7 pts), if/else 4 (5 pts), boolean chains 4 (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":"chapter7/user-memory-system-evaluation/validation/verify_full_matrix_20260731.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"69041571f7f624df0d4c66fcfce33771cf0f18991193276d7f30da69516dedf2"}},{"ruleId":"D2","level":"warning","message":{"text":"evaluate.build_confusion_matrix (cognitive 16): evaluate.build_confusion_matrix has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 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":"chapter8/prompt-distillation/evaluate.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4baad29e4cc19153bd82cb92f078af80f8076846687d4ae572800addd13bdf"}},{"ruleId":"D2","level":"warning","message":{"text":"LearningAgent._extract_action_data (cognitive 16): LearningAgent._extract_action_data has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, error handling 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":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f72a557f77231407c5a7b7a579fd0085aa814bd9d824402371da01a4fd9280f"}},{"ruleId":"D2","level":"warning","message":{"text":"run_experiment_9_9.main (cognitive 16): run_experiment_9_9.main has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), boolean chains 5, ternaries 3, loops 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":"chapter9/self-evolution-eval/run_experiment_9_9.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"307e7801cb0fd2ccba24749eb0988dadd592f56d955de5135b497dd411d5d20d"}},{"ruleId":"D2","level":"warning","message":{"text":"base_tools.web_search (cognitive 16): base_tools.web_search has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (7 pts), error handling 2 (4 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":"chapter9/self-evolving-tools/base_tools.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9790ae1134e6a174bbd2f9f9fd64f1a528307965eb9f0d90ade1ed642cae4c"}},{"ruleId":"D2","level":"warning","message":{"text":"candidate_sandbox.run_in_sandbox (cognitive 16): candidate_sandbox.run_in_sandbox has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 4, boolean chains 3 (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":"chapter9/self-modifying-agent/candidate_sandbox.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0aa009a72b736b3122806fafbfc32dcf85e8c45fed81dd0fad732d89618224"}},{"ruleId":"D2","level":"warning","message":{"text":"generate.renderLesson (cognitive 16): generate.renderLesson has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, ternaries 3 (6 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":"slides/generate.mjs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"241afa6180fc8fe8ffd8912ad1f626bb0e8efafa897a90e9ff16571691a0a54f"}},{"ruleId":"D2","level":"warning","message":{"text":"bookFootnotes (cognitive 16): bookFootnotes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, other 2 (nesting depth added 3). None of this is in the body itself: all 16 points belong to 2 function items inside it that branch ((anonymous)::walk, a function literal at line 280). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/book-markdown.mjs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe2e7cb07fb476ef1ec357f6479343f8b27fb24f6819c66196fdc2e4c2f55c7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Home: FunctionTooLong \u2014 Home runs 471 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 371 over it, 4.71\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":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"34743fa7f83b7a4c1d6426cfbf1018c87f465d1fc95503086a8f0ff0e0cd273f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: highlights.initHighlights: FunctionTooLong \u2014 initHighlights runs 428 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 328 over it, 4.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/highlights.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc2eb772c60a48fc7ca243351dfa67cb110ec56ad05ba98f42d3aa5ec41342a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lang-switcher.init: FunctionTooLong \u2014 init runs 416 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 316 over it, 4.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a246419c4a319593123c32effd33962b09b668b36046ab030c84bc16d32427f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user-memory-system-evaluation/experiment.py: FileTooLong \u2014 1634 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1134 over it, 3.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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b399749751036c00baa0104dfa9db6a4b1ad5d76e783f4eed53c6ecbe276a124"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AttentionModal.AttentionModal: FunctionTooLong \u2014 AttentionModal runs 317 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 217 over it, 3.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionModal.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"709157c8d3ca15bebe41c73b6290e80f16fd1ee7be94bb5e3701c06e9efc46f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.Home: FunctionTooLong \u2014 Home runs 308 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 208 over it, 3.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7aa116b5bdfb45bcec398f7387688c3ce3763e8ad349e2258615b07bf209c03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: android-world/run_controlled_experiment.py: FileTooLong \u2014 1490 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 990 over it, 2.98\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/android-world/run_controlled_experiment.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd884ade485f75bb420fbb4d1a0e1cfd9904f8872cfa0c448965df1c590a7b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: exp7-7-arena-20260731-v1/leaderboard_animation.html: FileTooLong \u2014 1442 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: data (159-2053). The bar is 500 significant lines; this is 942 over it, 2.88\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/elo-leaderboard/validation/runs/exp7-7-arena-20260731-v1/leaderboard_animation.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d912d8195cdc96a8b345d08901a5f71bce2133c8b4607c4d008fc4edc2f1850"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: evaluation-overview-figures.layoutEmbodiedEvaluation: FunctionTooLong \u2014 layoutEmbodiedEvaluation runs 280 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 180 over it, 2.80\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":"web-astro/scripts/evaluation-overview-figures.mjs"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"594a4e3c77073a33b078aef97a1d6a900c14122ea2417e7ffd24dad02e9eaa84"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrieval-workflow-layout.layoutRetrievalWorkflow: FunctionTooLong \u2014 layoutRetrievalWorkflow runs 267 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 167 over it, 2.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/retrieval-workflow-layout.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf818c111e86e7be4838ec10af47f9819b08e9bdf51bcc767982412b384db81"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: evaluation-overview-figures.layoutEvaluationOverview: FunctionTooLong \u2014 layoutEvaluationOverview runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\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":"web-astro/scripts/evaluation-overview-figures.mjs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"864aca285a7b41e3a71a49000fe2be881d75427780de11feed377035fffe894f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: book-markdown.bookMarkdown: FunctionTooLong \u2014 bookMarkdown runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\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":"web-astro/src/lib/book-markdown.mjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"511f12d6e6176511c01ab662aa3ae017cec6f05d44a555efe025e555dd9de256"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: book-markdown.bookMarkdown.\u003Creturned closure\u003E: FunctionTooLong \u2014 bookMarkdown.\u003Creturned closure\u003E runs 190 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 90 over it, 1.90\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/book-markdown.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f7d1db458bac9f143573e9d7665999394a6634614a6543794c557795cc58ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: coding-production-layout.layoutReviewLoop: FunctionTooLong \u2014 layoutReviewLoop runs 186 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 86 over it, 1.86\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":"web-astro/scripts/coding-production-layout.mjs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a35e86afa24323eacbf13fe32d9d1a35954500ed38feed8486e97856074dfd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: active-tool-discovery/run_exact_experiment.py: FileTooLong \u2014 907 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 407 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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3bc3e01c42c71ba7642a77625134c7b31ea0a8737a73bb738e362e62b359eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: evaluation-overview-figures.layoutDualControl: FunctionTooLong \u2014 layoutDualControl runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/evaluation-overview-figures.mjs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"847db8fd026fb60d1efbf52074f9ef8085259f0f01914552e061f8c931a92789"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent-with-event-trigger/agent.py: FileTooLong \u2014 880 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 380 over it, 1.76\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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c5b6ad7aeed2e5619bcfce9eaa3769b9f25b24cc66e591a88f1244fa37977b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: async-architecture-layout.layoutSchedulingPatterns: FunctionTooLong \u2014 layoutSchedulingPatterns runs 176 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 76 over it, 1.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/async-architecture-layout.mjs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c0f1295772cff75fdd3f2d1b933ed7740bf48d82c69aca2aa5245fd71b13a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: model-benchmark/campaign.py: FileTooLong \u2014 851 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 351 over it, 1.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d8f94c26d85c7f936199b9313e77514652c14962bc35253acefc17c3fc1d16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/expanded_catalog.py: FileTooLong \u2014 840 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 340 over it, 1.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/expanded_catalog.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46d51b65330e85636ed8d38c26d513789a146a168503b6efbac4c1f6752e5a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pairwise-figure.layoutPairwise: FunctionTooLong \u2014 layoutPairwise runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/pairwise-figure.mjs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c64be4262ecdc95486220d66ddbf2c7cf70ed26b1c6f4289dd129043402f40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/evaluation-overview-figures.mjs: FileTooLong \u2014 792 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 292 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":"web-astro/scripts/evaluation-overview-figures.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"528f9ec0207908c8c9407ebbcc5f1a0052f62b2190612e0ca6fd373409445463"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: system-hint/run_experiment_2_8.py: FileTooLong \u2014 782 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 282 over it, 1.56\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/run_experiment_2_8.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec4815d199da35d1373fe593da09014c8370c49e656363a8dd5e48b9a5f2346"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: note-editor.createNoteEditor: FunctionTooLong \u2014 createNoteEditor runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/note-editor.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fe4ffa86b179882bdb2da5661c5549353a6442b90d95b650fc981a938d6e3f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-cache-layout.layoutTrajectory: FunctionTooLong \u2014 layoutTrajectory runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/tool-cache-layout.mjs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fe02ecd9ed399efceef2298d69617144b8f267bc0c7375326b1aa69ae62fa6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: permission-embedded-data-objects/run_live_security_eval.py: FileTooLong \u2014 748 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 248 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":"chapter5/permission-embedded-data-objects/run_live_security_eval.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"329415b10cda36af4cb5fd93cc5e2c3fce13cc3297958469eda2db4165d5994d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/async-architecture-layout.mjs: FileTooLong \u2014 746 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 246 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":"web-astro/scripts/async-architecture-layout.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b1acbe846cb9fc7745529d658407f9c577b0fbe4618397c69c1dcefa722ba8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: coding-application-layout.layoutBootstrapping: FunctionTooLong \u2014 layoutBootstrapping runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"7811ddde623a09624779c60eed0c3c2e648701c16b0860f1dc96d37ee3757764"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: multimodal-agent/agent.py: FileTooLong \u2014 742 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 242 over it, 1.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7ffa88303f087822327313254bba05acb923467eff0d04a0370dee5186b708c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: validation/run_vlm_training_report_audit.py: FileTooLong \u2014 734 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 234 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":"chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de60c6a8e97d092962c561f185fa33ab1ed8831de2639886ec9802761bca48e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: voice-architecture-layout.layoutParallelThinking: FunctionTooLong \u2014 layoutParallelThinking runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/voice-architecture-layout.mjs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"68662d07fa7dedea48195a35a32801d0a5583d57a72e42d5ae8c8f19869272a2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: model-benchmark/analysis.py: FileTooLong \u2014 727 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 227 over it, 1.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":"chapter7/model-benchmark/analysis.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe281049b14f8e0ac4dca0f1aa32ba2946fa9966698b6f6ab2a8d7a70951bfdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: generate.renderLesson: FunctionTooLong \u2014 renderLesson runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"slides/generate.mjs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"7310b6d323b945e24d713c22a7929e873392e0ffbd102c933f230526892eb720"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tool-cache-layout.layoutComparison: FunctionTooLong \u2014 layoutComparison runs 144 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 44 over it, 1.44\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":"web-astro/scripts/tool-cache-layout.mjs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c600e7d5dd369fd2a892fbbf6be01976db73bf23b82e7c5cfaff5f07fcdfcf0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: system-hint/agent.py: FileTooLong \u2014 700 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 200 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":"chapter2/system-hint/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d237bcb5f90cc6689f977ae5112645c5eba7db4e0bd0fbbeb7f7fe7e66bfb26b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: async-architecture-layout.layoutEventArchitecture: FunctionTooLong \u2014 layoutEventArchitecture runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/async-architecture-layout.mjs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb03a5ae25a80bb8bb2161ca77062f7408cf6f67a7ca89dfc5dccac3002873ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: async-architecture-layout.layoutRuntimeArchitecture: FunctionTooLong \u2014 layoutRuntimeArchitecture runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/async-architecture-layout.mjs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"8493e7b885cf070d9d352a3de9270deae178268f969314e5cf9976fa6cdbabc2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: book-translation/run_official_experiment.py: FileTooLong \u2014 686 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 186 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6556c92a7818f5ffc00022d18a7074941daeeb6c38051b5ccdcc6ff8256357b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/coding-application-layout.mjs: FileTooLong \u2014 670 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 170 over it, 1.34\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b628ec41287d48ac97b42d3f0975c6cb6b820d3174921390ae241e9bdff161"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: coding-application-layout.layoutArtifactFlow: FunctionTooLong \u2014 layoutArtifactFlow runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40a1c6962cee4a518ae7a6355463c5d6dd9c2774c9df530292faa49561ff7fd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/voice-architecture-layout.mjs: 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":"web-astro/scripts/voice-architecture-layout.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15428e97fd7ec6335707d7abd86c5c91158bdf9875683fc6fabbac66d439e0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user-memory/main.py: FileTooLong \u2014 645 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 145 over it, 1.29\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":"chapter3/user-memory/main.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ea85a7726ec1061e946fc0d644741108eca21d8147ecbf6c11e3618967302b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dataguardbench/prompts.py: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 144 over it, 1.29\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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/prompts.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b18824a871ab768e5547d335447fa36e60901a79d8f55783d7710600e2eb92"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openvla-robotwin2-eval/experiment.py: FileTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 144 over it, 1.29\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":"chapter7/openvla-robotwin2-eval/experiment.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9495e14995d8b2045052da8100ec836a7c16ac5ede0fd00013f21efa7bcb7673"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent-creator/creator.py: FileTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 138 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/agent-creator/creator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e208161b6bcb97d45f18c7f243457e7cb054d287019a384d2df1b5bfbea013e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AttentionStats.AttentionStats: FunctionTooLong \u2014 AttentionStats runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionStats.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf30a9ec3862e2884f90f2cce3c70437a2a48e5a57366b371fa7a77b213b57f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: voice-architecture-layout.layoutRealtimeComparison: FunctionTooLong \u2014 layoutRealtimeComparison runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/voice-architecture-layout.mjs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"093fdf1387ff17b5572c8b4b24e982afa53c780b0c910f24c6f1c3fb80351a6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context/main.py: FileTooLong \u2014 634 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 134 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":"chapter1/context/main.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04f25db9a3eea67ad5adb502e4ad3d30187d1a1c383873055fa9f0224ef5913"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agent-with-event-trigger/unipile_mailbox_experiment.py: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 130 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":"chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d22668ec7104bba5a3b0078a8b0bce90d2a12360853402db454108a8d3a97c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: machine-translation.initMachineTranslation: FunctionTooLong \u2014 initMachineTranslation runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/machine-translation.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cc4dee5f59ec48ba191789d78a9d8fd9bc0356c036a78607871df6641f3815"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: validation/run_report_audit.py: FileTooLong \u2014 618 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 118 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/continued-pretraining/validation/run_report_audit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a1a901c9ef414cb10040114c8f48e77243112c1511c12d3535f9179c357576"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contextual-retrieval-for-user-memory/main.py: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 117 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":"chapter3/contextual-retrieval-for-user-memory/main.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e288e0b0097cbbd493d89d50b739cf493f020ecda640ea2581d9de7d68e673"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: structured-knowledge-extraction/campaign.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":"chapter3/structured-knowledge-extraction/campaign.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c6fca9d236407a318fbb1ae2e57ce45bded458c2f2e3e86ebf9666c81e650c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eval/benchmark_comparisons.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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"282b9e637a2fd17dad26eb9c1d2b90a8eb83da5868755ecfb5a4fb041f35f984"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user-memory/agent.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":"chapter3/user-memory/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4481b819b94eac2cbccefe0bc8fbe9d510ae9bedaa3ddc0f625c2e73e84ef960"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: backend/server.js: 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":"chapter6/live-audio/backend/server.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67539a86032bbe80e3924fe4052433544ea293e9729193fcb1f41023992be8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrieval-structure-layout.layoutHybridRetrieval: FunctionTooLong \u2014 layoutHybridRetrieval runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/retrieval-structure-layout.mjs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffbe1d310dbb5d8b1975940f7a27abbd39aaed60bfcd817af04eae71046762b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ObjectStore: 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":"chapter5/permission-embedded-data-objects/pedo/core/store.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"91201c12bf2c858e52163d6d1bac69a539c07e963577ab42ac3ea875485d5d94"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: validation/run_training_report_audit.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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63f39f9f1fa083b3614880e92eb2ba53766d5f69d3da9b009b3c546284b0130"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tts-quality-eval/pipeline.py: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 88 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":"chapter7/tts-quality-eval/pipeline.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c213bd42b6140f9489f54b2ccd26b6e15affe8a6040e57c63dc86746319e4e8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: perception-tools/run_experiment_4_2.py: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 85 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/run_experiment_4_2.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"41079e45fbf2d88ab676b41507a60c00cd1451716cc7c6a67803068cdee2a8a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: coding-application-layout.layoutDynamicForm: FunctionTooLong \u2014 layoutDynamicForm runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d681136c9e9ab9e467902af747cbec283be71568a29b9e7b09671072a97a6356"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AttentionHeatmap.AttentionHeatmap: FunctionTooLong \u2014 AttentionHeatmap runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionHeatmap.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a12fd137a807840cf05f776b6e84fa9f9748e942a16ab30bf7556e8550ae82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context/agent.py: FileTooLong \u2014 569 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 69 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":"chapter1/context/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ccc75535f3a2a20c14e96835fc9a0269613199b9ba2cf2129e26e953d4d162"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: model-action-threshold/experiment.py: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 64 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":"chapter7/model-action-threshold/experiment.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58bcd583549668f87959a8ff2f5fe0913c5c6a14b98a0cf60bdf6789358a1bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: phone-agent/webrtc_app.py: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/phone-agent/webrtc_app.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde958a0f6b2565eb1864d2802d9dcc36d145094556d10dc527a9102234916b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: coding-application-layout.layoutMetaAgent: FunctionTooLong \u2014 layoutMetaAgent runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc374eec3ad4cef8d7bd7ea7f42692d1c62695dee6ccb558d61ef853b5b5282"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: context-flow-figures.layoutContextFlow: FunctionTooLong \u2014 layoutContextFlow runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/context-flow-figures.mjs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"488381b81f231b3fb8b7d1c654c1beb517a1d76dfe3f506bebc2fe6d23006784"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: voice-architecture-layout.layoutSerialPipeline: FunctionTooLong \u2014 layoutSerialPipeline runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/voice-architecture-layout.mjs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e45ba3ad6e6b2f580ab2a84a394c474fe28956dbaf8fe55ffc922bba4258d33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: dataguardbench/harness.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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f31cb3c9f91221d8f2f17c2c86f43b6a22fa831319576f0d743fc36f8c9796"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: collaboration-society-figures.layoutVoiceWerewolfSystem: FunctionTooLong \u2014 layoutVoiceWerewolfSystem runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/collaboration-society-figures.mjs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7269330518abc1f4b08bc6a5a72a4f8da06c63a99373e103d9bfbb6b25d9de4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AttentionPreview.AttentionPreview: FunctionTooLong \u2014 AttentionPreview runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionPreview.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba77de60159dd8591f0ad501235bf50cb7932f87655f43954cafcc75dbf4fd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: evolution-flow-figures.layoutEvolutionDeployment: FunctionTooLong \u2014 layoutEvolutionDeployment runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/evolution-flow-figures.mjs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e59ad13d71fceb417d7acd055c9b31f1903d48bfd8ceefbd83d451e99fa75b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: coding-comparison-layout.layoutSearchComparison: FunctionTooLong \u2014 layoutSearchComparison runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\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":"web-astro/scripts/coding-comparison-layout.mjs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e79f375bd65b6e69cd33245b45173b83bbb8979fa6817da1107b4a13bf5e0b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eval/benchmark_final_comprehensive.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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c585d6dcf4afddb6d201a9bbd8f3696339513d221db47a9c91a7dd139822e86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: retrieval-pipeline/evaluate.py: FileTooLong \u2014 532 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 32 over it, 1.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":"chapter3/retrieval-pipeline/evaluate.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e209a01952c918d64e29cd70595e641043f1d641724209d34f1f3554e8c2da1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kv-cache/agent.py: FileTooLong \u2014 531 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 31 over it, 1.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":"chapter2/kv-cache/agent.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b120dc465933575bf0ed1f9c928401f7d64a04c367ec2e383e0c93349df5800"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: book-ar/svg_lib.py: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 30 over it, 1.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":"book-ar/svg_lib.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b32c74b480ab308482b7d3662c2d718b2b1652352140fbe62c6b9d0bcfc654f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: memory-foundation-layout.layoutMemoryTypes: FunctionTooLong \u2014 layoutMemoryTypes runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/memory-foundation-layout.mjs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dce8279051259bcde0453148dbdc9113591dbe96ab8f8146e6310560fbe3fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retrieval-structure-layout.layoutKnowledgeGraph: FunctionTooLong \u2014 layoutKnowledgeGraph runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/retrieval-structure-layout.mjs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93bdc9cc6f0558ed860eb6b3f7ddeaca19cf85d9184ac42130bb0e5030ccccf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agentic-rag-for-user-memory/main.py: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 29 over it, 1.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":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea3680de9a3c3e01b2e4b83ebede9bd6e29a5efeb05dd7aea0201b4fdf7c018"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: contextual-retrieval-for-user-memory/contextual_evaluator.py: FileTooLong \u2014 528 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 28 over it, 1.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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f984944278b1b62e47293048f1c1cd306f03ce5ae6f1c12dd0e4cdc7fd10e92e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/coding-production-layout.mjs: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 26 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":"web-astro/scripts/coding-production-layout.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8ec013a18983657f63d5ad4f79eec0244ba1eb7c6520749d466d309d288b8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code-for-math/demo.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":"chapter5/code-for-math/demo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ed33d161e7692a1a2ff419d8e3f8ae7db5ca8406e34ecfd3f23991df133e4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: autonomous-phone-registration/webrtc_channel.py: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 23 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":"chapter10/autonomous-phone-registration/webrtc_channel.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7155a9f924fba7afd85039ba02660eeb6ba9c86d8f60aeef41073c6ba5b568f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: memory-foundation-layout.layoutRagFlow: FunctionTooLong \u2014 layoutRagFlow runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/memory-foundation-layout.mjs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"584707e87e4d29bceb17f4bb4127fc08e27281683c326b94ae7fbd8672f217bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pages/index.tsx: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: Home (65-751). The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9bd101d7528d6d3a76c4b6a39fc17015ca8926313b7e79b07d5c188d7ef62c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: generative-agents/run_campaign.py: FileTooLong \u2014 515 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 15 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/generative-agents/run_campaign.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b5b62480d86fc12338e72b8a9c5106c7befef6cfe9c20c1bc7c4e2286ea947"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: collaboration-society-figures.layoutAITownArchitecture: FunctionTooLong \u2014 layoutAITownArchitecture runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/collaboration-society-figures.mjs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"8498b2fa493d143730d0a5b8b1dfa013ef2bd47c2a2c14af733e0a3b9d20d2b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: user-memory/memory_manager.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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73608aeb99c653602f309ec759afe8cf2c09fed38fd8673755f691c65200e5ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: book-en/svg_lib.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":"book-en/svg_lib.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbf971c3fe3c91f110ee04b20662364ce8ca4d28a0dc3741d601521bcf10d18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: book-es/svg_lib.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":"book-es/svg_lib.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d715f47bc3852e87b20083a4f33b53a1c3a3caef6833bb9307c6a1b825c7ce1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: book-id/svg_lib.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":"book-id/svg_lib.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7b437dfb3a22bde99e8f7931d9aa54b73e03ef2b4f66f5c5dc5238cd4c7b21"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: book-ru/svg_lib.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":"book-ru/svg_lib.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b638727b62bb01da8516584461fa35e17857b24ae7d6f2c25a65950c15d23e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: book-tr/svg_lib.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":"book-tr/svg_lib.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a1f1464438d83774fe13b2794fab6b177c956d76cb864afc9d81abb80a94f1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/notification_dispatcher.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":"chapter4/collaboration-tools/src/notification_dispatcher.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72b068cbbfdcf58c842ab2ad3d23dd8f4ebff7f2ab5956b9064f359eea4c232"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: video-edit/campaign.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":"chapter5/video-edit/campaign.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed360e249c5831dc08550fdaa8a1c6d9102f2f4bd0743b5fe1e73fbc899f22b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/media_processing_tools.py: FileTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 6 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":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ae7c26e49d49a7cb463c8691ff893a6ae25a8211ce1e6fdae745882f3ac5c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: execution-tools/multilang_executor.py: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 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":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b5b08732619fccfe69198636b845b23abf15c6d096fe76a270104c09b7303b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: async-architecture-layout.layoutAsyncTimeline: FunctionTooLong \u2014 layoutAsyncTimeline runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/async-architecture-layout.mjs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd2800ba92a0b525c3f2c45ba5d8e7b0834d47898889b18c4ce864bdc6bbd0a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eval/benchmark_safety.py: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 4 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5554e3fd76540e6d2ae88cd33af7138af21c76d4ffdfe03f7c57ee64f78cf5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: book-vi/fix_svg_text_layout.py: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2 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":"book-vi/fix_svg_text_layout.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a67153b30159c46550cfe9a66629d3ff4ecced24852d6bb494749285c4ba8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code-for-logic/demo.py: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2 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":"chapter5/code-for-logic/demo.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b706088a3b815a71e13514969794691eb0b680a497408538a11690286946a546"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: scripts/retrieval-structure-layout.mjs: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2 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":"web-astro/scripts/retrieval-structure-layout.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c46d8757ed4b1f501d1414096ed81ff11f4d745bb5e964202782bc3fe16a62"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (6 members, 56 shared lines): book-ar/svg_lib.py:216-290 | book-en/svg_lib.py:200-264 | book-es/svg_lib.py:200-264 | book-id/svg_lib.py:200-264 | book-ru/svg_lib.py:200-264 | book-tr/svg_lib.py:200-264 \u2014 These 6 members are variants of one another: a block of 56 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":"book-ar/svg_lib.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadfb9818331e67fded61a435a33ea7cb0054980a432dcd462882ac57c4cc195"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 78 shared lines): chapter6/astra-async-steering/experiment.py:98-214 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:98-214 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:98-199 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:98-199 \u2014 These 4 members are variants of one another: a block of 78 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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cf5d240aa24151973506d54ef83de080d9a94a3a19fc18b8b0cf9b364723387"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 26 shared lines): chapter6/astra-async-steering/experiment.py:372-401 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:372-401 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:351-379 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:351-379 \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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb96464bb536fe916d36176e123e881d69ad2580a34d96c6ee489c6f833589c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 3 shared lines): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:169-185 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py:315-376 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:294-313 | chapter5/permission-embedded-data-objects/run_targeted_eval.py:227-238 \u2014 These 4 members are variants of one another: a block of 3 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ac5e9e5cb122452378c230417bdc9cd30db38b9d2276caaa9e5046018eaf0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (147 shared lines): chapter2/system-hint/agent.py:826-1049 | chapter6/agent-with-event-trigger/agent.py:1060-1283 \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":"chapter2/system-hint/agent.py"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"8722c10f456a0ea52fae58b0329c4ce040ba75e68bbde0556ece4b26f05543d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (58 shared lines): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:672-756 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:824-918 \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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c40fddb108dbc8cbaf52025547baebbf2f8acda140d1c34570015a4cf015422"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (44 shared lines): chapter8/MiniMind-pretrain/validation/validate_evidence.py:115-300 | chapter8/continued-pretraining/validation/validate_evidence.py:74-199 \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":"chapter8/MiniMind-pretrain/validation/validate_evidence.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2867216b8ae739a88558e8cbb15e06fe7d3e6a935c85b8ca3b744f462e9b6fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (30 shared lines): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:240-331 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:335-419 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf932b2a220ae9d43019b0f218bc66aad508deb777f129615f2f1aa097c4126"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:262-290 | chapter5/permission-embedded-data-objects/run_targeted_eval.py:208-223 \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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe15eb0f3701e988848b19fce0c9ceae6718d6256690b8478fc24f37def9923c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): book-ar/svg_lib.py:495-506 | book-ar/svg_lib.py:509-520 | book-en/svg_lib.py:469-480 | book-en/svg_lib.py:483-494 | book-es/svg_lib.py:469-480 | book-es/svg_lib.py:483-494 | book-id/svg_lib.py:469-480 | book-id/svg_lib.py:483-494 | book-ru/svg_lib.py:469-480 | book-ru/svg_lib.py:483-494 | book-tr/svg_lib.py:469-480 | book-tr/svg_lib.py:483-494 \u2014 These 12 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 12 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed902ca018c9c400accc0243406ae9186eccb5e412583653aec03cdba8272aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (12 members, 50\u002B identical tokens): book-ar/svg_lib.py:573-591 | book-ar/svg_lib.py:595-610 | book-en/svg_lib.py:547-565 | book-en/svg_lib.py:569-584 | book-es/svg_lib.py:547-565 | book-es/svg_lib.py:569-584 | book-id/svg_lib.py:547-565 | book-id/svg_lib.py:569-584 | book-ru/svg_lib.py:547-565 | book-ru/svg_lib.py:569-584 | book-tr/svg_lib.py:547-565 | book-tr/svg_lib.py:569-584 \u2014 These 12 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 12 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 12 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ba7aee87f84b8600a9a9c477b755c9d2c204e61be2f2f9e5265ff15697687b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): chapter3/agentic-rag-for-user-memory/config.py:22-42 | chapter3/agentic-rag/config.py:13-33 | chapter3/contextual-retrieval-for-user-memory/config.py:22-42 | chapter3/contextual-retrieval/config.py:13-33 | chapter3/mem0/config.py:22-42 | chapter3/memobase/config.py:14-32 | chapter3/structured-index/config.py:16-34 | chapter3/structured-knowledge-extraction/config.py:20-38 | chapter3/user-memory-evaluation/config.py:12-30 | chapter3/user-memory/config.py:23-43 \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":"chapter3/agentic-rag-for-user-memory/config.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"15590e68ccb22eb220359e0e42ef3d2c62606ea4189ea8fd1c07c9a16088d425"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/fit_svg_text.py:34-40 | book-en/fit_svg_text.py:34-40 | book-es/fit_svg_text.py:37-43 | book-id/fit_svg_text.py:37-43 | book-ru/fit_svg_text.py:34-40 | book-tr/fit_svg_text.py:37-43 \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":"book-ar/fit_svg_text.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfeb1f5dd1fe2bacf1d9715cb40cf7cc1a817d98b2cac1b10a4fa420ebacb8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:91-107 | book-en/svg_lib.py:87-103 | book-es/svg_lib.py:87-103 | book-id/svg_lib.py:87-103 | book-ru/svg_lib.py:87-103 | book-tr/svg_lib.py:87-103 \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":"book-ar/svg_lib.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f4a73df9ae811a1bfef3e495259d8acea8f4274c5b94924676a61b85a965af"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:142-159 | book-en/svg_lib.py:126-143 | book-es/svg_lib.py:126-143 | book-id/svg_lib.py:126-143 | book-ru/svg_lib.py:126-143 | book-tr/svg_lib.py:126-143 \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":"book-ar/svg_lib.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48e706caaf6ab5a8ad0f273d8273757b2499e320d6416102567a8064e77dd0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:163-180 | book-en/svg_lib.py:147-164 | book-es/svg_lib.py:147-164 | book-id/svg_lib.py:147-164 | book-ru/svg_lib.py:147-164 | book-tr/svg_lib.py:147-164 \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":"book-ar/svg_lib.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"140d4a4c0d395cfc6b27ac5baac3a7b1fca0dea0e6aadf18f1038ee805041472"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:315-321 | book-en/svg_lib.py:289-295 | book-es/svg_lib.py:289-295 | book-id/svg_lib.py:289-295 | book-ru/svg_lib.py:289-295 | book-tr/svg_lib.py:289-295 \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":"book-ar/svg_lib.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb178758e79a9de185ebc1cdd8a3dff0fc9668e8a298e36082d28e00fa00443"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:324-364 | book-en/svg_lib.py:298-338 | book-es/svg_lib.py:298-338 | book-id/svg_lib.py:298-338 | book-ru/svg_lib.py:298-338 | book-tr/svg_lib.py:298-338 \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":"book-ar/svg_lib.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f6500ecfb8e5f2a2e91963b0a4ee864144b6665551d043b5e7c064d763e61c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:370-380 | book-en/svg_lib.py:344-354 | book-es/svg_lib.py:344-354 | book-id/svg_lib.py:344-354 | book-ru/svg_lib.py:344-354 | book-tr/svg_lib.py:344-354 \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":"book-ar/svg_lib.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea9ccac462c86bdd40b379f1c583f316438700883ccc012703fa887f03d16c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:383-391 | book-en/svg_lib.py:357-365 | book-es/svg_lib.py:357-365 | book-id/svg_lib.py:357-365 | book-ru/svg_lib.py:357-365 | book-tr/svg_lib.py:357-365 \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":"book-ar/svg_lib.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"9219b61a0dadca588ae1a995a7297e63ee8cee36091d9f8b6b21c6f6c4de60d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:394-406 | book-en/svg_lib.py:368-380 | book-es/svg_lib.py:368-380 | book-id/svg_lib.py:368-380 | book-ru/svg_lib.py:368-380 | book-tr/svg_lib.py:368-380 \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":"book-ar/svg_lib.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfff7af26af80c773e044ef923a74d3594e1d7f11580ff940c2892e5c7c9b177"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:418-448 | book-en/svg_lib.py:392-422 | book-es/svg_lib.py:392-422 | book-id/svg_lib.py:392-422 | book-ru/svg_lib.py:392-422 | book-tr/svg_lib.py:392-422 \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":"book-ar/svg_lib.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"5234ffac6e5c7a3a4a75450c1ae0e446bce9277473b8c660d14e4a5d662987a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:451-463 | book-en/svg_lib.py:425-437 | book-es/svg_lib.py:425-437 | book-id/svg_lib.py:425-437 | book-ru/svg_lib.py:425-437 | book-tr/svg_lib.py:425-437 \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":"book-ar/svg_lib.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"04711dfeaaee4373137796229ffd4a0b41cd07fc0f82768d8fd9274535ba58df"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:466-484 | book-en/svg_lib.py:440-458 | book-es/svg_lib.py:440-458 | book-id/svg_lib.py:440-458 | book-ru/svg_lib.py:440-458 | book-tr/svg_lib.py:440-458 \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":"book-ar/svg_lib.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aae847119e11206c0111ef7592fc2c07ac516483dc1eb761e6b044096deb407"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:523-530 | book-en/svg_lib.py:497-504 | book-es/svg_lib.py:497-504 | book-id/svg_lib.py:497-504 | book-ru/svg_lib.py:497-504 | book-tr/svg_lib.py:497-504 \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":"book-ar/svg_lib.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4d08bd0b5bd104e98795aec68aa9b2e3767e0c502dd95aabe4c537b29388d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:539-546 | book-en/svg_lib.py:513-520 | book-es/svg_lib.py:513-520 | book-id/svg_lib.py:513-520 | book-ru/svg_lib.py:513-520 | book-tr/svg_lib.py:513-520 \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":"book-ar/svg_lib.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa453befc32fc5c5b05784e6e848773e074f1caabce967a4eb8fcaff49bb7f23"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:549-564 | book-en/svg_lib.py:523-538 | book-es/svg_lib.py:523-538 | book-id/svg_lib.py:523-538 | book-ru/svg_lib.py:523-538 | book-tr/svg_lib.py:523-538 \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":"book-ar/svg_lib.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5553051db34d98d872433f9f70535cbf6b5f2f5eb4d326e5c0ef821b410adbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:614-632 | book-en/svg_lib.py:588-606 | book-es/svg_lib.py:588-606 | book-id/svg_lib.py:588-606 | book-ru/svg_lib.py:588-606 | book-tr/svg_lib.py:588-606 \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":"book-ar/svg_lib.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"245c0a5b5cbdbc5c0c98c3c4282dd3be6311c7db3c2ba7861e236334ae4526a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:636-645 | book-en/svg_lib.py:610-619 | book-es/svg_lib.py:610-619 | book-id/svg_lib.py:610-619 | book-ru/svg_lib.py:610-619 | book-tr/svg_lib.py:610-619 \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":"book-ar/svg_lib.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3da5d416b1c0f5f2754c8b2296fe46b370623bf6fbbe964abbeba66c3a693cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:649-664 | book-en/svg_lib.py:623-638 | book-es/svg_lib.py:623-638 | book-id/svg_lib.py:623-638 | book-ru/svg_lib.py:623-638 | book-tr/svg_lib.py:623-638 \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":"book-ar/svg_lib.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"1542a5b72bdadd228c85dc03cc54a50d59b153db161054301a97c0986ffbcd3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-ar/svg_lib.py:668-692 | book-en/svg_lib.py:642-666 | book-es/svg_lib.py:642-666 | book-id/svg_lib.py:642-666 | book-ru/svg_lib.py:642-666 | book-tr/svg_lib.py:642-666 \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":"book-ar/svg_lib.py"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"807c4694543222bf991f97510a267a90902a3c0f8c1629191bd6502136d03265"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-en/strip_titles.py:38-91 | book-id/strip_titles.py:37-90 | book-ta/strip_titles.py:38-91 | book-tr/strip_titles.py:37-90 | book-zhtw/strip_titles.py:37-90 | book/strip_titles.py:37-90 \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":"book-en/strip_titles.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0344826f91f98c595d51c56542dcd2a25feb10719f94324036f3b06251032c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): book-en/strip_titles.py:95-108 | book-id/strip_titles.py:94-107 | book-ta/strip_titles.py:95-108 | book-tr/strip_titles.py:94-107 | book-zhtw/strip_titles.py:94-107 | book/strip_titles.py:94-107 \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":"book-en/strip_titles.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"472818d9c2d97cad70c8eee49db6d9f45c959e8b59beca11246ce0b5552f98c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): chapter5/adaptive-log-parser/agent.py:78-92 | chapter5/code-for-logic/demo.py:66-80 | chapter5/dynamic-form/demo.py:62-76 | chapter5/log-diagnosis/diagnoser.py:24-38 | chapter5/small-model-codified-rules/agent.py:32-46 | chapter5/video-edit/agents.py:29-43 \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":"chapter5/adaptive-log-parser/agent.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7759f74eb9dc0ebe88d941adbb534d97c0bd34e92ee2fb60111ea36b7da93cdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): chapter3/agentic-rag-for-user-memory/agent.py:95-108 | chapter3/agentic-rag/agent.py:73-86 | chapter3/contextual-retrieval-for-user-memory/agent.py:95-108 | chapter3/contextual-retrieval-for-user-memory/contextual_agent.py:109-122 | chapter3/contextual-retrieval/agent.py:58-71 \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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdb966fe816eed3b11432423da2c7d9449ee3a96e3ba2946055c292d2ba2028"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): chapter3/agentic-rag/evaluation/evaluate.py:372-400 | chapter3/agentic-rag/main.py:188-314 | chapter3/contextual-retrieval/evaluation/evaluate.py:364-392 | chapter3/contextual-retrieval/main.py:186-288 | chapter3/mem0/main.py:326-394 \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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecc793eda3e931280201dbc79ed6b3158bb609b3f34b53df062400b14c5e2fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): chapter4/perception-tools/src/arxiv_enhanced.py:94-172 | chapter4/perception-tools/src/google_search_enhanced.py:93-138 | chapter4/perception-tools/src/wiki_enhanced.py:87-128 | chapter4/perception-tools/src/wiki_enhanced.py:135-177 | chapter4/perception-tools/src/wiki_enhanced.py:185-269 \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":"chapter4/perception-tools/src/arxiv_enhanced.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"940414d2552cc391e59795ff76e359b3362b277b18bb3342306a56de0316641d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): chapter5/permission-embedded-data-objects/pedo/scenarios/enterprise_agents.py:67-81 | chapter5/permission-embedded-data-objects/pedo/scenarios/forum.py:58-73 | chapter5/permission-embedded-data-objects/pedo/scenarios/healthcare.py:40-57 | chapter5/permission-embedded-data-objects/pedo/scenarios/hiring.py:110-124 | chapter5/permission-embedded-data-objects/pedo/scenarios/project_mgmt.py:106-120 \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":"chapter5/permission-embedded-data-objects/pedo/scenarios/enterprise_agents.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb2e5448d58d3d3a95f6b92620c3e3737fc81cdd53543d0e57bfbd95927e372"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): chapter6/astra-async-steering/experiment.py:351-368 | chapter6/astra-async-steering/summarize.py:13-54 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:351-368 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:336-347 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:336-347 \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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2bef78480fa94df257b49c331377791fff20152d832f7be7abac96308b7554"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter3/agentic-rag-for-user-memory/agent.py:202-358 | chapter3/agentic-rag/agent.py:232-363 | chapter3/contextual-retrieval-for-user-memory/agent.py:198-354 | chapter3/contextual-retrieval/agent.py:173-288 \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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22cba5de3857355f08ecb391a7c189f082c8dc6f5eabb6073f04221735f5450"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter3/agentic-rag-for-user-memory/chunker.py:313-349 | chapter3/agentic-rag-for-user-memory/indexer.py:518-573 | chapter3/contextual-retrieval-for-user-memory/chunker.py:313-349 | chapter3/contextual-retrieval-for-user-memory/indexer.py:402-457 \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":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1283be60204ebcadaf353d28d8e369adf209fa6fb721ca002ff2fb2ee3bb231"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter3/agentic-rag/evaluation/evaluate.py:301-338 | chapter3/agentic-rag/evaluation/evaluate.py:341-368 | chapter3/contextual-retrieval/evaluation/evaluate.py:293-330 | chapter3/contextual-retrieval/evaluation/evaluate.py:333-360 \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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"80996278a892feee081f1e532dbf3e1f9307ea5192e8f7b5252b6e655e8d7069"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter3/agentic-rag/tools.py:333-347 | chapter3/agentic-rag/tools.py:350-373 | chapter3/contextual-retrieval/tools.py:338-352 | chapter3/contextual-retrieval/tools.py:355-378 \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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b32965209494308ffc9a30a96becc34782d158b08e015f2bdb4dd853db6b5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter3/agentic-rag/tools.py:376-410 | chapter3/agentic-rag/tools.py:413-463 | chapter3/contextual-retrieval/tools.py:381-415 | chapter3/contextual-retrieval/tools.py:418-468 \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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c4cdbd0a1a21f723b6af7bb37fb880da926914cd122e7842628ebed665b6fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter4/multimodal-agent/demo.py:32-135 | chapter4/multimodal-agent/demo.py:139-196 | chapter4/multimodal-agent/main.py:37-92 | chapter4/multimodal-agent/main.py:96-236 \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":"chapter4/multimodal-agent/demo.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfadfb75d71951fa84b1654dc3d4058ff8c4f4e31f6bbfe5a5c0f9e1a998e7ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter5/conversational-ui/backend/main.py:57-98 | chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py:57-96 | chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py:57-96 | chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py:57-96 \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":"chapter5/conversational-ui/backend/main.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be401913cc53967d2cc272a3356294633c0b37714eb30a9c0a92553c6e72aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter5/conversational-ui/backend/main.py:125-174 | chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py:123-172 | chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py:123-172 | chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py:123-172 \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":"chapter5/conversational-ui/backend/main.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc5e06bbf68e86bffcc632a341f76bd7d7b8027d58a7c7fc0e5b88172a8cf78"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter5/conversational-ui/backend/main.py:178-217 | chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py:176-215 | chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py:176-215 | chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py:176-215 \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":"chapter5/conversational-ui/backend/main.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d2a7ea6709c77172d643574b1e0ec8bb37b638dda3d3b89c6fb190cb897c0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:198-236 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:191-243 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:375-432 | chapter5/permission-embedded-data-objects/run_targeted_eval.py:242-285 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"37494e78f30a6e427f242cb9b79298c83352d000cb0bfe4f9ad5ff64ad6d8f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:46-81 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:235-339 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:402-548 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:31-120 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a67327831d0f6f1ceb8e174839c5f8f9ca7ae086eeab4f18b0683d68eef1e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter6/astra-async-steering/experiment.py:69-79 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:69-79 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:69-79 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:69-79 \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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c43b2683de80fe30199c13a07ec47ded6c3b895b5fb513ba8ecac5e8a2cba85"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter6/astra-async-steering/experiment.py:89-94 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:89-94 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:89-94 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:89-94 \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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"71122920ddf2f192d68f064889251a5b5a0da1a04236f780eff38f30f1c1ea80"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): chapter6/astra-async-steering/experiment.py:218-347 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:218-347 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:203-332 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:203-332 \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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05e06d24d770b2116d4ecc138b422c014f9f17b6ff7a63864703fa77fe34c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): chapter8/curly-quote-sft/train_sft.py:48-90 | chapter8/exact-copy-sft/train_sft.py:36-58 \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":"chapter8/curly-quote-sft/train_sft.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c48c715b2f0b13fb1095a78bad726db04a21ce8df6c820919eb4b63fc3510a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (117 corresponding lines): chapter8/speech-sft-experiment/run_orpheus.py:188-304 | chapter8/speech-sft-experiment/run_sesame.py:181-310 \u2014 These two members are one piece of code written twice and then edited apart: 117 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/speech-sft-experiment/run_orpheus.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1114c0c09cff0057b4350ed5063aaf27b222f82f16200728ff527f1732f285"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chapter8/curly-quote-sft/evaluate.py:28-43 | chapter8/exact-copy-sft/evaluate.py:12-25 \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":"chapter8/curly-quote-sft/evaluate.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e3826bbcc1bd428ee0486ccf4be25455bed910f32da780e1e9ee81d02cebf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (89 corresponding lines): chapter3/user-memory/agent.py:66-156 | chapter3/user-memory/conversational_agent.py:55-143 \u2014 These two members are one piece of code written twice and then edited apart: 89 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc989a1c0ab6e6a54d9b064536a8a495ce3b589c28813010093d909efbc1569"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): chapter6/rgb-sim2real-grasping/validate_evidence.py:23-58 | chapter6/xlerobot-teleoperation/validate_evidence.py:23-53 \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":"chapter6/rgb-sim2real-grasping/validate_evidence.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd9f86127297882b7fac8fdfd6085ad0d60bf45c9cb5d57def5624c9ce1f656"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (100 corresponding lines): chapter3/agentic-rag-for-user-memory/indexer.py:377-491 | chapter3/contextual-retrieval-for-user-memory/indexer.py:276-375 \u2014 These two members are one piece of code written twice and then edited apart: 100 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe55df3f58474b83bd648f65b7e66191668424d91951d8e696e81d0ff724fd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (72 corresponding lines): chapter3/agentic-rag-for-user-memory/quickstart.py:53-124 | chapter3/contextual-retrieval-for-user-memory/quickstart.py:54-125 \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":"chapter3/agentic-rag-for-user-memory/quickstart.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda80a730a4477815399d638dc37d6f94997b7ade95251c7762f0b14afe9cd75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (121 corresponding lines): chapter5/coding-agent/agent.py:182-302 | chapter5/coding-agent/agent_new.py:109-266 \u2014 These two members are one piece of code written twice and then edited apart: 121 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/coding-agent/agent.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7c7ef47ff64bafb694dc0eef293d3d3717273a757e0d0983366d1b156d61a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (56 corresponding lines): chapter3/agentic-rag-for-user-memory/agent.py:137-196 | chapter3/contextual-retrieval-for-user-memory/agent.py:137-192 \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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2156f6560f9494b405d41da8a755316be75c2d5d406ee5a79c7d8a7cc3fcff5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): chapter3/agentic-rag/chunking.py:46-104 | chapter3/contextual-retrieval/chunking.py:46-104 \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":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f14224e931d5ef5c2d5752b2790942d48f18911fccee78a5669d54cabbdd1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): chapter3/dense-embedding/cli.py:220-254 | chapter3/sparse-embedding/cli.py:178-210 \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":"chapter3/dense-embedding/cli.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bad1e85970c3547a6a93b988dd38cdd1cec1a61182ea155fab01ff7c54aa93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): chapter3/agentic-rag/main.py:60-115 | chapter3/contextual-retrieval/main.py:60-113 \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":"chapter3/agentic-rag/main.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bc800637182261e5471aa0f590e075b8c52d974e001271400024cae8acfbf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (77 corresponding lines): chapter3/user-memory/locomo_benchmark.py:276-356 | chapter3/user-memory/locomo_benchmark.py:363-439 \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":"chapter3/user-memory/locomo_benchmark.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f5d476e87ee4183fb94d577ce4ff4fa7e7a5ea22756c8e76f85aeb68bffa0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): chapter8/orpheus/inference.py:197-258 | chapter8/orpheus/orpheus_sft_unsloth.py:421-467 \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":"chapter8/orpheus/inference.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"51193da8d49782a63079336e4532a206aef42622ccd2e21c6895547bce3768c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): chapter9/harness-safety-gate/demo.py:25-62 | chapter9/self-modifying-agent/demo.py:16-46 \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":"chapter9/harness-safety-gate/demo.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f9457f0fb63cbf46701c4c1950121f4587a4e862ad2beff9a92d0dfff508bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): chapter3/agentic-rag/index_local_laws.py:408-455 | chapter3/contextual-retrieval/index_local_laws_contextual.py:473-536 \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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5d990257aa52c77203721aa7aff9ec303085c8556b867b752cbe6ab281e523"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): chapter3/agentic-rag/evaluation/evaluate.py:47-97 | chapter3/contextual-retrieval/evaluation/evaluate.py:39-89 \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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee4bafe793be5493ddb65612cd8912f659567b5fe0eb0d43032abc50e62c624"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py:39-87 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py:91-138 \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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb1a50bbdda1ab42b1df76fec2b04f9aa02c3fe8bf5f5de2ea98acc15e201dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): chapter3/structured-knowledge-extraction/generate_data.py:38-67 | chapter3/structured-knowledge-extraction/generate_data.py:115-151 \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":"chapter3/structured-knowledge-extraction/generate_data.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b1cd8a6cabc3fdef7d1b20a0d3983665c3e969debf4d94319e72f9a1b90b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 70\u002B corresponding lines): chapter4/perception-tools/src/pubchem_tools.py:303-375 | chapter4/perception-tools/src/pubchem_tools.py:382-451 | chapter4/perception-tools/src/pubchem_tools.py:459-544 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 70 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or 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":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"77416171fdee2526218f4ec34097a110d9cf7548c8f1a84594b44f2d534e6b0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): chapter2/system-hint/main.py:31-81 | chapter3/user-memory/main.py:41-89 \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":"chapter2/system-hint/main.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46e30eba61c0ad36995740ffd0c2cb69526b8238bcc6e8a9c4422d78a0e6829"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): chapter3/structured-index/config.py:97-131 | chapter3/structured-index/config.py:135-169 \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":"chapter3/structured-index/config.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3877bdc56d8945c07e335e11e8b1b734d2e24e94ce8fa32407c7b06c6d0782b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/regeneration_robustness.py:139-188 | chapter5/permission-embedded-data-objects/pedo/eval/regeneration_robustness.py:192-247 \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":"chapter5/permission-embedded-data-objects/pedo/eval/regeneration_robustness.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"26acecb376e2fbd48301c2902524156517d81042e66389ec245743984bf19ae9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (69 corresponding lines): chapter3/user-memory/agent.py:893-961 | chapter3/user-memory/conversational_agent.py:216-295 \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":"chapter3/user-memory/agent.py"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d70fc96b0d9745ace690dcb95c00f73664c2563425270b352ef5611c4f335d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 45\u002B corresponding lines): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:329-374 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:460-504 | chapter8/continued-pretraining/validation/run_report_audit.py:288-337 \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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f3988800c33ef4ffdc934fd45aa67e3b077045ba7cfb5e45802df1fe630d85"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (82 corresponding lines): chapter2/system-hint/agent.py:558-668 | chapter6/agent-with-event-trigger/agent.py:838-919 \u2014 These two members are one piece of code written twice and then edited apart: 82 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"0110a888d154dbd18c36975a533110fd682becedadfc8c752fce10854124bfec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (75 corresponding lines): chapter7/tts-quality-eval/pipeline.py:509-583 | chapter7/tts-quality-eval/pipeline.py:593-673 \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":"chapter7/tts-quality-eval/pipeline.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b2f497d5002b21d55d4ef68fe86aa5f081077abfac60918aca67cbaaf5f43c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): chapter9/tau2-escalation-experience/analyze.py:19-43 | chapter9/tau2-escalation-experience/build_evidence.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":"chapter9/tau2-escalation-experience/analyze.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e53846114d77f238e69ef4a5b467d250ff376b59e6713cd7898308d5e6596b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): chapter3/agentic-rag-for-user-memory/indexer.py:294-343 | chapter3/contextual-retrieval-for-user-memory/indexer.py:202-242 \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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda74bd39928bcab416385651b638e79420a135416eb331e64363d326ed20d03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:303-323 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:418-447 | chapter8/continued-pretraining/validation/run_report_audit.py:255-277 \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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a8695cc3904362c5fdbeb8691cc5aa3aeb0424e4e3fa7604d17116c6d60e44"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (53 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:608-675 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:679-731 \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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6caad3f86b5b48f62c111209cae05ffe8bdec41fdcffe5dbd45d05de1a0ced"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_harness_focused.py:80-96 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:141-165 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:317-346 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_harness_focused.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdb81eeed621fa7e4b920635dee7eae6278121d0e0dc9d70bcbd0a66376517f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): chapter4/perception-tools/src/filesystem_tools.py:168-215 | chapter4/perception-tools/src/filesystem_tools.py:223-278 \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":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f2f128f1346bae2a50ce882e19b0983c7df3f6379fccb0d1dfeed0efb34157"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): chapter8/sesame/batch_inference.py:167-234 | chapter8/sesame/inference.py:150-226 \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":"chapter8/sesame/batch_inference.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e134c410657efde106504db6ee5238955333273007443010eb3f53d4bd848f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): chapter2/agent-skills-ppt/skills/pptx/scripts/generate_pptx.py:46-71 | chapter2/agent-skills-ppt/skills/pptx/scripts/generate_pptx.py:75-108 \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":"chapter2/agent-skills-ppt/skills/pptx/scripts/generate_pptx.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b5438c0578fb762ef54fa4e66443e6151d4834f20a93ba47e001b094a3ae9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): chapter6/agent-with-event-trigger/server.py:120-173 | chapter6/agent-with-event-trigger/server_fastapi.py:119-167 \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":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65701c1c92fdf3c39f1d70835e9ff176a777c5b1dd1fbec57b5a01022d2c9ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): chapter3/structured-knowledge-extraction/archetypes.py:58-79 | chapter3/structured-knowledge-extraction/campaign.py:375-393 \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":"chapter3/structured-knowledge-extraction/archetypes.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe5c5fbdaa69358241e3e1d090a311407462466d0d43d313749f697eee72557"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 51\u002B corresponding lines): chapter4/multimodal-agent/agent.py:196-246 | chapter4/multimodal-agent/agent.py:249-300 | chapter4/multimodal-agent/agent.py:623-674 \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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1ddaee63568d44bb94e3087d14ba5428733e644e0ec45badf3e3047f4dc88f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): chapter10/autonomous-phone-registration/decision.py:16-69 | chapter10/parallel-web-research/llm.py:15-29 | chapter10/voice-werewolf/werewolf/strategy_audit.py:71-88 \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":"chapter10/autonomous-phone-registration/decision.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85575086952ef564200dac2ff8f62c9ced88ebabe505d6282134b8bdf694b70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (44 corresponding lines): chapter2/system-hint/agent.py:723-774 | chapter6/agent-with-event-trigger/agent.py:968-1011 \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":"chapter2/system-hint/agent.py"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4eca1109c1c3a22be2c1714e6845906839ac3cbd02f15ed8d1662569fed77b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): chapter2/context-compression/experiment.py:287-326 | chapter2/context-compression/run_all_strategies.py:362-396 \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":"chapter2/context-compression/experiment.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"01dfd2337a90eae324604828bc1d0b3c0e0026919cc3fbae550fa5fc25931e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): chapter4/execution-tools/multilang_executor.py:495-542 | chapter4/execution-tools/multilang_executor.py:552-596 \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":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"41224abb55e70107993f9cd24062c0ef70de3d9c001ec440aef85a255fa0b58a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): chapter5/log-diagnosis/campaign.py:81-100 | chapter5/video-edit/campaign.py:104-120 \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":"chapter5/log-diagnosis/campaign.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bb3c1a71e2cfabda3672b643ae4fd851b25c9064f35c65cf8e185899fe4907"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (59 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_baseline.py:107-185 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_baseline.py:189-247 \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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_baseline.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a88001fa9346aa0d17d862601728596e9a9f5297ffe505da1ccbba3b528ebb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): chapter3/agentic-rag-for-user-memory/main.py:48-84 | chapter3/contextual-retrieval-for-user-memory/main.py:52-87 \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":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f262a6ba3b019fedce333b01f0834db3a76dd5508b07e3a8bbf03abba446d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (49 corresponding lines): chapter7/elo-leaderboard/visualization.py:181-230 | chapter7/elo-leaderboard/visualization.py:234-282 \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":"chapter7/elo-leaderboard/visualization.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"872d67119cc4d22dd72a23bad5487204e64a8b6ab934e67248cd5835d090932b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): chapter7/user-memory-system-evaluation/probe_candidates.py:37-52 | chapter7/user-memory-system-evaluation/probe_candidates.py:56-73 | chapter7/user-memory-system-evaluation/probe_candidates.py:77-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 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":"chapter7/user-memory-system-evaluation/probe_candidates.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d335070d153410bc364f38c70eea8034bd53dfb615923935b6239a1fedb32c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chapter6/phone-agent/demo.py:20-33 | chapter6/phone-agent/direct_call.py:15-39 \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":"chapter6/phone-agent/demo.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"732cbfd0986f3f6f22ce4d86db47f29545e0f2bb884772a265c31f39f15d5e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): chapter3/contextual-retrieval/campaign.py:45-54 | chapter3/dense-embedding/benchmark.py:62-74 \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":"chapter3/contextual-retrieval/campaign.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43ada4a8f01197c03ff95793363357a8033c754ea8460f3908d59a46b50a2d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:304-325 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py:228-240 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f48d2a9220b6b2d723fcd44eaf09a1775cf2938d0a46076ce4e4e8d4576b61"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): chapter3/dense-embedding/indexing.py:77-107 | chapter3/dense-embedding/indexing.py:284-313 \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":"chapter3/dense-embedding/indexing.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2256d578e743074a9096493f725507d03a7fd1207ce1239c9d2f48e328ab95ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): chapter3/dense-embedding/indexing.py:176-205 | chapter3/dense-embedding/indexing.py:352-380 \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":"chapter3/dense-embedding/indexing.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8d76031a98c0661d9090c0d9aa475731274876e0b61a037c8613baad92fa43"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): chapter3/dense-embedding/cli.py:104-118 | chapter3/structured-index/campaign.py:145-158 | chapter4/active-tool-discovery/run_exact_experiment.py:249-260 \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":"chapter3/dense-embedding/cli.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4ffcc61451218a1a54f95a0053673d54d62d6919f859d7f8148458af7b88fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (36 corresponding lines): chapter4/execution-tools/multilang_executor.py:446-485 | chapter4/execution-tools/multilang_executor.py:606-641 \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":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"5675d238886d71acfcd7711d46f7a30d7cca9ff8a038a5880bccac0d868e154d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): chapter3/user-memory/agent.py:300-324 | chapter3/user-memory/conversational_agent.py:164-203 \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":"chapter3/user-memory/agent.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe74b1231d770c455f952cbc623e0295556d2b05e5c9b7643b1bacefd2f0408"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:189-256 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py:190-224 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfbf748d915cd0aaced8e8e2007a5f26e953876eed48c498bf9d29464cc8441"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): chapter5/permission-embedded-data-objects/pedo/core/store.py:135-163 | chapter5/permission-embedded-data-objects/pedo/core/store.py:701-719 \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":"chapter5/permission-embedded-data-objects/pedo/core/store.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51f39ccba7dd345f10db1feb98e5d0aa8dcdb0112c84dec2ea389dcf5b5ea6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): chapter3/agentic-rag/config.py:136-172 | chapter3/contextual-retrieval/config.py:135-176 \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":"chapter3/agentic-rag/config.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"083d21bf4e794e69ac1865829ee62a93c1ec0751a587874c7b8c2236c1d0fe66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (67 corresponding lines): chapter4/execution-tools/file_tools.py:40-106 | chapter4/execution-tools/file_tools.py:114-196 \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":"chapter4/execution-tools/file_tools.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d9d7800958e041f4c5191303c89cb838a809153f6b385b1f6ad8693e5ff271"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chapter4/collaboration-tools/run_experiment_4_5.py:489-511 | chapter4/execution-tools/run_experiment_4_4.py:262-274 \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":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafc0a110c699c8ea16a313f136aac6dc285e4b6178ebfdfa56ff8fbfc697c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chapter5/code-for-logic/build_hf_puzzles.py:171-183 | chapter5/code-for-math/build_aime_2024.py:80-88 \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":"chapter5/code-for-logic/build_hf_puzzles.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"619ffe2a63960d9ac69fab55fd58f818122604cc2fb9ae4d0dc46183dbbee81e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): chapter4/active-tool-selection/semantic_router.py:69-106 | chapter4/active-tool-selection/semantic_router.py:197-246 \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":"chapter4/active-tool-selection/semantic_router.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f85dab565249f9ebbaf3e22f2efb35734ea70b21e78929c5ba8c86b2b119581"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): chapter5/code-for-logic/sandbox.py:15-34 | chapter5/code-for-math/sandbox.py:26-67 \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":"chapter5/code-for-logic/sandbox.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ce4955cbdb7547a798a6c486b5e9bae9c8c4834ff3ec2c13c11aacfdd06670"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chapter7/elo-leaderboard/benchmark.py:13-34 | chapter7/elo-leaderboard/benchmark.py:38-61 \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":"chapter7/elo-leaderboard/benchmark.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"067da8dad49cc92037d95c6e32e4555c66e827d77c9e704f9c9f905e1f111581"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): chapter8/premature-completion-dpo/build_preference_data.py:60-75 | chapter8/premature-completion-dpo/evaluate.py:140-155 \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":"chapter8/premature-completion-dpo/build_preference_data.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bd0ca2f5f38f0bd4e0fe436b95522b7e618dffb75ec118d6d9e0b8f4ccdf88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chapter5/permission-embedded-data-objects/pedo/core/store.py:518-536 | chapter5/permission-embedded-data-objects/pedo/core/store.py:539-556 \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":"chapter5/permission-embedded-data-objects/pedo/core/store.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c65f19bb3f19aee1f73ddabdba0118a08dbc30c147e97d2787f0e97cf0b5a76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chapter6/gemini-xlerobot-navigation/desktop_planner.py:70-83 | chapter6/gemini-xlerobot-navigation/desktop_planner.py:86-99 \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":"chapter6/gemini-xlerobot-navigation/desktop_planner.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"67022aa0f99bce01cddbaae8439cce5c193b655e12d8176c2fdf0f0a871a5247"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:656-668 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:807-820 | chapter8/continued-pretraining/validation/run_report_audit.py:684-696 \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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"760b677a1025cd0542ad7d04d0c7e54b6ca6c642b76a2df64b67553edf1cc529"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): chapter3/agentic-rag/tools.py:59-83 | chapter3/agentic-rag/tools.py:302-330 | chapter3/contextual-retrieval/tools.py:309-335 \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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e889e219f5dd02890216800219017fcf04ff711a48efd23e024ff8aec53f550c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): chapter3/agentic-rag/index_local_laws.py:261-293 | chapter3/contextual-retrieval/index_local_laws_contextual.py:237-277 \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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94836dc6dd479c27029a3bdf3566a67b0859dbc13f165af0cd594833514a709"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:73-91 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:95-119 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:123-142 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ed5d1465af6d3a8279f4b42b83c9cc4f76dbe0aa0cb709c2a89d0a08bab582"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 27\u002B corresponding lines): chapter4/multimodal-agent/agent.py:447-473 | chapter4/multimodal-agent/agent.py:532-562 | chapter4/multimodal-agent/agent.py:565-598 \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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4fe07ddfbe7729e7fe1dec086832590084c392df9eb1a0d6b3d55ecee5dc377"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): chapter3/agentic-rag/index_local_laws.py:99-125 | chapter3/contextual-retrieval/index_local_laws_contextual.py:113-139 \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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a100c731440fef370ae3cde86c14670852161ec304c5592f9a0377f6fa0763b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): chapter4/execution-tools/filesystem_enhanced.py:443-496 | chapter4/execution-tools/filesystem_enhanced.py:504-557 \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":"chapter4/execution-tools/filesystem_enhanced.py"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"2395eb3d5597ed9c887e301235e3fd8d8d9f17468728ce1f511624acd7a0f5d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): chapter6/controllable-tts/evaluate_audio_quality.py:69-82 | chapter7/tts-quality-eval/pipeline.py:133-145 \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":"chapter6/controllable-tts/evaluate_audio_quality.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e425fd3bc86567ffa2eb9c301b9cac58745d08820d952c8c74c0d8c94e791f8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): chapter5/adaptive-log-parser/agent.py:97-112 | chapter5/dynamic-form/demo.py:80-99 \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":"chapter5/adaptive-log-parser/agent.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1772fea0a29f3c97c6ef5e5bd3b97af37e62ec941f8e3a72a329171fd4ca7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chapter1/context/run_experiment_1_1.py:416-438 | chapter1/web-search-agent/run_experiment_1_2.py:71-88 \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":"chapter1/context/run_experiment_1_1.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c93393ec16ceb12a6b05dfb0831fe97cc307f2fc1857777bd1fefe6c4f8174"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 17\u002B corresponding lines): chapter3/user-memory/conversation_history.py:77-93 | chapter3/user-memory/memory_manager.py:143-160 | chapter3/user-memory/memory_manager.py:388-405 | chapter3/user-memory/memory_manager.py:570-587 \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":"chapter3/user-memory/conversation_history.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c385f3400b12119d66e44ae410407567704ceefab394a67ecaacb0883784a5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): chapter9/harness-safety-gate/evolution.py:69-87 | chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py:30-44 | chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py:30-45 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"chapter9/harness-safety-gate/evolution.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5226ced1c1f4a4b19e72fbcbea446fa44d89f1febe24ff9c64897714601ce715"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): chapter2/attention_visualization/main.py:65-83 | chapter2/local_llm_serving/agent.py:66-94 \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":"chapter2/attention_visualization/main.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00c5a936415970d8648cc15ab8970597530eb88f4fa6f40212f9e94b4484be4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): chapter3/retrieval-pipeline/retrieval_client.py:31-46 | chapter3/retrieval-pipeline/retrieval_client.py:49-66 \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":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa410311bed31d7f93e94a8f330fe2f1f471de51ba75b9ad67d8ca990fe8497"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): chapter3/user-memory/memory_manager.py:128-140 | chapter3/user-memory/memory_manager.py:373-385 | chapter3/user-memory/memory_manager.py:555-567 \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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"289e67c95ab46d4129acbff46b094ca436f97c38a113643c744396ae5e283bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chapter3/structured-index/document_processor.py:64-91 | chapter3/structured-index/document_processor.py:94-111 \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":"chapter3/structured-index/document_processor.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ef707c1757ef156cae590f7732f6f2c9dd03c6ffe5e2b6ff1cf130aa77813c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): chapter6/streaming-speech/demo.py:35-44 | chapter7/tts-quality-eval/pipeline.py:308-325 \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":"chapter6/streaming-speech/demo.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"38821939dbba5f870a151ccf3e5167b29f7c77973610afecffa2e9bfbb38f63a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 53\u002B corresponding lines): chapter4/execution-tools/terminal_controller.py:303-355 | chapter4/execution-tools/terminal_controller.py:363-416 | chapter4/execution-tools/terminal_controller.py:424-478 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 53 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or 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":"chapter4/execution-tools/terminal_controller.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b12b4e1c73f51f0d0a019cb52500c78808e9f9ef79abf8bed2f250a0a023d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): chapter4/active-tool-selection/examples.py:11-33 | chapter4/active-tool-selection/examples.py:65-88 \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":"chapter4/active-tool-selection/examples.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"30946721aa6e4b10f8d3df10b66858078187b02eb85f7dc03bfda4cec8e60cde"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:247-259 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:473-486 | chapter5/permission-embedded-data-objects/run_targeted_eval.py:289-300 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39d40b9242262780c1ec6bcb47b0bc91fe050596cb83e15845f2f3cb7f9c0a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 22\u002B corresponding lines): chapter9/browser-use-rpa/run_experiment_9_5.py:127-148 | chapter9/prompt-auto-optimization/config.py:184-205 | chapter9/trajectory-verifier/evidence_client.py:63-85 \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":"chapter9/browser-use-rpa/run_experiment_9_5.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c058621842395f737b1a942b71975f4134292a05e69dbce07718bec52ff3eb9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): chapter5/coding-agent/tools/grep_tool.py:197-226 | chapter5/coding-agent/tools/grep_tool.py:231-260 \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":"chapter5/coding-agent/tools/grep_tool.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"999c9d1ac41aef8999f25b71866744c96592c0484449d07bf4a245b97a16bd38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): chapter2/system-hint/agent.py:227-281 | chapter6/agent-with-event-trigger/agent.py:473-526 \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":"chapter2/system-hint/agent.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b98110418ace234c097346f05119f462ae322438c74ffe740eee109c654189"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py:242-267 | chapter3/user-memory/memory_manager.py:524-541 | chapter3/user-memory/memory_manager.py:717-734 \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":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"750fd7ffeb5365b98ebcb6123b1680cb6a9e749a2c5ab8e4457e44d8b0af40fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): chapter4/active-tool-discovery/agent.py:88-106 | chapter4/active-tool-discovery/offline_backend.py:124-139 \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":"chapter4/active-tool-discovery/agent.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"06659145f27ff21973ddf3d352d5f548694d02776f8e32a6daedd69d71493c40"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): chapter4/execution-tools/cli.py:112-128 | chapter4/execution-tools/cli.py:142-157 \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":"chapter4/execution-tools/cli.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"1647ec76c65c3d1ab4a731a35cce45ccd18c48b50a3285d2d6a54a6b523c20d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chapter3/agentic-rag/index_local_laws.py:296-317 | chapter3/contextual-retrieval/index_local_laws_contextual.py:313-349 \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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba5fa126f3562dbc70abd9d28f74a05767d30bd741152acf8dbfdb9b68880a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chapter8/curly-quote-sft/train_sft.py:21-30 | chapter8/exact-copy-sft/train_sft.py:15-23 \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":"chapter8/curly-quote-sft/train_sft.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7d089e00c7aba2f54709e2fea300c80d12c1035aef0ba74086bbee464bf286"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chapter3/agentic-rag/campaign.py:111-118 | chapter3/user-memory/run_evaluation.py:193-212 \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":"chapter3/agentic-rag/campaign.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a979d2252cc50c95b41e6d7d2a2a967d72a80f24195c0216af173e6f582c6f68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chapter3/retrieval-pipeline/evaluate.py:358-365 | chapter3/retrieval-pipeline/stage_evaluator.py:196-210 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/evaluate.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8108d0f85d8fdd37788eec15d921b559270af77c6f0b51ed50ad74805a5e561"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): chapter3/retrieval-pipeline/fusion.py:71-91 | chapter3/retrieval-pipeline/fusion.py:98-123 \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":"chapter3/retrieval-pipeline/fusion.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"85965711546a8ef4bfcb435721a7c873d448b9cc9744a5fc5cfa826713e5bba3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): chapter5/coding-agent/agent.py:71-83 | chapter5/coding-agent/agent_new.py:58-69 \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":"chapter5/coding-agent/agent.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2297f1f2cbf09d82b8f9e8fdea26b71f83398688f015a4821f6aef6493258c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chapter5/adaptive-log-parser/agent.py:121-134 | chapter5/erp-agent/agent.py:62-75 \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":"chapter5/adaptive-log-parser/agent.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"17900dbf0e60bfd7fa897cfec62f5792b85a7b07eb26bfcfbe3f6d60628385ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): chapter5/log-diagnosis/campaign.py:651-656 | chapter5/video-edit/campaign.py:784-788 \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":"chapter5/log-diagnosis/campaign.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d24599c1e4f97cc89875780c2c5efb08b436bf8d889a95ea6334d6d8ac4309"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:73-87 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:101-117 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:131-149 \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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ae01d7fa25a842542df067bdb19112220f0d614fe7a217033b2050585cb7ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): chapter3/agentic-rag-for-user-memory/config.py:227-249 | chapter3/contextual-retrieval-for-user-memory/config.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":"chapter3/agentic-rag-for-user-memory/config.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b0e2d345f3c38f22acb1d5f687642c1bb7f44edf3fde43f7fbf42ac7a86f8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:181-194 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:45-56 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:43-60 | chapter5/permission-embedded-data-objects/run_targeted_eval.py:36-54 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"959b53bc66eb08e3d09295f39f5d63b8963ffeee73f8df6c3dc4635486db39a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chapter3/retrieval-pipeline/main.py:116-137 | chapter3/retrieval-pipeline/main.py:141-169 \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":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5037cbbdccf59f9f27656076677f319952cfe2db9f95c13bdf14e93f4a826ec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): chapter10/multi-role-transfer/run_comparison.py:95-106 | chapter7/model-benchmark/analysis.py:31-42 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/multi-role-transfer/run_comparison.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"342374a843d2130edc5ebaf098b71aa2918a189874a9d1509fa2ca4d4f417dee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): chapter2/attention_visualization/tools.py:280-345 | chapter2/local_llm_serving/tools.py:259-328 \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":"chapter2/attention_visualization/tools.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e233d837c83585bf640b06ebd11b44cdd0ce78d743d21c26e9881749d4f9ba33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py:355-368 | chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py:400-411 \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":"chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"77526ba3d794a7c37eb8e30d7b3824803588e895a8ded70d13edbb098e1eb84d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): chapter5/permission-embedded-data-objects/pedo/scenarios/ecommerce.py:40-50 | chapter5/permission-embedded-data-objects/pedo/scenarios/hiring.py:32-45 | chapter5/permission-embedded-data-objects/pedo/scenarios/project_mgmt.py:36-48 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"chapter5/permission-embedded-data-objects/pedo/scenarios/ecommerce.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a67ff00dcd8a3ef38c16515e40ee240d62ab07d35a3ccff290679776d89d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): chapter3/agentic-rag/chunking.py:107-116 | chapter3/contextual-retrieval/chunking.py:107-116 \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":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbb925bb9db296ab7dc51dab1183e7b44484eace42ea11fbbdc21320480c272"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 33\u002B corresponding lines): chapter4/collaboration-tools/src/excel_tools.py:153-185 | chapter4/collaboration-tools/src/excel_tools.py:194-230 | chapter4/collaboration-tools/src/excel_tools.py:236-271 \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":"chapter4/collaboration-tools/src/excel_tools.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ae22ad3b9072d3f5283bd5789e8a92b0ed4e6c8a34cfe889e7f81600b25a57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): chapter7/user-memory-system-evaluation/experiment.py:107-115 | chapter7/user-memory-system-evaluation/experiment.py:160-166 \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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"437a33af661625002060d97420cb9bc46265f9c6e28e0e2adafd1b80d9cbc4bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chapter4/active-tool-selection/agent.py:28-50 | chapter4/active-tool-selection/agent.py:289-306 \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":"chapter4/active-tool-selection/agent.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a910f4053d221bd47386eeb22d6e16008069aff1d4d4930525c5a820dfdedca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py:150-160 | chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py:310-321 \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":"chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"29138275a2e5d15a35ab4bc3c046e215fe434afd2db2097256f323b12e130af3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chapter2/system-hint/agent.py:671-690 | chapter6/agent-with-event-trigger/agent.py:922-939 \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":"chapter2/system-hint/agent.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"70413adc6fded02c77a192371bfee85e8cfc1166168dba8409b5c9b40e38a7eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/scenarios.py:31-64 | chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/scenarios.py:92-123 \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":"chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/scenarios.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3de74fcb34a184ec97846f73ad3581dbcc78d4063977cf5678e8060c622144d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chapter3/dense-embedding/config.py:46-59 | chapter3/retrieval-pipeline/config.py:62-70 \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":"chapter3/dense-embedding/config.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"7438dac00d76010a349d1ce4466605e3ccf753f1f427da48a78528ccb43a80c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): chapter4/collaboration-tools/run_experiment_4_5.py:210-215 | chapter4/execution-tools/run_experiment_4_4.py:42-52 | chapter4/perception-tools/run_experiment_4_2.py:273-282 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"33975e38819f409e486ee9e2efb9b6edb33df397e50ec26c92cc4ffc7f67ebf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chapter3/structured-knowledge-extraction/campaign.py:195-202 | chapter3/structured-knowledge-extraction/campaign.py:253-266 \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":"chapter3/structured-knowledge-extraction/campaign.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"046d809f201e983c3e9ef533741ca0ad21c9b8e31291c3dd63e2eece08f53bf6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): chapter4/active-tool-discovery/run_exact_experiment.py:1050-1057 | chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py:623-635 | chapter6/async-agent/run_real_experiment.py:379-385 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 7 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd098425771652a869b224ce8607132d2bbe93c63ae4611efde402d93320dff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_harness_focused.py:63-76 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_spec_errors_v2.py:243-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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_harness_focused.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29b1edf56f6331cd5cae3b9e8746daa825bb3f8b17443116d2ef90afc713253"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chapter3/user-memory/config.py:124-147 | chapter4/execution-tools/config.py:92-105 \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":"chapter3/user-memory/config.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"791492836e54d341ef75e7920530f0198b990942641d7cf869d69d2f58d9fca2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): chapter5/erp-agent/campaign_postgres.py:68-76 | chapter9/trajectory-verifier/evidence_client.py:21-27 \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":"chapter5/erp-agent/campaign_postgres.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb8c1857560611cbef5a2c9693f6d6a72b6da3152f2171617ed96adad4a78e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/metrics.py:106-114 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/metrics.py:117-125 \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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/metrics.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1111aed86ca627d9a36912443365247dfd1eb782bbd95efd458f2ae6313c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): chapter10/multi-role-transfer/run_official_experiment.py:120-125 | chapter10/parallel-web-research/run_official_experiment.py:211-216 \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":"chapter10/multi-role-transfer/run_official_experiment.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0aa1c65b541ed5e91115d8c31e0ad7418ed3095f690f384436ddc4c6ea21ff1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): chapter2/context-compression/compression_strategies.py:349-367 | chapter2/context-compression/compression_strategies.py:565-590 \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":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89ed2fbc7196576d1676a2631fba88167c682ee5f3001f1de96fa814bf18533"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): chapter2/system-hint/agent.py:191-212 | chapter6/agent-with-event-trigger/agent.py:434-459 \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":"chapter2/system-hint/agent.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d77e3a7fe95af8188810b2bbdd01f4c12d360a990ee06f7ae4c3dadaf7c5a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chapter3/agentic-rag/tools.py:37-48 | chapter3/contextual-retrieval/tools.py:37-47 \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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7174cb8e61421833e23a352e82c5b35e2f36b069b23969a268b23f72347ee00b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): chapter3/user-memory/memory_cli.py:64-72 | chapter3/user-memory/memory_cli.py:94-99 \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":"chapter3/user-memory/memory_cli.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4557670a85ecc40afb5a7e4ebd1f684ba29bffabf08d15ad1e7bfdcdbaf0fe4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter8/curly-quote-sft/generate_data.py:136-139 | chapter8/exact-copy-sft/generate_data.py:50-53 \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":"chapter8/curly-quote-sft/generate_data.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"766d25ef7fa55feffb4acd230beb5d5c3f55d5504ae07ae8c1f948b2637bf665"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 4\u002B corresponding lines): book-ar/svg_lib.py:533-536 | book-en/svg_lib.py:507-510 | book-es/svg_lib.py:507-510 | book-id/svg_lib.py:507-510 | book-ru/svg_lib.py:507-510 | book-tr/svg_lib.py:507-510 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"082fc61549301f64e2c1fbe3a5e3f05b8e5ef812b8521ed942c5ccd3cf6562a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chapter10/autonomous-phone-registration/run_acceptance.py:68-76 | chapter10/autonomous-phone-registration/webrtc_channel.py:486-495 \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":"chapter10/autonomous-phone-registration/run_acceptance.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"104dd356a567ba08ef05297addb93505143802d2f2eb8ac526f3818d253512f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): chapter10/staged-system-prompt/runs/staged-system-prompt-kimi-k3-20260730-v1/workspace/organize_downloads.py:81-104 | chapter10/staged-system-prompt/runs/staged-system-prompt-kimi-k3-20260730-v2/workspace/organize_downloads.py:47-63 \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":"chapter10/staged-system-prompt/runs/staged-system-prompt-kimi-k3-20260730-v1/workspace/organize_downloads.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4249f75f1e630fa55c4cd7009fedf9cde1d2e76db975d673a0d7b7972e4d4607"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chapter3/structured-knowledge-extraction/discovery.py:109-116 | chapter3/structured-knowledge-extraction/discovery.py:120-129 \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":"chapter3/structured-knowledge-extraction/discovery.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"090b4b1511e5244e477662f5f5a1c008f737a7d93edb926a804529f41195a6ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): chapter7/model-benchmark/campaign.py:52-71 | chapter7/user-memory-system-evaluation/rebuild_report.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":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c20c31db8f796312b0271c7968662ee45e6e222a00cc4f985a3c2bbfcab59f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chapter4/collaboration-tools/run_experiment_4_5.py:158-168 | chapter5/paper-to-ppt/agents.py:158-169 \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":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d855a293439113f9bed5ed277dee2791d45eb1cbf310c6d737f9109a168194"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): chapter7/model-benchmark/campaign.py:327-336 | chapter7/model-benchmark/campaign.py:339-355 \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":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9bec06f8dc292bf5e9b82ffc135aa9631d17a9418c7caf7dd98af883b12778"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chapter3/user-memory/run_evaluation.py:95-103 | chapter3/memory_rag_campaign.py:63-70 \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":"chapter3/user-memory/run_evaluation.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"da25cb519d7df4fa913a6d0946fd5272cff4997990b87fea7be849ef3c40aa3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter3/retrieval-pipeline/evaluate.py:183-186 | chapter3/retrieval-pipeline/evaluate.py:271-274 \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":"chapter3/retrieval-pipeline/evaluate.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b00243f2f507f846327d3e576b09d6d445504ce2976d87e21e331dc64a6978"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): chapter9/self-evolution-eval/agent.py:152-157 | chapter9/trajectory-verifier/llm_judge.py:19-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":"chapter9/self-evolution-eval/agent.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7c589dfad3b63ef1e05bbd85a9543916471242f80ae96b722f2284ab6277d5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter4/active-tool-discovery/discovery.py:33-36 | chapter4/active-tool-discovery/run_exact_experiment.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":"chapter4/active-tool-discovery/discovery.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2458556f695d085920443c10940ab2b902542aa730be0e9989db81b67e7a234"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): chapter4/execution-tools/filesystem_enhanced.py:564-610 | chapter4/execution-tools/terminal_controller.py:109-151 \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":"chapter4/execution-tools/filesystem_enhanced.py"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51d2b00e806b5412327385347724dcd40bf6769d0930dca225cd5b14e936aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chapter9/browser-use-rpa/browser-use/browser_use/mcp/server.py:1042-1058 | chapter4/execution-tools/server.py:346-359 \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":"chapter4/execution-tools/server.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea8bae1777c78ae937ea5f9f9362e81c6335ccf7a3caaade97dbc4424453011"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): chapter3/contextual-retrieval/campaign.py:34-42 | chapter3/dense-embedding/benchmark.py:52-59 \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":"chapter3/contextual-retrieval/campaign.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"992f9f2e2db35797e1ef2cc17606b9cab41ca17036b3fbf0266e7678a45de6c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): chapter6/agent-with-event-trigger/agent.py:1286-1296 | chapter2/system-hint/agent.py:1052-1061 \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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bcb3e5360620f3cb86cac95742365d2ec26c05a802df89b164afc02a97badb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): chapter5/adaptive-log-parser/campaign.py:69-72 | chapter5/conversational-ui/campaign_browser.py:55-58 | chapter5/dynamic-form/campaign.py:49-54 | chapter5/erp-agent/campaign_postgres.py:80-85 | chapter5/small-model-codified-rules/demo.py:366-377 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/adaptive-log-parser/campaign.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a43c7fd8d367fa4cf11fde456225c42e88abe4f08691c95ef76cf79006aad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter10/generative-agents/run_campaign.py:61-64 | chapter2/system-hint/run_experiment_2_8.py:44-47 \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":"chapter10/generative-agents/run_campaign.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d5eac7f1f9ed5d58b048b87b2d7d1ebc718226b9f21281d6121f55277fef07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter2/local_llm_serving/benchmark.py:328-334 | chapter7/model-benchmark/campaign.py:1015-1018 \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":"chapter2/local_llm_serving/benchmark.py"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"86edc28362e0c471589eec43bf97f3275cd2a7f31db328999f73c86d4edf61a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): chapter5/cad-vs-diffusion/receipts.py:18-22 | chapter5/paper-to-ppt/demo.py:73-77 | chapter7/tts-quality-eval/pipeline.py:820-825 \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":"chapter5/cad-vs-diffusion/receipts.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"325dd66bbcdb17d2aa5f472ec6263ab46bbea3068fffc0fb3b687d2323bb0a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): chapter6/controllable-tts/demo.py:33-37 | chapter6/controllable-tts/voice_library.py:47-51 \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":"chapter6/controllable-tts/demo.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc47c13494c8744897dc2353991770e7c5c59edbea4022932e9c7b198b03244"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter5/cad-vs-diffusion/llm.py:74-77 | chapter5/video-edit/agents.py:82-85 \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":"chapter5/cad-vs-diffusion/llm.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"284797049e17f1414d0772b68bba6ffc89cb5696ca2935e4ea29a79bc16b4ad4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): chapter10/book-translation/agents.py:35-43 | chapter5/paper-to-ppt/demo.py:81-87 \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":"chapter10/book-translation/agents.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db61b4a9a37f1e8d4cd0639fc385ee6fb4ae3c7218a843d1f1f24f49699d761"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): chapter8/continued-pretraining/compare_models.py:25-28 | chapter8/continued-pretraining/continued-pretrain.py:109-112 | chapter8/continued-pretraining/evaluate_model.py:26-29 \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":"chapter8/continued-pretraining/compare_models.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c16ac3ac0e00794ecea9c206a290e83ff2ef64c5d567879a0d25a6a04a92914"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): chapter9/trajectory-verifier/verifier.py:50-59 | chapter9/trajectory-verifier/customer_service_env.py:175-181 \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":"chapter9/trajectory-verifier/verifier.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d834e65f5b15c1d6bb6baeac5e899542e0e12bd07582b3af59ca5e89147ff9f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): chapter10/book-translation/run_official_experiment.py:458-461 | chapter2/prompt-injection/run_campaign.py:41-44 | chapter5/paper-to-video/campaign.py:40-43 \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":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed344023a87caf03e216e6d624665e1b2cd425bdef5218f26107aa0062c3eb0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chapter10/voice-werewolf/werewolf/human.py:48-58 | chapter10/voice-werewolf/werewolf/simulator.py:108-120 \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":"chapter10/voice-werewolf/werewolf/human.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2880fa954c31f75aceae74aad0d9fac181769d0e40bc8b386598737617932559"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): chapter2/prompt-injection/run_campaign.py:78-87 | chapter2/system-hint/run_experiment_2_8.py:51-59 \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":"chapter2/prompt-injection/run_campaign.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8d1bc46f16f3f951d3cb5899f17a9818e4cd8155a874bbf04b3d6ae6ba07a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): chapter4/active-tool-discovery/run_exact_experiment.py:129-131 | chapter4/perception-tools/run_experiment_4_2.py:108-109 | chapter6/async-agent/run_real_experiment.py:37-39 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f974b9666936c4cf6cc7c3a440fc89b5ae9582057608e8fe4e8b204503d2f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py:25-26 | chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py:25-26 \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":"chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81fe2c108b1abd0ecdf28f8ec64370cdda729d55dc650d369b711f2b1129b4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): chapter2/prompt-injection/run_campaign.py:52-59 | chapter2/system-hint/run_experiment_2_8.py:446-448 | chapter5/paper-to-video/campaign.py:143-145 \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":"chapter2/prompt-injection/run_campaign.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"535f2673a6043cae8b5000eaf0ddefdf91d1c0221997158faf5e54c853dc1d0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 3\u002B corresponding lines): book-ar/svg_lib.py:567-569 | book-en/svg_lib.py:541-543 | book-es/svg_lib.py:541-543 | book-id/svg_lib.py:541-543 | book-ru/svg_lib.py:541-543 | book-tr/svg_lib.py:541-543 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb3f41fac1c5566fa63176dc918b64b75dc718214babcc8d7ceea24400337e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter8/cot-distillation/generate_data.py:40-44 | chapter8/prompt-distillation/run_experiment_8_8.py:115-118 \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":"chapter8/cot-distillation/generate_data.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5d950ed6cd55fe3a59b382f576a3f6a8bebad016d80978e68a44d733fa7104"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter5/dynamic-form/demo.py:103-106 | chapter5/video-edit/agents.py:47-50 \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":"chapter5/dynamic-form/demo.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a52ecdff8ea8a4456d6b615634daa352a3b40ec807b052907a1f7126a58dff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): chapter10/autonomous-phone-registration/webrtc_channel.py:411-417 | chapter6/phone-agent/speech.py:170-181 \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":"chapter10/autonomous-phone-registration/webrtc_channel.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"58442124d4184259c33da95aafda1883b2aa1041ef72ec865aa8de080b8da107"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): chapter10/generative-agents/provider_adapter.py:32-35 | chapter10/staged-system-prompt/run_official_experiment.py:29-30 \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":"chapter10/generative-agents/provider_adapter.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7d5f6f8bfe31cdd633a5edacff47ad669aceb9cc8a82de525c0612eee75349"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): chapter10/staged-system-prompt/runs/staged-system-prompt-kimi-k3-20260730-v2/workspace/organize_downloads.py:96-106 | chapter10/staged-system-prompt/runs/staged-system-prompt-kimi-k3-20260730-v3/workspace/organize_downloads.py:127-144 \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":"chapter10/staged-system-prompt/runs/staged-system-prompt-kimi-k3-20260730-v2/workspace/organize_downloads.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"9325280867c7ab51d5a781de3c94ad1012274ec268ab4a7a37dc39a2b69651c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): chapter2/local_llm_serving/agent.py:24-37 | chapter2/local_llm_serving/ollama_native.py:404-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":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"5301d7b38a5abd043cc08c9f348d1504ba19499e57059db3d43553e2227e739d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): chapter6/rgb-sim2real-grasping/preflight.py:29-29 | chapter6/xlerobot-teleoperation/preflight.py:25-25 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/rgb-sim2real-grasping/preflight.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08f769c144d2f8ccc0d12fd158548afc9aac517263408fdb5f8e2b9995df2a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 2\u002B corresponding lines): chapter6/robotics_lab_common.py:65-66 | chapter7/openvla-robotwin2-eval/experiment.py:46-47 | chapter8/prompt-distillation/run_experiment_8_8.py:103-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 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":"chapter6/robotics_lab_common.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d176dd3916d0366fef99bdfa60cfeadae23a223272516e96b6b2ece1f942423"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 2\u002B corresponding lines): chapter10/book-translation/agents.py:154-164 | chapter10/multi-role-transfer/run_comparison.py:54-55 | chapter6/phone-agent/verify_acceptance.py:85-86 | chapter8/prompt-distillation/run_experiment_8_8.py:98-99 \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":"chapter10/book-translation/agents.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ccf320d79606c8c6739dfa100327b098efbe7fa700873157895b496a7835db"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter2/system-hint/agent.py:215-219 | chapter6/agent-with-event-trigger/agent.py:462-465 \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":"chapter2/system-hint/agent.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5af578c94705229ba75f3f8e64796100d7db5ca161bdf3955b5ca1eba2dc062"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter8/MiniMind-pretrain/validation/validate_evidence.py:68-71 | chapter8/continued-pretraining/validation/validate_evidence.py:58-61 \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":"chapter8/MiniMind-pretrain/validation/validate_evidence.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6487a349835ac4b53e996ebc70861cd4b005f1633438b009dbc94e1a3a46869e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): chapter6/phone-agent/verify_acceptance.py:90-93 | chapter8/MiniMind-pretrain/validation/validate_evidence.py:61-64 | chapter8/continued-pretraining/validation/validate_evidence.py:40-43 \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":"chapter6/phone-agent/verify_acceptance.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d46091abc1903e5054822ed290a2c01f4e49fbf9bbe155daf7e3a72827a9575"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter7/model-benchmark/campaign.py:146-149 | chapter7/user-memory-system-evaluation/experiment.py:199-202 \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":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfceb64c1d04837fe68d0025edc6f1726e437c32b57b68ab67532ec27bcc4d15"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 4\u002B corresponding lines): book-ar/svg_lib.py:135-138 | book-en/svg_lib.py:119-122 | book-es/svg_lib.py:119-122 | book-id/svg_lib.py:119-122 | book-ru/svg_lib.py:119-122 | book-tr/svg_lib.py:119-122 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca33b3389384a288c2e093a9fd6823d18cc5e3664b7f219dbfcaf60d25b6e19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter10/book-translation/consistency.py:31-34 | chapter10/book-translation/consistency_auditor.py:176-179 \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":"chapter10/book-translation/consistency.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"09da80f0ffdcda1d0ff141d9cf9e567abc4a8ad5af0c5e16e6622804e8f8bfbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): chapter10/multi-role-transfer/evaluation.py:48-53 | chapter10/multi-role-transfer/run_comparison.py:151-155 \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":"chapter10/multi-role-transfer/evaluation.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"171eb45872124974b0962801161276b2a7341e2500b472d60df67d72dd32259e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): chapter8/curly-quote-sft/evaluate.py:9-9 | chapter8/exact-copy-sft/evaluate.py:9-9 | chapter8/exact-copy-sft/train_sft.py:12-12 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or 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":"chapter8/curly-quote-sft/evaluate.py"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"df08070cd23e4d2e45f386840dbb51ac0c6cd8ab149a3e5c2cf1371053ed392a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): chapter3/agentic-rag-for-user-memory/tools.py:27-30 | chapter3/contextual-retrieval-for-user-memory/tools.py:27-30 \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":"chapter3/agentic-rag-for-user-memory/tools.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0101d2d5abc9bfcce4d4bad3aefcf18a35ea2fb873d7f1f62fc8b039db96027b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): chapter5/log-diagnosis/campaign.py:66-68 | chapter6/phone-agent/run_acceptance.py:59-61 \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":"chapter5/log-diagnosis/campaign.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe72541bd06148c50e809298357e9c45aea9580109247969be3889b5a029a9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 1\u002B corresponding lines): book-ar/svg_lib.py:58-58 | book-en/svg_lib.py:54-54 | book-es/svg_lib.py:54-54 | book-id/svg_lib.py:54-54 | book-ru/svg_lib.py:54-54 | book-tr/svg_lib.py:54-54 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or 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":"book-ar/svg_lib.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ebfca67ea8e4028cbae965d79e8cc701f7d7893e0fc52e20af9b46fd2e535b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): chapter8/curly-quote-sft/quality_audit.py:21-21 | chapter8/curly-quote-sft/train_sft.py:17-17 | chapter8/exact-copy-sft/tokenizer_audit.py:18-18 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or 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":"chapter8/curly-quote-sft/quality_audit.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"32aae632f8cd82a389efa1e425c91b59452259267681e71b5c83caf76caa87dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (157 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/agent.py:202-358 | chapter3/contextual-retrieval-for-user-memory/agent.py:198-354 \u2014 \u0060chapter3/agentic-rag-for-user-memory/agent.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/agent.py\u0060 are one unit implemented once 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 278 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d485b843bbb8a05d10183fcdeff5dfc2d53531e920e2488d701246cfff34958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (180 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/evaluator.py:291-470 | chapter3/contextual-retrieval-for-user-memory/evaluator.py:291-470 \u2014 \u0060chapter3/agentic-rag-for-user-memory/evaluator.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/evaluator.py\u0060 are one unit implemented once 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 562 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"991b11271aca895ee9e9fe85c5a027f5450a18b407ce41fa324f9539fdbe486b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (117 lines \u00D7 2): chapter2/attention_visualization/tools.py:160-276 | chapter2/local_llm_serving/tools.py:139-255 \u2014 \u0060chapter2/attention_visualization/tools.py\u0060 and \u0060chapter2/local_llm_serving/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 6 separate duplicated blocks between them, totalling at least 324 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/tools.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"aebd996eb48c945fcb13488646732957dee969ac2b5c39b84f19439db4a18613"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (130 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:218-347 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:218-347 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:203-332 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:203-332 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac06343001b6019eff9b6aa4ae90a96ce08e0f6f48c2aa188599061a5385d6e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201389 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:47-81 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:32-120 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3ee6bffebcf5b37c9773cdd9ee344aeaffd237492c28107d04884a1e393651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (86 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/chunker.py:172-257 | chapter3/contextual-retrieval-for-user-memory/chunker.py:172-257 \u2014 \u0060chapter3/agentic-rag-for-user-memory/chunker.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/chunker.py\u0060 are one unit implemented once 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 273 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c56b9fc1c48707fe9104b31bb4cfe0b98b87dd335e66da64c4b8176f28b2250"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (80 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/tools.py:107-186 | chapter3/contextual-retrieval-for-user-memory/tools.py:107-186 \u2014 \u0060chapter3/agentic-rag-for-user-memory/tools.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/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 3 separate duplicated blocks between them, totalling at least 191 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/tools.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8041172bbda83f1af8984939c40b17d3bd310f488e910395d748f8ab9d03dd45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (78 lines \u00D7 2): chapter2/attention_visualization/tools.py:23-100 | chapter2/local_llm_serving/tools.py:24-101 \u2014 \u0060chapter2/attention_visualization/tools.py\u0060 and \u0060chapter2/local_llm_serving/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 6 separate duplicated blocks between them, totalling at least 324 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter2/attention_visualization/tools.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6950ee72dde740960066aae50170cfd68a1e56a569822ddc5fb2500d362462ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (75 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/indexer.py:417-491 | chapter3/contextual-retrieval-for-user-memory/indexer.py:301-375 \u2014 \u0060chapter3/agentic-rag-for-user-memory/indexer.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/indexer.py\u0060 are one unit implemented once 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 349 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f540656fd35c2d6b9a77294a277eed7ce61fa43e6037e8534d27079b5b5b5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 2): chapter5/coding-agent/agent.py:183-255 | chapter5/coding-agent/agent_new.py:142-214 \u2014 before extracting anything, compare \u0060chapter5/coding-agent/agent.py\u0060 and \u0060chapter5/coding-agent/agent_new.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 198 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter5/coding-agent/agent.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"660d0db0b32b56f563b838ac4be02e7573cc01f0e81fba5f9782e5780e65ace8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (68 lines \u00D7 2): chapter3/agentic-rag/evaluation/evaluate.py:137-204 | chapter3/contextual-retrieval/evaluation/evaluate.py:129-196 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d528b27e962d82bfa7066026195d9a4f901e7734218414dfbfa7b49db278f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201366 lines \u00D7 2): chapter2/attention_visualization/tools.py:280-345 | chapter2/local_llm_serving/tools.py:289-328 \u2014 \u0060chapter2/attention_visualization/tools.py\u0060 and \u0060chapter2/local_llm_serving/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 6 separate duplicated blocks between them, totalling at least 324 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060chapter2/local_llm_serving/tools.py:289\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/tools.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a409c7723093e10274256548a854cfecc67fa856090c32c7a6b86f9fa811373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201362 lines \u00D7 3): chapter3/agentic-rag-for-user-memory/main.py:574-577 | chapter3/agentic-rag-for-user-memory/quickstart.py:53-114 | chapter3/contextual-retrieval-for-user-memory/quickstart.py:54-115 \u2014 \u0060chapter3/agentic-rag-for-user-memory/quickstart.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/quickstart.py\u0060 are one unit implemented once 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 134 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c1337c3f18543f0793e80f7879467ff941156d4e26c4162857552d10bf7c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2): chapter3/agentic-rag/chunking.py:288-349 | chapter3/contextual-retrieval/chunking.py:288-349 \u2014 \u0060chapter3/agentic-rag/chunking.py\u0060 and \u0060chapter3/contextual-retrieval/chunking.py\u0060 are one unit implemented once 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 350 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"43069124275b1b1c877a4bafad3bb9d7a336d781c220ac6dcc8606e02685deb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/demo_agent_logging.py:66-123 | chapter3/contextual-retrieval-for-user-memory/demo_agent_logging.py:66-123 \u2014 \u0060chapter3/agentic-rag-for-user-memory/demo_agent_logging.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/demo_agent_logging.py\u0060 are one unit implemented once 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 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":"chapter3/agentic-rag-for-user-memory/demo_agent_logging.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"337e4efc16e35ce034b069dc5d8dccaa63e3f5b6109086b36e79d1c836621107"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/tools.py:191-248 | chapter3/contextual-retrieval-for-user-memory/tools.py:191-248 \u2014 \u0060chapter3/agentic-rag-for-user-memory/tools.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/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 3 separate duplicated blocks between them, totalling at least 191 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/tools.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a62b0d272b624050c5f01e9003e49d01b71d782f749bb83da183e2f53136f75"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2): chapter3/agentic-rag/evaluation/evaluate.py:207-263 | chapter3/contextual-retrieval/evaluation/evaluate.py:199-255 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ecc9a696f8e71d2d8f048e17d9bdfc2c8326aadad0fb11008709b82115d276"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/chunker.py:110-165 | chapter3/contextual-retrieval-for-user-memory/chunker.py:110-165 \u2014 \u0060chapter3/agentic-rag-for-user-memory/chunker.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/chunker.py\u0060 are one unit implemented once 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 273 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0714b16e98c5435b63f4b1f9a4cb3d054684a48ef60466b65e6c3253b48e5a0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/indexer.py:518-573 | chapter3/contextual-retrieval-for-user-memory/indexer.py:402-457 \u2014 \u0060chapter3/agentic-rag-for-user-memory/indexer.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/indexer.py\u0060 are one unit implemented once 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 349 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc069a38aad8632460c84e603944288be3dd14b26d3d1b0611ed31a4aede033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56 lines \u00D7 2): chapter3/user-memory/agent.py:82-137 | chapter3/user-memory/conversational_agent.py:73-128 \u2014 before extracting anything, compare \u0060chapter3/user-memory/agent.py\u0060 and \u0060chapter3/user-memory/conversational_agent.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter3/user-memory/agent.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bb4e0d351de52873818769b9236efb7822590516d345cc6b97e32e2e377c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52\u201356 lines \u00D7 2): chapter5/coding-agent/tools/edit_tool.py:86-137 | chapter5/coding-agent/tools/write_tool.py:55-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/coding-agent/tools/edit_tool.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eacf665754ae13278a634ff91634a42ac955c981ef8dc41961028456dc88e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53\u201355 lines \u00D7 2): chapter2/local_llm_serving/main.py:268-322 | chapter2/local_llm_serving/main.py:447-499 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/main.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fba32fa27d8bf3c10db5a1d9d4f192c330ac436eaf3d955a4e498f28adb703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): chapter3/agentic-rag/tools.py:245-299 | chapter3/contextual-retrieval/tools.py:252-306 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"403fc6736f5ba2ec351ca1e64aac0dd1348fd3f3f62182f64a9d6f2644db00ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (53 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/tools.py:50-102 | chapter3/contextual-retrieval-for-user-memory/tools.py:50-102 \u2014 \u0060chapter3/agentic-rag-for-user-memory/tools.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/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 3 separate duplicated blocks between them, totalling at least 191 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/tools.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd63c964c89e03e7f7e500f686943158e996a19dd9b6fc04c24a1acfcf0639e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2): chapter3/agentic-rag/tools.py:413-463 | chapter3/contextual-retrieval/tools.py:418-468 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c8050004ca232d02c3ed845c8eb28373cddab583dc9b88d3796e37f3da2bb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201351 lines \u00D7 2): chapter3/contextual-retrieval/demo.py:173-210 | chapter3/contextual-retrieval/demo.py:296-346 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d7c48e75b489b933a212bc971b4931a74f46f5e93b14c74bb9a818d5b29085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 4): chapter5/conversational-ui/backend/main.py:125-174 | chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py:123-172 | chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py:123-172 | chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py:123-172 \u2014 before extracting anything, compare \u0060chapter5/conversational-ui/backend/main.py\u0060 and \u0060chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"chapter5/conversational-ui/backend/main.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"845961e3159a95e6773df4013876f8d2a2a1023d42e015577a4bab8363d86e4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2): chapter3/agentic-rag/main.py:66-115 | chapter3/contextual-retrieval/main.py:64-113 \u2014 \u0060chapter3/agentic-rag/main.py\u0060 and \u0060chapter3/contextual-retrieval/main.py\u0060 are one unit implemented once 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 254 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/main.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6705f6fd2758f3fc2ac9e683e90ea9b0fee36d58a095a709ad76daee429754"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/evaluator.py:240-288 | chapter3/contextual-retrieval-for-user-memory/evaluator.py:240-288 \u2014 \u0060chapter3/agentic-rag-for-user-memory/evaluator.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/evaluator.py\u0060 are one unit implemented once 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 562 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f360c0fdbffb4e3716c8e3491e9ac0077b4c0e426ce68132c2c8abb53f2df4a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (50\u201358 lines \u00D7 2): chapter2/system-hint/agent.py:976-1033 | chapter6/agent-with-event-trigger/agent.py:1208-1257 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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 \u0060chapter2/system-hint/agent.py:976\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e33a40461db8d840dc723f492c7fe1403f32b01cdab8909d11a4d3b52e6bae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42\u201347 lines \u00D7 2): chapter10/multi-role-transfer/run_official_experiment.py:233-274 | chapter6/streaming-speech/run_official_experiment.py:261-307 \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 \u0060chapter10/multi-role-transfer/run_official_experiment.py:233\u0060 it begins part-way through the construct above it, so those exact lines 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":"chapter10/multi-role-transfer/run_official_experiment.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"52742a52094ed60d1437851c874fcc4b8516cc9a6471f8070d265f439e697f30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201346 lines \u00D7 2): chapter2/system-hint/agent.py:621-666 | chapter6/agent-with-event-trigger/agent.py:877-917 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b02ca8f7c2909eadc0174da36fc9d1ac80f32a2693966bd069fd4f46bf4e220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): chapter3/agentic-rag/tools.py:152-197 | chapter3/contextual-retrieval/tools.py:159-204 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"934b467b7d3afc932acadbc72c8570c5f4850faa382ec7c414df3a49ddaa464d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/evaluator.py:475-519 | chapter3/contextual-retrieval-for-user-memory/evaluator.py:475-519 \u2014 \u0060chapter3/agentic-rag-for-user-memory/evaluator.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/evaluator.py\u0060 are one unit implemented once 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 562 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"562302a8ac0d66a6d2f5535fc133c78d813efc93d397c4d53a51b20986ea1cf1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41\u201344 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/agent.py:153-196 | chapter3/contextual-retrieval-for-user-memory/agent.py:152-192 \u2014 \u0060chapter3/agentic-rag-for-user-memory/agent.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/agent.py\u0060 are one unit implemented once 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 278 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060chapter3/agentic-rag-for-user-memory/agent.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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc375c48862b510e181a8b3ca562d7e6f977ed3cac135e866bfb816e8beeda3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/evaluator.py:195-237 | chapter3/contextual-retrieval-for-user-memory/evaluator.py:195-237 \u2014 \u0060chapter3/agentic-rag-for-user-memory/evaluator.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/evaluator.py\u0060 are one unit implemented once 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 562 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e057f02277f1c90e19681a34a93587c12280ca6ae2c66499129fa446ad70be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): chapter5/coding-agent/agent.py:259-301 | chapter5/coding-agent/agent_new.py:218-260 \u2014 before extracting anything, compare \u0060chapter5/coding-agent/agent.py\u0060 and \u0060chapter5/coding-agent/agent_new.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 198 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter5/coding-agent/agent.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"587403a8d210ae34ea2d8290920ce383f07ddce9fdaf8cf8a844013aeba338e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201342 lines \u00D7 2): chapter2/system-hint/agent.py:875-916 | chapter6/agent-with-event-trigger/agent.py:1118-1157 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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 \u0060chapter2/system-hint/agent.py:875\u0060 it begins part-way through the construct above it, so those exact 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":"chapter2/system-hint/agent.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e10b08c07eef40a7a27d21e22629a4b2000ca4d4e57f4e9e724c1fa8bb95f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (95 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/evaluator.py:522-616 | chapter3/contextual-retrieval-for-user-memory/evaluator.py:522-616 \u2014 \u0060chapter3/agentic-rag-for-user-memory/evaluator.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/evaluator.py\u0060 are one unit implemented once 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 562 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f4f3bcc083c2aea3e18c6d47c157d34c789118e8396ec5dd973598b2f9aba9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/indexer.py:250-291 | chapter3/contextual-retrieval-for-user-memory/indexer.py:158-199 \u2014 \u0060chapter3/agentic-rag-for-user-memory/indexer.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/indexer.py\u0060 are one unit implemented once 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 349 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e02ba374c757362ccca3e8874253c11f1bce5d066c36bdad5070717dd458c08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201342 lines \u00D7 2): chapter4/active-tool-selection/agent.py:215-256 | chapter4/active-tool-selection/agent.py:495-531 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/active-tool-selection/agent.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ada2de5e9a468fe8059ea5fd4aa83676f9c8b9b434b63b32b703860ed862e78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 6): book-ar/svg_lib.py:324-364 | book-en/svg_lib.py:298-338 | book-es/svg_lib.py:298-338 | book-id/svg_lib.py:298-338 | book-ru/svg_lib.py:298-338 | book-tr/svg_lib.py:298-338 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"book-ar/svg_lib.py"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"b911b21f8583898a526b38ab92c66d9e772ead64ff35c614df30d24aff524966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): chapter3/agentic-rag/tools.py:202-242 | chapter3/contextual-retrieval/tools.py:209-249 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ce3747c6dc602b53c14d8cea85e1db8e04a1c94ba8f5e912be40bacc21bbd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:369-409 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:413-453 \u2014 both copies are in the same file, so extract the block into 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"615400851c6949e7d371c90b7e6db77bb0b3e7c6c5560a35cac8fc17a53591fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 4): chapter5/conversational-ui/backend/main.py:178-217 | chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py:176-215 | chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py:176-215 | chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py:176-215 \u2014 before extracting anything, compare \u0060chapter5/conversational-ui/backend/main.py\u0060 and \u0060chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"chapter5/conversational-ui/backend/main.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a532480e0d018c9307ac557c6d27f7b89a843fe9bf4c196f85b3cfba4cc5cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/indexer.py:304-343 | chapter3/contextual-retrieval-for-user-memory/indexer.py:203-242 \u2014 \u0060chapter3/agentic-rag-for-user-memory/indexer.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/indexer.py\u0060 are one unit implemented once 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 349 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd37769540bcd37c44639d4f0db5480c9985e3a551604a7952fb8f1612a1aa08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): chapter3/agentic-rag/main.py:119-158 | chapter3/contextual-retrieval/main.py:117-156 \u2014 \u0060chapter3/agentic-rag/main.py\u0060 and \u0060chapter3/contextual-retrieval/main.py\u0060 are one unit implemented once 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 254 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/main.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad632ec04f3832b1de4809c0e0f81e0288a86f437a262fbb7a433a6f8f4158af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201339 lines \u00D7 2): chapter10/talkact-reproduction/validate_campaign.py:155-193 | chapter6/claude-computer-use-native/validate_weather_run.py:120-154 \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 \u0060chapter10/talkact-reproduction/validate_campaign.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/talkact-reproduction/validate_campaign.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fca52c39c78ee466a40ee5179345830afd9161433d684b42d54e439fb382724"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/indexer.py:176-214 | chapter3/contextual-retrieval-for-user-memory/indexer.py:84-122 \u2014 \u0060chapter3/agentic-rag-for-user-memory/indexer.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/indexer.py\u0060 are one unit implemented once 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 349 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ff9b514b3910f9b87cc65d467361c67210071f73cb7e4fd46f2c24815726f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): chapter3/agentic-rag/main.py:18-56 | chapter3/contextual-retrieval/main.py:18-56 \u2014 \u0060chapter3/agentic-rag/main.py\u0060 and \u0060chapter3/contextual-retrieval/main.py\u0060 are one unit implemented once 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 254 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/main.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa89d43ca3a5e1ec5a3bb132c703aae0a99dce7c8b1e37d1792f57815a3dff69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): chapter2/attention_visualization/tools.py:349-386 | chapter2/local_llm_serving/tools.py:332-369 \u2014 \u0060chapter2/attention_visualization/tools.py\u0060 and \u0060chapter2/local_llm_serving/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 6 separate duplicated blocks between them, totalling at least 324 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/tools.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"b593fadec2a09c1ea594009be3cac4bd25b8989ba4ff5cde11da99994a9ce59f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/demo_ui_improvements.py:17-54 | chapter3/contextual-retrieval-for-user-memory/demo_ui_improvements.py:17-54 \u2014 \u0060chapter3/agentic-rag-for-user-memory/demo_ui_improvements.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/demo_ui_improvements.py\u0060 are one unit implemented once 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 121 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/demo_ui_improvements.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"da304f8286dda2b0f6c97fd4e981309191162e45984d003747ed0d5e403d5dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): chapter3/agentic-rag/evaluation/evaluate.py:301-338 | chapter3/contextual-retrieval/evaluation/evaluate.py:293-330 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4e68262afe6a1b1f26c7218a36a69e7480aa4ff8e829b0348516cb25530ffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/chunker.py:313-349 | chapter3/contextual-retrieval-for-user-memory/chunker.py:313-349 \u2014 \u0060chapter3/agentic-rag-for-user-memory/chunker.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/chunker.py\u0060 are one unit implemented once 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 273 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b737ecfe1fe885869ad7cf1ddc473072c8bb678160ddc9d2e3ec7cad1d7d229b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): chapter3/agentic-rag/main.py:254-290 | chapter3/contextual-retrieval/main.py:231-267 \u2014 \u0060chapter3/agentic-rag/main.py\u0060 and \u0060chapter3/contextual-retrieval/main.py\u0060 are one unit implemented once 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 254 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/main.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0550ad8d64111a90e03151d56b98d726c3e827fe6fdbdf94bf286eca4084ffc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): chapter3/agentic-rag/chunking.py:204-239 | chapter3/contextual-retrieval/chunking.py:204-239 \u2014 \u0060chapter3/agentic-rag/chunking.py\u0060 and \u0060chapter3/contextual-retrieval/chunking.py\u0060 are one unit implemented once 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 350 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48056671f7fb375d0fc06049a8846ddcb3d30ffa02d766f75847fe218fb9d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 6): book-en/strip_titles.py:38-91 | book-id/strip_titles.py:37-90 | book-ta/strip_titles.py:38-91 | book-tr/strip_titles.py:37-90 | book-zhtw/strip_titles.py:37-90 | book/strip_titles.py:37-90 \u2014 \u0060book-en/strip_titles.py\u0060 and \u0060book-id/strip_titles.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 68 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"book-en/strip_titles.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e24d294a98415e78500185bbf5eac29fe557fa7f79124b3bb3e771f0fc20b50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/chunker.py:261-295 | chapter3/contextual-retrieval-for-user-memory/chunker.py:261-295 \u2014 \u0060chapter3/agentic-rag-for-user-memory/chunker.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/chunker.py\u0060 are one unit implemented once 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 273 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"aabe8a65a45cdc69a750264b53afa0bc269268da4b114b822d18bbba0467a125"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/evaluator.py:158-192 | chapter3/contextual-retrieval-for-user-memory/evaluator.py:158-192 \u2014 \u0060chapter3/agentic-rag-for-user-memory/evaluator.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/evaluator.py\u0060 are one unit implemented once 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 562 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f69e93c7c1ab997490ded789f17b4837671c2ea63c6073c593db327d0c8a2c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): chapter3/agentic-rag/chunking.py:167-201 | chapter3/contextual-retrieval/chunking.py:167-201 \u2014 \u0060chapter3/agentic-rag/chunking.py\u0060 and \u0060chapter3/contextual-retrieval/chunking.py\u0060 are one unit implemented once 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 350 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb902f71183e7a363d35e81b49e69276555e98127ff5d7a6dd3623a5478e439"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): chapter3/agentic-rag/chunking.py:251-285 | chapter3/contextual-retrieval/chunking.py:251-285 \u2014 \u0060chapter3/agentic-rag/chunking.py\u0060 and \u0060chapter3/contextual-retrieval/chunking.py\u0060 are one unit implemented once 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 350 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"00232ed11b02edd7ae5d392936e87ad16038ae2b6e15f03c41973e1ef329da3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): chapter3/agentic-rag/evaluation/evaluate.py:100-134 | chapter3/contextual-retrieval/evaluation/evaluate.py:92-126 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a992ff853402d6841dca5e073ab6dab32ef1919c168f898ce8c063031b609570"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): chapter3/agentic-rag/tools.py:376-410 | chapter3/contextual-retrieval/tools.py:381-415 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b05e600663aed5f22133934e3e9440eb3e2066ede4afba67a7177ad181f7382"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34\u201335 lines \u00D7 2): chapter4/perception-tools/src/wiki_enhanced.py:87-120 | chapter4/perception-tools/src/wiki_enhanced.py:135-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 \u0060chapter4/perception-tools/src/wiki_enhanced.py:87\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/wiki_enhanced.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"006540ef2056086b9078a5719b8f9d531aa8a1d7270284c60a8d29c4d9adbac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201335 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:236-270 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:404-421 \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 \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:236\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa74763eb5f632dde3c05b6471f3fbbfbd1853a86e16961f4628a5bc82f071ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): chapter4/multimodal-agent/agent.py:199-232 | chapter4/multimodal-agent/agent.py:253-286 | chapter4/multimodal-agent/agent.py:627-660 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a4dc1b3009535362020c69d3efab1b9fb87ebd0b36ab85b27638b0ed334815"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py:57-90 | chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py:57-90 | chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py:57-90 \u2014 before extracting anything, compare \u0060chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py\u0060 and \u0060chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 148 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 \u0060chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"48086028369d04e4247be00e1886d61716728685d80f8ff9c7539275ff78aa9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:46-80 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:235-268 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:31-118 \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 \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:46\u0060 it does not close everything it opens, so those exact 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e9a71772fbe52ffd890dd42687a00b5940e5b340e997d8faf6f39a676f272eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): chapter2/system-hint/agent.py:739-772 | chapter6/agent-with-event-trigger/agent.py:977-1009 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc77afff11cb18a97dbcd790e8966f2f6e12d539266dc130d2c67b877afbe81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): chapter3/user-memory/locomo_benchmark.py:285-318 | chapter3/user-memory/locomo_benchmark.py:378-411 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/locomo_benchmark.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"707e246bdfb68edb8f9f9a751748961f2189d7d4b5b0ebd49f6e5d5a79b2b7ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): chapter5/coding-agent/agent.py:123-156 | chapter5/coding-agent/agent_new.py:109-142 \u2014 before extracting anything, compare \u0060chapter5/coding-agent/agent.py\u0060 and \u0060chapter5/coding-agent/agent_new.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 198 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter5/coding-agent/agent.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0945653586c581e9356833b97102aa14fe6499bd11dc81314f4f7e98ea3c0b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201333 lines \u00D7 2): chapter1/context/create_sample_pdf.py:95-127 | chapter1/context/create_sample_pdf.py:141-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter1/context/create_sample_pdf.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/create_sample_pdf.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76d886d003cdff7614a1322a12aa8f6cf48cbe6631ea6996d694df6e9c95745"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): chapter1/web-search-agent/agent.py:197-228 | chapter1/web-search-agent/agent.py:262-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 \u0060chapter1/web-search-agent/agent.py:197\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/web-search-agent/agent.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bca23fe1bfbf1dbbff76cecfc891d98fa433d1705ce0eb3d48b3dae0c045a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): chapter2/attention_visualization/agent.py:304-336 | chapter2/attention_visualization/main.py:591-622 \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 \u0060chapter2/attention_visualization/agent.py:304\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"chapter2/attention_visualization/agent.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafa18cb2010547c364b6cf4034abc696d2ab9a929c49b37f26cf774512b6b87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/demo_ui_improvements.py:58-90 | chapter3/contextual-retrieval-for-user-memory/demo_ui_improvements.py:58-90 \u2014 \u0060chapter3/agentic-rag-for-user-memory/demo_ui_improvements.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/demo_ui_improvements.py\u0060 are one unit implemented once 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 121 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/demo_ui_improvements.py"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a4482f61d45f0d275a47cfe5fbc50fca3af828db87782aff7ab0bd425f679e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/evaluator.py:123-155 | chapter3/contextual-retrieval-for-user-memory/evaluator.py:123-155 \u2014 \u0060chapter3/agentic-rag-for-user-memory/evaluator.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/evaluator.py\u0060 are one unit implemented once 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 562 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b782bd4a1340c7139d7b2ed20834d758c9b4ab049ea7495c76a32001991ee7c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/quickstart.py:18-49 | chapter3/contextual-retrieval-for-user-memory/quickstart.py:18-50 \u2014 \u0060chapter3/agentic-rag-for-user-memory/quickstart.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/quickstart.py\u0060 are one unit implemented once 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 134 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/quickstart.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb74490d6a716c3aced93873b0ad6ffb9e695eb34d26b9cfde69caae924aa28d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): chapter3/agentic-rag/evaluation/evaluate.py:266-298 | chapter3/contextual-retrieval/evaluation/evaluate.py:258-290 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd488625536b73abc6a39db735a8e14208480dbf4b6bd8c88750f914d3a5948"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): chapter6/agent-with-event-trigger/server.py:141-173 | chapter6/agent-with-event-trigger/server_fastapi.py:135-167 \u2014 before extracting anything, compare \u0060chapter6/agent-with-event-trigger/server.py\u0060 and \u0060chapter6/agent-with-event-trigger/server_fastapi.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9130be85824f2543a6e4abf41ad39471741b7e98257e8a2828b9120b4887618"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): chapter6/agent-with-event-trigger/server.py:284-316 | chapter6/agent-with-event-trigger/server_fastapi.py:278-310 \u2014 before extracting anything, compare \u0060chapter6/agent-with-event-trigger/server.py\u0060 and \u0060chapter6/agent-with-event-trigger/server_fastapi.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"99151b39ea67ec26848cd7df040c9b98d902c547da999f98d93c23fb8940e247"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): chapter4/execution-tools/filesystem_enhanced.py:443-474 | chapter4/execution-tools/filesystem_enhanced.py:504-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/filesystem_enhanced.py"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e7d15fc9688780f41ab3d9927e0c9a2ba23371d7ab5f37ac40053b1389646f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/config.py:131-161 | chapter3/contextual-retrieval-for-user-memory/config.py:131-161 \u2014 \u0060chapter3/agentic-rag-for-user-memory/config.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/config.py\u0060 are one unit implemented once 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 98 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/config.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"77447ae414bead7c0efa0ae03afab998da5d95e75b65cac3c164646fae39e1dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/indexer.py:217-247 | chapter3/contextual-retrieval-for-user-memory/indexer.py:125-155 \u2014 \u0060chapter3/agentic-rag-for-user-memory/indexer.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/indexer.py\u0060 are one unit implemented once 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 349 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"7881234458ca1dae93b6a625b6d17b03c5a0251a57e4b28b3470e7e917843438"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): chapter3/agentic-rag/chunking.py:74-104 | chapter3/contextual-retrieval/chunking.py:74-104 \u2014 \u0060chapter3/agentic-rag/chunking.py\u0060 and \u0060chapter3/contextual-retrieval/chunking.py\u0060 are one unit implemented once 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 350 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb4ffc16a37d5fee4024cf28c3245715931b09686b4047976887f9b15a20d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): chapter4/execution-tools/multilang_executor.py:453-483 | chapter4/execution-tools/multilang_executor.py:609-639 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f13c47e4a0b2b169f66f3eedcc5fcf0610af8a15bbc22b7aace7d3b434866f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 6): book-ar/svg_lib.py:418-448 | book-en/svg_lib.py:392-422 | book-es/svg_lib.py:392-422 | book-id/svg_lib.py:392-422 | book-ru/svg_lib.py:392-422 | book-tr/svg_lib.py:392-422 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"book-ar/svg_lib.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32bc026ecc54f1d8da5385bd1dd4f5a2343458613b0e3b40c27ee811b51442b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201330 lines \u00D7 3): chapter9/browser-use-rpa/run_experiment_9_5.py:68-97 | chapter9/harness-safety-gate/llm_generator.py:34-55 | chapter9/self-modifying-agent/llm_generator.py:29-50 \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":"chapter9/browser-use-rpa/run_experiment_9_5.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b92d4f48b30e32e40f3ddf33d9ece30081b9dd694411d68467b0306263859c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/quickstart.py:128-157 | chapter3/contextual-retrieval-for-user-memory/quickstart.py:129-158 \u2014 \u0060chapter3/agentic-rag-for-user-memory/quickstart.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/quickstart.py\u0060 are one unit implemented once 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 134 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/quickstart.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fd06f2858e9c9756e2e69370c46911f46e654e96e303204f7c8b40711a87ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): chapter3/agentic-rag/index_local_laws.py:67-96 | chapter3/contextual-retrieval/index_local_laws_contextual.py:81-110 \u2014 \u0060chapter3/agentic-rag/index_local_laws.py\u0060 and \u0060chapter3/contextual-retrieval/index_local_laws_contextual.py\u0060 are one unit implemented once 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 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chapter3/contextual-retrieval/index_local_laws_contextual.py:76\u0060 calls \u0060info\u0060 and \u0060chapter3/agentic-rag/index_local_laws.py:61\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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"79f261c4e5de4a3724556906faa16f60114ecbef9b374a81a703d712cebf5211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201334 lines \u00D7 2): chapter8/orpheus/inference.py:218-251 | chapter8/orpheus/orpheus_sft_unsloth.py:428-459 \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 \u0060chapter8/orpheus/inference.py:218\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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":"chapter8/orpheus/inference.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"85314ce4277021b1f6eafef5cce9bf6d15900b7914f643428a059e33d9a629a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): chapter2/local_llm_serving/agent.py:225-253 | chapter2/local_llm_serving/agent.py:356-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 \u0060chapter2/local_llm_serving/agent.py:225\u0060 it does not close everything it opens, so those exact 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":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b25544a67e8563b27be9bce1d11ed20709350f3fb906c9fcb8e20266a185312e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): chapter3/agentic-rag/chunking.py:352-380 | chapter3/contextual-retrieval/chunking.py:352-380 \u2014 \u0060chapter3/agentic-rag/chunking.py\u0060 and \u0060chapter3/contextual-retrieval/chunking.py\u0060 are one unit implemented once 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 350 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"988fc22e75a67718800eab55753baf44af3a759404b95773675f362363732bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): chapter3/agentic-rag/evaluation/evaluate.py:372-400 | chapter3/contextual-retrieval/evaluation/evaluate.py:364-392 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fadf98c32608a7155de72a82d37c986f237fed552c69d35cda618be39a192b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): chapter4/collaboration-tools/src/subagent_tools.py:91-118 | chapter4/execution-tools/llm_helper.py:63-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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060Dict[str, Any]\u0060 in one and \u0060dict\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":"chapter4/collaboration-tools/src/subagent_tools.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb41636472ec29be5c00ad81fe65473b7f7cbf68deb0dbac8536e1e745a4ed8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): chapter6/agent-with-event-trigger/server.py:177-205 | chapter6/agent-with-event-trigger/server_fastapi.py:171-199 \u2014 before extracting anything, compare \u0060chapter6/agent-with-event-trigger/server.py\u0060 and \u0060chapter6/agent-with-event-trigger/server_fastapi.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53182a620c8a952d6aeea0bed98d56663ecbc1f1ef125d6c0882aa0e27904ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201328 lines \u00D7 2): chapter2/system-hint/agent.py:558-585 | chapter6/agent-with-event-trigger/agent.py:838-857 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81955405ac8f3a5aed5c5d3da3b02995475a60f7450df0270c96530c6783ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): chapter3/agentic-rag/evaluation/evaluate.py:341-368 | chapter3/contextual-retrieval/evaluation/evaluate.py:333-360 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6dcc8360f506eff064918f8bacbb300d2bbd9b56afe4c14f5212373515107a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201331 lines \u00D7 2): chapter6/streaming-speech/interruption_manager.py:135-165 | chapter6/streaming-speech/interruption_manager.py:169-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/streaming-speech/interruption_manager.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"088ea58e282352e1178db9b3f61f5094a776dfc2dba6a331829d9bd88a26b0f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:729-756 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:891-918 \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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd033cb5828d327fe8727a602992a74ceee11caca3ea2c65b261f9a4d623a989"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 3): chapter4/execution-tools/multilang_executor.py:459-485 | chapter4/execution-tools/multilang_executor.py:571-596 | chapter4/execution-tools/multilang_executor.py:615-641 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter4/execution-tools/multilang_executor.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":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9177608a5f37e1c1ee488e82671bc8f373ce0546ad4789b147e37b8e78eff21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201327 lines \u00D7 2): chapter1/search-codegen/quickstart.py:13-35 | chapter1/search-codegen/quickstart.py:38-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":"chapter1/search-codegen/quickstart.py"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8047f870ddfb785aa99daaed1ce11a22d6fe6b3bbbf5638c31ddb946632f0b4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/evaluator.py:619-645 | chapter3/contextual-retrieval-for-user-memory/evaluator.py:619-645 \u2014 \u0060chapter3/agentic-rag-for-user-memory/evaluator.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/evaluator.py\u0060 are one unit implemented once 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 562 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"d790b758bc85cf75e9e9ba5c649d229bfef7b7f79731f1e12287fb94afdd041c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): chapter3/agentic-rag/agent.py:270-296 | chapter3/contextual-retrieval/agent.py:209-235 \u2014 \u0060chapter3/agentic-rag/agent.py\u0060 and \u0060chapter3/contextual-retrieval/agent.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 111 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060chapter3/agentic-rag/agent.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":"chapter3/agentic-rag/agent.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8e3713144db992ebee915674c953e3738feac664421f28c169b297030bb5a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): chapter3/agentic-rag/chunking.py:384-419 | chapter3/contextual-retrieval/chunking.py:384-419 \u2014 \u0060chapter3/agentic-rag/chunking.py\u0060 and \u0060chapter3/contextual-retrieval/chunking.py\u0060 are one unit implemented once 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 350 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed8f5e443c25aa39463169c6c217f3bae9f0eb30423d4fa881abb744562d7a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): chapter3/agentic-rag/main.py:219-245 | chapter3/contextual-retrieval/main.py:203-228 \u2014 \u0060chapter3/agentic-rag/main.py\u0060 and \u0060chapter3/contextual-retrieval/main.py\u0060 are one unit implemented once 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 254 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060chapter3/agentic-rag/main.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/main.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"246fdf1be644881a49691d1ce0f02049da374486c69ad32bbdcdf79f5de18212"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py:338-364 | chapter3/contextual-retrieval/contextual_chunking.py:510-536 \u2014 \u0060chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py\u0060 and \u0060chapter3/contextual-retrieval/contextual_chunking.py\u0060 are one unit implemented once 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 73 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a8114f1365886172cb8fffa5db3878940177f86f2e3b989b5df149a311558a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/scenarios/banking.py:86-112 | chapter5/permission-embedded-data-objects/pedo/scenarios/healthcare.py:64-90 \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 \u0060chapter5/permission-embedded-data-objects/pedo/scenarios/banking.py:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/scenarios/banking.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c797b8ec4d516b626395c69ff2e00f0a5312be2bc593dec8546dad11df7b14cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201326 lines \u00D7 2): chapter2/local_llm_serving/demo_streaming.py:31-56 | chapter2/local_llm_serving/demo_streaming.py:94-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter2/local_llm_serving/demo_streaming.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/demo_streaming.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6da5ec4e66131eb0d4588838f3ce8128172916a4c9184e6cdf53de33e6fcfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201326 lines \u00D7 2): chapter2/system-hint/agent.py:693-718 | chapter6/agent-with-event-trigger/agent.py:942-963 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e80ffa7bce87cf4fc90b8ee1829fdf2898ac0d28e02d79947c0366ec9a59cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 2): chapter2/system-hint/agent.py:777-802 | chapter6/agent-with-event-trigger/agent.py:1014-1036 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fa881e3e8801941af8d8e892d577e0d0a32f2f93f9a8006ac8bcdb81a9bf6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/config.py:293-318 | chapter3/contextual-retrieval-for-user-memory/config.py:282-307 \u2014 \u0060chapter3/agentic-rag-for-user-memory/config.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/config.py\u0060 are one unit implemented once 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 98 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag-for-user-memory/config.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9954fdc7e2fc31d5c4c9fe5fd97df1215fee0c1d14963b2d589ead4b5b9974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/demo_ui_improvements.py:121-146 | chapter3/contextual-retrieval-for-user-memory/demo_ui_improvements.py:121-146 \u2014 \u0060chapter3/agentic-rag-for-user-memory/demo_ui_improvements.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/demo_ui_improvements.py\u0060 are one unit implemented once 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 121 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/demo_ui_improvements.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89dbeedfd298e1ab72c6faa5be7f5342372c7217a0e672f0b54a0919cfc079f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/indexer.py:346-371 | chapter3/contextual-retrieval-for-user-memory/indexer.py:245-270 \u2014 \u0060chapter3/agentic-rag-for-user-memory/indexer.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/indexer.py\u0060 are one unit implemented once 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 349 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"f342eeee398b8fd3304db0932cc7db537b04fc0fbae50c4fbcd056f61600d3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): chapter3/agentic-rag/chunking.py:46-71 | chapter3/contextual-retrieval/chunking.py:46-71 \u2014 \u0060chapter3/agentic-rag/chunking.py\u0060 and \u0060chapter3/contextual-retrieval/chunking.py\u0060 are one unit implemented once 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 350 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"19af034fae771f36526884274e9cb6daa70cf0cb33682bdc30ff0e8753bc0be3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201326 lines \u00D7 2): chapter4/active-tool-selection/agent.py:138-163 | chapter4/active-tool-selection/agent.py:340-359 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"chapter4/active-tool-selection/agent.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1865ffd5e0b52e5d68025fbc640527ad2ba7c99b679ec044d67e62679cc211"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 6): book-ar/svg_lib.py:257-290 | book-en/svg_lib.py:231-264 | book-es/svg_lib.py:231-264 | book-id/svg_lib.py:231-264 | book-ru/svg_lib.py:231-264 | book-tr/svg_lib.py:231-264 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"book-ar/svg_lib.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f443c4fcf16cc031c034f9df23b53599186b2e7aa2dc7720916449d4d59fd51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 6): book-ar/svg_lib.py:668-692 | book-en/svg_lib.py:642-666 | book-es/svg_lib.py:642-666 | book-id/svg_lib.py:642-666 | book-ru/svg_lib.py:642-666 | book-tr/svg_lib.py:642-666 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"book-ar/svg_lib.py"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e0d6a6d24a0c2dbea044c46354b14d0875b503b1bc5ab4a50172c9ac3cce50"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3): chapter3/agentic-rag-for-user-memory/evaluator.py:393-417 | chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py:413-437 | chapter3/contextual-retrieval-for-user-memory/evaluator.py:393-417 \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 \u0060chapter3/agentic-rag-for-user-memory/evaluator.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chapter3/agentic-rag-for-user-memory/evaluator.py:420\u0060 calls \u0060info\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py:438\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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"d702f72be7b0410b5c22cdb11020c201a6ded5f1217625b4a9aa2f53b13bafc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/chunker.py:63-87 | chapter3/contextual-retrieval-for-user-memory/chunker.py:63-87 \u2014 \u0060chapter3/agentic-rag-for-user-memory/chunker.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/chunker.py\u0060 are one unit implemented once 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 273 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2757c7eadb88b3c852d66d629e156f96420e1bdf6b09bb21d7e3fdce20039707"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): chapter4/multimodal-agent/agent.py:625-649 | chapter4/multimodal-agent/agent.py:744-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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b3e852b1749b8608af637adc138d3645da29ff7a794ec9adc5a584f4fb706f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201325 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:266-290 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:510-528 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d07fb40d989c8d102b066e193f167da7abd578c6572d1e0b7e8b224580a371"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:350-374 | chapter8/continued-pretraining/validation/run_report_audit.py:316-337 \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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"b079b9b9e721186fc4fbedb0f9a962ed7f054ac662471fddb80d19eb8d63d6a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201325 lines \u00D7 2): chapter8/sesame/batch_inference.py:23-37 | chapter8/sesame/inference.py:20-44 \u2014 before extracting anything, compare \u0060chapter8/sesame/batch_inference.py\u0060 and \u0060chapter8/sesame/inference.py\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other 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":"chapter8/sesame/batch_inference.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a638426111ff18d1ff3ebf31c62492423a2454e9ca2ef2485d089a4b5482643b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201324 lines \u00D7 3): chapter4/perception-tools/src/filesystem_tools.py:192-215 | chapter4/perception-tools/src/filesystem_tools.py:255-278 | chapter4/perception-tools/src/filesystem_tools.py:292-312 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a219f6fd673fae21cb3c85b49ecd2a9577c7371d4ebbc4f9bc60063e34f3d02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): chapter2/system-hint/agent.py:530-553 | chapter6/agent-with-event-trigger/agent.py:810-833 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4a0add9af8c259879dda468177789075b7b88af5d34af5caf071162df84461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/demo_ui_improvements.py:94-117 | chapter3/contextual-retrieval-for-user-memory/demo_ui_improvements.py:94-117 \u2014 \u0060chapter3/agentic-rag-for-user-memory/demo_ui_improvements.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/demo_ui_improvements.py\u0060 are one unit implemented once 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 121 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/demo_ui_improvements.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"62100cd02110f1ac6248e53be57a6a521ad445c035958dca3a459f79e15c1175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): chapter3/agentic-rag/index_local_laws.py:99-122 | chapter3/contextual-retrieval/index_local_laws_contextual.py:113-136 \u2014 \u0060chapter3/agentic-rag/index_local_laws.py\u0060 and \u0060chapter3/contextual-retrieval/index_local_laws_contextual.py\u0060 are one unit implemented once 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 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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea6885c79800a7d4570f7ec4be1dd82d2533b85e613dd957d6f152669e94c77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): chapter4/multimodal-agent/agent.py:535-556 | chapter4/multimodal-agent/agent.py:569-592 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter4/multimodal-agent/agent.py:535\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d83ac2f9fc87ad095935ac37f75e7a8294d0534126289602ef92cc3916e4b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): chapter4/perception-tools/src/private_data_tools.py:114-137 | chapter4/perception-tools/src/private_data_tools.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter4/perception-tools/src/private_data_tools.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":"chapter4/perception-tools/src/private_data_tools.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c64a38176a455acf4bd4cb263c5bf23f10e350d125dc70362797bf7f94fa0be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201324 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:114-137 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py:123-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 both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:114\u0060 it does not close everything it opens, so those exact 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, \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:111\u0060 calls \u0060_check_salary_range\u0060 and \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py:120\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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af565c17232632431e756cdddd8776c2eea1aad1c79db1e9f8810a49838d650"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5): book-en/svg_lib.py:216-238 | book-es/svg_lib.py:216-238 | book-id/svg_lib.py:216-238 | book-ru/svg_lib.py:216-238 | book-tr/svg_lib.py:216-238 \u2014 \u0060book-en/svg_lib.py\u0060 and \u0060book-es/svg_lib.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 30 separate duplicated blocks between them, totalling at least 459 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060book-en/svg_lib.py:216\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-en/svg_lib.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3845327b836a3f5f4a4c3536da5d82ac273c82877b2640801db8be426a91e8c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): chapter2/system-hint/agent.py:918-940 | chapter6/agent-with-event-trigger/agent.py:1159-1178 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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 \u0060chapter2/system-hint/agent.py:918\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b389f5db70d1a224f08f45f9a84ad4409c38b9026ca5b0c299671e62a7044f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): chapter3/agentic-rag/main.py:162-184 | chapter3/contextual-retrieval/main.py:160-182 \u2014 \u0060chapter3/agentic-rag/main.py\u0060 and \u0060chapter3/contextual-retrieval/main.py\u0060 are one unit implemented once 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 254 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag/main.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5b161c575e710892824606b71201a5880976c47ee6d7e5aac5530923e31345"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): chapter3/agentic-rag/tools.py:350-372 | chapter3/contextual-retrieval/tools.py:355-377 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"80333205391858fadb92cc8d0743bab66ae4cfa13839d1a7494690d252c81a21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): chapter5/coding-agent/agent.py:496-518 | chapter5/coding-agent/agent_new.py:275-297 \u2014 before extracting anything, compare \u0060chapter5/coding-agent/agent.py\u0060 and \u0060chapter5/coding-agent/agent_new.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 198 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter5/coding-agent/agent.py"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabfc54b4c930404bfdb5a6c3a8a51e35e311f7dfeb18820ee8057ebf778e30d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): chapter8/sesame/batch_inference.py:167-189 | chapter8/sesame/inference.py:150-172 \u2014 before extracting anything, compare \u0060chapter8/sesame/batch_inference.py\u0060 and \u0060chapter8/sesame/inference.py\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter8/sesame/batch_inference.py:167\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/sesame/batch_inference.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e753b42ae9036b894c6b107a8a80da4c8418467f60b9099d9383e01442821ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6): book-ar/svg_lib.py:216-237 | book-en/svg_lib.py:200-221 | book-es/svg_lib.py:200-221 | book-id/svg_lib.py:200-221 | book-ru/svg_lib.py:200-221 | book-tr/svg_lib.py:200-221 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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, \u0060book-ar/svg_lib.py:238\u0060 calls \u0060_ATTR\u0060 and \u0060book-en/svg_lib.py:222\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":"book-ar/svg_lib.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50322658b7c89ff75fd9c20c2bd7ee7a39b2c3effe5a5f2da6578dbaff55ce0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 3): chapter3/agentic-rag/chunking.py:119-140 | chapter3/contextual-retrieval/chunking.py:119-140 | chapter3/contextual-retrieval/contextual_chunking.py:261-281 \u2014 \u0060chapter3/agentic-rag/chunking.py\u0060 and \u0060chapter3/contextual-retrieval/chunking.py\u0060 are one unit implemented once 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 350 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a1f92d35632894402db3e58bbf5561963a617d79eb6aaab8b8df0b15151022"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): chapter2/system-hint/main.py:31-51 | chapter3/user-memory/main.py:41-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/main.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95c16d089d08d6667d661d78b0da2d097575d6341fe8260228b567c6af1e08e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): chapter3/agentic-rag/agent.py:390-411 | chapter3/contextual-retrieval/agent.py:321-342 \u2014 \u0060chapter3/agentic-rag/agent.py\u0060 and \u0060chapter3/contextual-retrieval/agent.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 111 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag/agent.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"404cf860f6b5bb238db7fddee7d10553624f35287bb38c1f6af2f045b1e459ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): chapter3/user-memory/locomo_benchmark.py:321-342 | chapter3/user-memory/locomo_benchmark.py:402-423 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/locomo_benchmark.py"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc8a0016a448ede9b8fb9868a0e2f00ae0eaaa993700165de399881d3187a02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): chapter5/permission-embedded-data-objects/run_live_security_eval.py:595-615 | chapter5/permission-embedded-data-objects/run_live_security_eval.py:656-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":"chapter5/permission-embedded-data-objects/run_live_security_eval.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21b7b9c5754f288b4f7ebd6f6844a0bbfb910b27f006f8c5580e5158c6928dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): chapter6/controllable-tts/evaluate_audio_quality.py:256-276 | chapter6/controllable-tts/evaluate_audio_quality.py:284-305 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/controllable-tts/evaluate_audio_quality.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cb4abc27cdb64947cd558db65e562e8f8496cccc87287eee990592db786850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): chapter9/harness-safety-gate/run_experiment_9_7.py:225-244 | chapter9/self-modifying-agent/run_experiment_9_6.py:222-243 \u2014 before extracting anything, compare \u0060chapter9/harness-safety-gate/run_experiment_9_7.py\u0060 and \u0060chapter9/self-modifying-agent/run_experiment_9_6.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060chapter9/harness-safety-gate/run_experiment_9_7.py:225\u0060 it begins part-way through the construct above it, so those exact lines 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":"chapter9/harness-safety-gate/run_experiment_9_7.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9dfd10ff5eee2d630db2e1117d2f64d6baf05650e58e6b32e8e74073e1c40d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 10): chapter3/agentic-rag-for-user-memory/config.py:22-42 | chapter3/agentic-rag/config.py:13-33 | chapter3/contextual-retrieval-for-user-memory/config.py:22-42 | chapter3/contextual-retrieval/config.py:13-33 | chapter3/mem0/config.py:22-42 | chapter3/memobase/config.py:14-32 | chapter3/structured-index/config.py:16-34 | chapter3/structured-knowledge-extraction/config.py:20-38 | chapter3/user-memory-evaluation/config.py:12-30 | chapter3/user-memory/config.py:23-43 \u2014 \u0060chapter3/agentic-rag-for-user-memory/config.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/config.py\u0060 are one unit implemented once 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 98 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/config.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4eb674b3d2903ce156369d59bcfc6f59cb5fd4a7623249707b47dfa884f9c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): chapter3/dense-embedding/main.py:385-405 | chapter8/sesame/batch_inference.py:186-206 | chapter8/sesame/inference.py:175-195 \u2014 before extracting anything, compare \u0060chapter8/sesame/batch_inference.py\u0060 and \u0060chapter8/sesame/inference.py\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter3/dense-embedding/main.py:385\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/main.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9fe496d06e22ee7757c1d1825693fd0ec7fb301dc901f5ce0fd6570876d962"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 3): chapter5/coding-agent/tools/edit_tool.py:65-83 | chapter5/coding-agent/tools/multi_edit_tool.py:97-117 | chapter5/coding-agent/tools/write_tool.py:35-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 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":"chapter5/coding-agent/tools/edit_tool.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5523247b51197c4dc53ad2289f971f70cc25bb6765eb7eb4c9792cee333db40b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): chapter2/system-hint/agent.py:842-862 | chapter6/agent-with-event-trigger/agent.py:1093-1109 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"465b59fd43c208a2f1aaea43de2e1840116116dd2725738285c312a8eb17b551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/agent.py:72-92 | chapter3/contextual-retrieval-for-user-memory/agent.py:72-92 \u2014 \u0060chapter3/agentic-rag-for-user-memory/agent.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/agent.py\u0060 are one unit implemented once 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 278 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"19248e2408a0f77e1b469b4eed888d11f36437acf9fa8032905688b0d15d052f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): chapter3/agentic-rag/index_local_laws.py:320-340 | chapter3/contextual-retrieval/index_local_laws_contextual.py:355-375 \u2014 \u0060chapter3/agentic-rag/index_local_laws.py\u0060 and \u0060chapter3/contextual-retrieval/index_local_laws_contextual.py\u0060 are one unit implemented once 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 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chapter3/contextual-retrieval/index_local_laws_contextual.py:376\u0060 calls \u0060info\u0060 and \u0060chapter3/agentic-rag/index_local_laws.py:343\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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ffcd1fa1760fae99ac225afd1590dcb110ec75757456c1563d248671241e09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): chapter3/agentic-rag/index_local_laws.py:422-440 | chapter3/contextual-retrieval/index_local_laws_contextual.py:488-508 \u2014 \u0060chapter3/agentic-rag/index_local_laws.py\u0060 and \u0060chapter3/contextual-retrieval/index_local_laws_contextual.py\u0060 are one unit implemented once 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 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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb12753befce71684e7840d99e1e7d14c0a9956e10983a9c5e4da99edc7210cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): chapter4/multimodal-agent/demo.py:32-52 | chapter4/multimodal-agent/demo.py:139-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chapter4/multimodal-agent/demo.py:161\u0060 calls \u0060MultimodalContent\u0060 and \u0060chapter4/multimodal-agent/demo.py:55\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":"chapter4/multimodal-agent/demo.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"80259cb90ebd3c7064039ed435731093c674ca986d7133a2c609e5a9898768c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/core/store.py:143-163 | chapter5/permission-embedded-data-objects/pedo/core/store.py:170-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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060type_name\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":"chapter5/permission-embedded-data-objects/pedo/core/store.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"224dc28e313d66e919cf5a05da7f9380cf865cc78c9c351e1f9805855235446e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201320 lines \u00D7 4): chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:258-271 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:278-297 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:502-515 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:530-543 \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":"chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e012e63b3045f85bf1077d8ba80c0e47a406750ff58c755c7bfc89114037f4b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): chapter2/system-hint/main.py:62-81 | chapter3/user-memory/main.py:61-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/main.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9cabd688938538640bc3ee85f809507775b827d938353308c50fdd3fd2e3e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/indexer.py:494-515 | chapter3/contextual-retrieval-for-user-memory/indexer.py:378-399 \u2014 \u0060chapter3/agentic-rag-for-user-memory/indexer.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/indexer.py\u0060 are one unit implemented once 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 349 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"615d4e8fcf3f9b3822e9cb6179523f79d615bccff35e1cee07bf5f732cbac702"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): chapter3/structured-index/graphrag_indexer.py:273-292 | chapter3/structured-index/graphrag_indexer.py:352-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":"chapter3/structured-index/graphrag_indexer.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a4ad525a5a784747738e2e11e9fa0823dd475125c226fba2a2a0b285f39ab6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): chapter5/paper-to-ppt/agents.py:374-395 | chapter5/paper-to-ppt/agents.py:453-474 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/paper-to-ppt/agents.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdfc5f74e4f0adc43e3016cf9abfeac8d71f7ca4263548cfc448069344cc8282"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 2): chapter6/rgb-sim2real-grasping/preflight.py:71-90 | chapter6/xlerobot-teleoperation/preflight.py:54-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/rgb-sim2real-grasping/preflight.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc4cbbef6def9f4e6c2a56e9718adcb015342f66c9ef7681dbe74301e51f499"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): chapter7/elo-leaderboard/visualization.py:197-216 | chapter7/elo-leaderboard/visualization.py:248-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter7/elo-leaderboard/visualization.py:197\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/elo-leaderboard/visualization.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"25c88c78e24eeefb510ac9b61faa083f493241941d37475dc6c4062ddeae1c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): chapter9/harness-safety-gate/demo.py:32-51 | chapter9/self-modifying-agent/demo.py:20-39 \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, \u0060chapter9/harness-safety-gate/demo.py:30\u0060 calls \u0060loads\u0060, \u0060read_text\u0060 and \u0060chapter9/self-modifying-agent/demo.py:19\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":"chapter9/harness-safety-gate/demo.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9cabe91d8e9d25177e21aedf9011727f3bcd187dc3c5737032f451eb77c6f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): book-ar/svg_lib.py:614-632 | book-en/svg_lib.py:588-606 | book-es/svg_lib.py:588-606 | book-id/svg_lib.py:588-606 | book-ru/svg_lib.py:588-606 | book-tr/svg_lib.py:588-606 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060book-ar/svg_lib.py:614\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b8ca351578e70657b3a088ce4698c76b35bdab852ca0c3eebf986800a49cc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): chapter4/perception-tools/src/arxiv_enhanced.py:151-169 | chapter4/perception-tools/src/wiki_enhanced.py:107-125 | chapter4/perception-tools/src/wiki_enhanced.py:156-174 \u2014 before extracting anything, compare \u0060chapter4/perception-tools/src/arxiv_enhanced.py\u0060 and \u0060chapter4/perception-tools/src/wiki_enhanced.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter4/perception-tools/src/arxiv_enhanced.py:151\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/arxiv_enhanced.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ce581ae69381776fa3b70e9a6a4f8991b78479084329d99d5e8ad18c452bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): chapter5/log-diagnosis/http_service.py:54-72 | chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053056/http_service.py:54-72 | chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053403/http_service.py:54-72 \u2014 before extracting anything, compare \u0060chapter5/log-diagnosis/http_service.py\u0060 and \u0060chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053056/http_service.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter5/log-diagnosis/http_service.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3112a8f72b2828f4c4adbacd5bff05f87e797bdbc1cbc610f64bec6a8cbd4b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): chapter2/system-hint/agent.py:302-320 | chapter6/agent-with-event-trigger/agent.py:547-565 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f509079ff24ad6e3addd812fce76aa6d21e633cf966e27165d666f5600c585e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): chapter2/system-hint/agent.py:805-823 | chapter6/agent-with-event-trigger/agent.py:1039-1057 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3341741700d7bb93527aaaa39dcd669a4cb4b64eb3f2b7ad1f813f30531e45c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): chapter4/perception-tools/src/filesystem_tools.py:390-411 | chapter4/perception-tools/src/search_tools.py:348-366 \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":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd088395763474709c0e602407accd2a7f9fcfd78544e459324f8b33a453858"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201319 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:358-376 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:383-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:399\u0060 calls \u0060execute\u0060 and \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:377\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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1fa4b6e2e0783f31f674b1c77844bede126d538f56ebdd8a3a2474c1a52d9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201319 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:494-512 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:515-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. 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5fa5c74cded8205fda72cbde0fb11c06645398fb8d53238f814a971755fa83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/scenarios/enterprise_agents.py:204-222 | chapter5/permission-embedded-data-objects/pedo/scenarios/healthcare.py:129-147 \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 \u0060chapter5/permission-embedded-data-objects/pedo/scenarios/enterprise_agents.py:204\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/scenarios/enterprise_agents.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de2000cb226b0e59caa1aaa264ba675c5fb963d410e6c77ae6fb2a6b80d1fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): chapter5/video-edit/agents.py:136-154 | chapter5/video-edit/agents.py:301-317 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter5/video-edit/agents.py:136\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/video-edit/agents.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b8dbd743987cb10bd5381b52d4fe0764dfcd28a48e59282ed2c7d30da61165"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201319 lines \u00D7 2): chapter8/cot-distillation/train_student.py:64-82 | chapter8/prompt-distillation/run_experiment_8_8.py:341-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. 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":"chapter8/cot-distillation/train_student.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcffea4e0676b2641c4c220a25bef32956600659c1d521649105fc7b2f52b8fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): book-ar/svg_lib.py:142-159 | book-en/svg_lib.py:126-143 | book-es/svg_lib.py:126-143 | book-id/svg_lib.py:126-143 | book-ru/svg_lib.py:126-143 | book-tr/svg_lib.py:126-143 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c292f3d733373b436b3067cb11dc4516f97d3fc0379c2231631d639f91fe0c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): book-ar/svg_lib.py:163-180 | book-en/svg_lib.py:147-164 | book-es/svg_lib.py:147-164 | book-id/svg_lib.py:147-164 | book-ru/svg_lib.py:147-164 | book-tr/svg_lib.py:147-164 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6206355fe7d800d0b348c88897e184c876269126a2dca0a7558879af383d014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 5): chapter4/perception-tools/src/arxiv_enhanced.py:155-172 | chapter4/perception-tools/src/google_search_enhanced.py:121-138 | chapter4/perception-tools/src/wiki_enhanced.py:111-128 | chapter4/perception-tools/src/wiki_enhanced.py:160-177 | chapter4/perception-tools/src/wiki_enhanced.py:252-269 \u2014 before extracting anything, compare \u0060chapter4/perception-tools/src/arxiv_enhanced.py\u0060 and \u0060chapter4/perception-tools/src/wiki_enhanced.py\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter4/perception-tools/src/arxiv_enhanced.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/arxiv_enhanced.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89a3d139283975c3cc8ecfb886ae4804eb24bfe5b77d69e01a005ef592953c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): chapter5/permission-embedded-data-objects/pedo/scenarios/forum.py:117-134 | chapter5/permission-embedded-data-objects/pedo/scenarios/hiring.py:225-244 | chapter5/permission-embedded-data-objects/pedo/scenarios/project_mgmt.py:221-240 \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 \u0060chapter5/permission-embedded-data-objects/pedo/scenarios/forum.py:117\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/scenarios/forum.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a164bd3e5eb9af8e0bab0864e2864a93f7e2374f52634bc6d4591823214672"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): chapter2/context-compression/compression_strategies.py:349-365 | chapter2/context-compression/compression_strategies.py:460-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 \u0060chapter2/context-compression/compression_strategies.py:349\u0060 it does not close everything it opens, so those exact 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":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c8f6c1fe1a74db2f15f03588cbed06701e5512320d6470d643863a54074e71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): chapter2/system-hint/agent.py:671-688 | chapter6/agent-with-event-trigger/agent.py:922-937 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"22080fcff601c64977e5af6424c5a12966e39cb4ba4cb2e190cb8ce02969e954"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): chapter3/agentic-rag/evaluation/evaluate.py:47-64 | chapter3/contextual-retrieval/evaluation/evaluate.py:39-56 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7de29d396437c94204fd3f8f3a6c5e38a5410ee7e6a61e2d942bdcab638909f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): chapter4/perception-tools/src/google_search_enhanced.py:194-209 | chapter4/perception-tools/src/wayback_enhanced.py:66-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter4/perception-tools/src/wayback_enhanced.py:66\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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, \u0060chapter4/perception-tools/src/google_search_enhanced.py:192\u0060 calls \u0060info\u0060, \u0060TextContent\u0060 and \u0060chapter4/perception-tools/src/wayback_enhanced.py:66\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":"chapter4/perception-tools/src/google_search_enhanced.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13afd1f061c584be4d1b9acdd4db3262de5e6ec0389c9cd0506bbcba826b005"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:281-298 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:372-387 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8655231d6e2a7c9d46de650961e6ee57e2d436b06c68ea6944433b7f9a50fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:563-580 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"893df094be031e5fd16f6cbe5dbdd973ec896166e84af94ef7c698cfc34d4f7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): chapter7/android-world/run_controlled_experiment.py:623-640 | chapter7/experiment-7-2-human-benchmark/run_android_human.py:18-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter7/android-world/run_controlled_experiment.py:623\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/android-world/run_controlled_experiment.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a73427bd7065a4eadd42c810546b3db0e3fc547eec9f004b2fd093651505eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/validate_evidence.py:283-300 | chapter8/continued-pretraining/validation/validate_evidence.py:182-199 \u2014 before extracting anything, compare \u0060chapter8/MiniMind-pretrain/validation/validate_evidence.py\u0060 and \u0060chapter8/continued-pretraining/validation/validate_evidence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter8/MiniMind-pretrain/validation/validate_evidence.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"b973c5ecf21d5957588309a174caab6422f294c6bebf6d9549160f75853eb627"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 7): chapter4/perception-tools/src/media_processing_tools.py:276-292 | chapter4/perception-tools/src/media_processing_tools.py:842-858 | chapter4/perception-tools/src/pubchem_tools.py:280-296 | chapter4/perception-tools/src/pubchem_tools.py:359-375 | chapter4/perception-tools/src/pubchem_tools.py:435-451 | chapter4/perception-tools/src/pubchem_tools.py:528-544 | chapter4/perception-tools/src/search_tools.py:246-262 \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 \u0060chapter4/perception-tools/src/media_processing_tools.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e92b797236bb95b659b8dede99ab4335c1098d1442894cdde8a704c3c40fc14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 6): book-ar/svg_lib.py:91-107 | book-en/svg_lib.py:87-103 | book-es/svg_lib.py:87-103 | book-id/svg_lib.py:87-103 | book-ru/svg_lib.py:87-103 | book-tr/svg_lib.py:87-103 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060book-ar/svg_lib.py:91\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, 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, \u0060book-ar/svg_lib.py:111\u0060 calls \u0060category\u0060 and \u0060book-en/svg_lib.py:107\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":"book-ar/svg_lib.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"168c02cd482e7116eaffca9e62a7b78f4d3e90be59608f11ff6554ef6ae3cc03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:375-391 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:419-435 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:462-478 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"e388940c9978780d1016c7ca531cfb9e9b9c44a923e08bcff5916f0dea51537f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): chapter5/permission-embedded-data-objects/pedo/scenarios/hiring.py:141-159 | chapter5/permission-embedded-data-objects/pedo/scenarios/hiring.py:228-244 | chapter5/permission-embedded-data-objects/pedo/scenarios/project_mgmt.py:224-240 \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 \u0060chapter5/permission-embedded-data-objects/pedo/scenarios/hiring.py:141\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/scenarios/hiring.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a620f23f3d82b0c0e93532361a8d3eee49469380d57281919edbf210c023687b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201317 lines \u00D7 3): chapter7/model-benchmark/campaign.py:520-536 | chapter7/model-benchmark/campaign.py:674-682 | chapter7/model-benchmark/campaign.py:765-773 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter7/model-benchmark/campaign.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50986bab2f6a1623ea91d94bea478043ce21e1e5a6ba8419d1dd9d8ca3afb1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): chapter2/context-compression/agent.py:400-415 | chapter3/user-memory/agent.py:696-712 \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":"chapter2/context-compression/agent.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d8d22e43aad91411ff6d48f88a894e12b302b08256a03a636d380f6e100169"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201317 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/main.py:168-181 | chapter3/agentic-rag-for-user-memory/main.py:282-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b98114fec82f20e88b976dbe67bbf41505e16daf733f0fa2ae16073d5762924"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): chapter3/retrieval-pipeline/retrieval_pipeline.py:204-220 | chapter3/retrieval-pipeline/retrieval_pipeline.py:223-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_pipeline.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7300e8432839ad40e061b1b096790b852fb67138559415963c2f6765e7ef2fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): chapter4/perception-tools/src/filesystem_tools.py:168-184 | chapter4/perception-tools/src/filesystem_tools.py:223-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0226ded21f70aadd5cde7b27a65e58010e512c2c676fd2392c0ecbf08ef9865f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): chapter9/browser-use-rpa/run_experiment_9_5.py:132-148 | chapter9/prompt-auto-optimization/config.py:189-205 \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":"chapter9/browser-use-rpa/run_experiment_9_5.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdffd8a4a01f972311ea7153591191a4eeb3d5844f8a63d467b2cf1941bbc2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 27): chapter4/perception-tools/src/arxiv_enhanced.py:72-87 | chapter4/perception-tools/src/document_processing_tools.py:157-172 | chapter4/perception-tools/src/document_processing_tools.py:231-246 | chapter4/perception-tools/src/document_processing_tools.py:293-308 | chapter4/perception-tools/src/filesystem_tools.py:364-379 | chapter4/perception-tools/src/filesystem_tools.py:490-505 | chapter4/perception-tools/src/media_processing_tools.py:199-214 | chapter4/perception-tools/src/media_processing_tools.py:443-458 | chapter4/perception-tools/src/media_processing_tools.py:531-546 | chapter4/perception-tools/src/media_processing_tools.py:664-679 | chapter4/perception-tools/src/media_processing_tools.py:750-765 | chapter4/perception-tools/src/multimodal_tools.py:304-319 | chapter4/perception-tools/src/multimodal_tools.py:382-397 | chapter4/perception-tools/src/multimodal_tools.py:455-470 | chapter4/perception-tools/src/private_data_tools.py:133-148 | chapter4/perception-tools/src/private_data_tools.py:255-270 | chapter4/perception-tools/src/public_data_tools.py:131-146 | chapter4/perception-tools/src/public_data_tools.py:210-225 | chapter4/perception-tools/src/public_data_tools.py:281-296 | chapter4/perception-tools/src/public_data_tools.py:350-365 | chapter4/perception-tools/src/public_data_tools.py:443-458 | chapter4/perception-tools/src/public_data_tools.py:533-548 | chapter4/perception-tools/src/public_data_tools.py:642-657 | chapter4/perception-tools/src/public_data_tools.py:743-758 | chapter4/perception-tools/src/public_data_tools.py:847-862 | chapter4/perception-tools/src/search_tools.py:416-431 | chapter4/perception-tools/src/wiki_enhanced.py:65-80 \u2014 there are 27 copies across 9 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 27 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter4/perception-tools/src/arxiv_enhanced.py:72\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/arxiv_enhanced.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69c8e6b140437d605f5cbb84491f0990888cd79af0170e8c28e8d25c5458451"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): book-ar/svg_lib.py:549-564 | book-en/svg_lib.py:523-538 | book-es/svg_lib.py:523-538 | book-id/svg_lib.py:523-538 | book-ru/svg_lib.py:523-538 | book-tr/svg_lib.py:523-538 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"book-ar/svg_lib.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ff36dd250e68f73f790d737e36bb78abed747c67a67dfc81ba4cd3fc7135b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): chapter4/perception-tools/src/pubchem_tools.py:347-362 | chapter4/perception-tools/src/pubchem_tools.py:423-438 | chapter4/perception-tools/src/pubchem_tools.py:516-531 | chapter4/perception-tools/src/yahoo_finance_tools.py:196-211 \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 \u0060chapter4/perception-tools/src/pubchem_tools.py:347\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78325abf95433c0f7ef0d79ab3d666a4cea9ae9f72e912141fb6e9d75d432e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201316 lines \u00D7 3): chapter4/active-tool-selection/agent.py:150-165 | chapter4/active-tool-selection/agent.py:350-360 | chapter4/active-tool-selection/agent.py:478-492 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"chapter4/active-tool-selection/agent.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e75a03664df6fdb88621101a0de3ac635a09a2f08a38b5a03fe22440c0af7cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): chapter4/multimodal-agent/agent.py:226-239 | chapter4/multimodal-agent/agent.py:280-293 | chapter4/multimodal-agent/agent.py:957-972 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf40527bd3c3ce67513571a1aef49f2edd1f2b22c23abab6a38088c7c026fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): chapter5/permission-embedded-data-objects/pedo/scenarios/banking.py:86-103 | chapter5/permission-embedded-data-objects/pedo/scenarios/ecommerce.py:101-116 | chapter5/permission-embedded-data-objects/pedo/scenarios/healthcare.py:64-81 \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 \u0060chapter5/permission-embedded-data-objects/pedo/scenarios/banking.py:86\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/scenarios/banking.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"1373d3fbc9bc0cdd9155b30cf54a5c00f2b0ab829448b637a9c75295078ee430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): chapter6/gemini-xlerobot-navigation/validate_evidence.py:77-92 | chapter6/rgb-sim2real-grasping/validate_evidence.py:62-77 | chapter6/xlerobot-teleoperation/validate_evidence.py:57-72 \u2014 \u0060chapter6/gemini-xlerobot-navigation/validate_evidence.py\u0060 and \u0060chapter6/rgb-sim2real-grasping/validate_evidence.py\u0060 are one unit implemented once 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 43 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/gemini-xlerobot-navigation/validate_evidence.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a3c76f59199dcdfc28d3f78839efce8dc0b3e4364dd415747c894b08f5ce44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): chapter2/attention_visualization/tools.py:390-404 | chapter2/local_llm_serving/tools.py:412-427 \u2014 \u0060chapter2/attention_visualization/tools.py\u0060 and \u0060chapter2/local_llm_serving/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 6 separate duplicated blocks between them, totalling at least 324 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter2/attention_visualization/tools.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba10ef5c7c181cc91da840755f948d0a63b652ccecbb72a3d99ce4b10be1bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): chapter2/context-compression/experiment.py:294-309 | chapter2/context-compression/run_all_strategies.py:369-383 \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 \u0060chapter2/context-compression/experiment.py:294\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/experiment.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e4bfaca233d3c74bacc799405aec54aed404e909961f25fcc27ece2fb6bd2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter2/system-hint/agent.py:129-144 | chapter6/agent-with-event-trigger/agent.py:318-333 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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 \u0060chapter2/system-hint/agent.py:129\u0060 it begins part-way through the construct above it, so those exact 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, \u0060chapter6/agent-with-event-trigger/agent.py:336\u0060 calls \u0060now\u0060, \u0060MCPServerManager\u0060 and \u0060chapter2/system-hint/agent.py:147\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":"chapter2/system-hint/agent.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54cc76b71d79dbc3041dc6c93e0e57747eca4a51fb6bbfd4966f3b6fca7c541"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter2/system-hint/agent.py:284-299 | chapter6/agent-with-event-trigger/agent.py:529-544 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f41537bd5bdfa02c0ad2652bc4e085780dec2afac62c7f7a419732fda1303bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/main.py:307-322 | chapter3/contextual-retrieval-for-user-memory/main.py:552-567 \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":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce5a9f4b9286de1783552304d853c262fe92b1d53e33c38f0b2e6a90620057b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter3/agentic-rag/agent.py:55-70 | chapter3/contextual-retrieval/agent.py:40-55 \u2014 \u0060chapter3/agentic-rag/agent.py\u0060 and \u0060chapter3/contextual-retrieval/agent.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 111 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag/agent.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d6129e8b58c54b75b041f488e219715e8b119c44690330fe8275c0790f571b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter3/agentic-rag/agent.py:214-229 | chapter3/contextual-retrieval/agent.py:155-170 \u2014 \u0060chapter3/agentic-rag/agent.py\u0060 and \u0060chapter3/contextual-retrieval/agent.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 111 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag/agent.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a76a69f6402e40b63f7be273a34a0fc6b301309c506dd6260082d3e9d672e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter3/agentic-rag/agent.py:348-363 | chapter3/contextual-retrieval/agent.py:273-288 \u2014 \u0060chapter3/agentic-rag/agent.py\u0060 and \u0060chapter3/contextual-retrieval/agent.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 6 separate duplicated blocks between them, totalling at least 111 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb268e1e4d4a23653e341c461ad653ffeed9bb53a20ad95c703b9451520f936f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter3/agentic-rag/evaluation/evaluate.py:82-97 | chapter3/contextual-retrieval/evaluation/evaluate.py:74-89 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae138b23d6b4acd090d77123b61b1dab9e8774fee2ae61b21b2df7f003d1726"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 2): chapter3/agentic-rag/main.py:198-213 | chapter3/contextual-retrieval/main.py:190-201 \u2014 \u0060chapter3/agentic-rag/main.py\u0060 and \u0060chapter3/contextual-retrieval/main.py\u0060 are one unit implemented once 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 254 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060chapter3/agentic-rag/main.py:198\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/main.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7629d08b2f68bb58d0ca4080bc6784dadabf4c8dd4c1d3e44c49c32bea572c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter3/agentic-rag/main.py:299-314 | chapter3/contextual-retrieval/main.py:273-288 \u2014 \u0060chapter3/agentic-rag/main.py\u0060 and \u0060chapter3/contextual-retrieval/main.py\u0060 are one unit implemented once 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 254 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag/main.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d23092b6b1d6adb99870ee111593acabb13ea91e0a423cbbfbdc58345acee1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter3/dense-embedding/cli.py:146-161 | chapter3/sparse-embedding/cli.py:73-88 \u2014 \u0060chapter3/dense-embedding/cli.py\u0060 and \u0060chapter3/sparse-embedding/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 3 separate duplicated blocks between them, totalling at least 45 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/cli.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"771efaae57ab4b8d15f39a4e7a8f5d85ec15a8a5af45b1ef8340436709449f54"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:367-382 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:493-508 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:367\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b46d94cea77963748f476d0eaa6420073177251f9a321305341a343e28014e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter6/agent-with-event-trigger/server.py:246-261 | chapter6/agent-with-event-trigger/server_fastapi.py:240-255 \u2014 before extracting anything, compare \u0060chapter6/agent-with-event-trigger/server.py\u0060 and \u0060chapter6/agent-with-event-trigger/server_fastapi.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fffb9077e6c87342fc7e48ca083a0127310572985fbfa30ea180469a5b21da8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter9/hermes-self-evolution/run_acceptance_review.py:59-74 | chapter9/hermes-self-evolution/run_review_pass.py:48-63 \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":"chapter9/hermes-self-evolution/run_acceptance_review.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f622ef1b1df7d50c55b4c4e9088fb2527dfb7c8a3d5efc18513f348d50f9d6c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): chapter5/adaptive-log-parser/agent.py:78-92 | chapter5/code-for-logic/demo.py:66-80 | chapter5/dynamic-form/demo.py:62-76 | chapter5/log-diagnosis/diagnoser.py:24-38 | chapter5/small-model-codified-rules/agent.py:32-46 | chapter5/video-edit/agents.py:29-43 \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":"chapter5/adaptive-log-parser/agent.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5648773a3576d6bca3263a07a68d5b9d46a77be48e5585034ed990cbea31e7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 5): chapter5/permission-embedded-data-objects/pedo/scenarios/enterprise_agents.py:67-81 | chapter5/permission-embedded-data-objects/pedo/scenarios/forum.py:58-73 | chapter5/permission-embedded-data-objects/pedo/scenarios/healthcare.py:40-57 | chapter5/permission-embedded-data-objects/pedo/scenarios/hiring.py:110-124 | chapter5/permission-embedded-data-objects/pedo/scenarios/project_mgmt.py:106-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 all 5 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/scenarios/enterprise_agents.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3826cab239375b4d786be38fb185ff0618296f1aed4652ab15fa5a6300a6d6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): chapter3/agentic-rag/tools.py:381-395 | chapter3/agentic-rag/tools.py:418-433 | chapter3/contextual-retrieval/tools.py:386-400 | chapter3/contextual-retrieval/tools.py:423-438 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060chapter3/agentic-rag/tools.py:381\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d9126338c457f4ccc82da5960c48c552f88ad2f5096912432020cc2bbeb418"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): chapter5/conversational-ui/backend/main.py:84-98 | chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py:82-96 | chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py:82-96 | chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py:82-96 \u2014 before extracting anything, compare \u0060chapter5/conversational-ui/backend/main.py\u0060 and \u0060chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"chapter5/conversational-ui/backend/main.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac63370037fa159752f54552bb97af99140077c7821d100cf66c44e09aee5be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): chapter3/user-memory/agent.py:122-136 | chapter3/user-memory/conversational_agent.py:113-127 | chapter6/agent-with-event-trigger/agent.py:304-318 \u2014 before extracting anything, compare \u0060chapter3/user-memory/agent.py\u0060 and \u0060chapter3/user-memory/conversational_agent.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 76 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter3/user-memory/agent.py:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fee1d062b7cf02e8ed61dbe895187a4e5132ee40d7a78ec072b7d99290d29d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): chapter3/user-memory/memory_manager.py:143-157 | chapter3/user-memory/memory_manager.py:388-402 | chapter3/user-memory/memory_manager.py:570-584 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68a84d2cb9e710373912d6e1ce19891ce408147e0bfe87449e0ee428c507888"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): chapter4/multimodal-agent/agent.py:515-529 | chapter4/multimodal-agent/agent.py:764-778 | chapter4/multimodal-agent/agent.py:810-824 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter4/multimodal-agent/agent.py:515\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1d25dc60288ef9149c648fe226133bc3d7dcaf0affbb51182e5eda4ef03df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:741-755 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:848-862 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:903-917 \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 \u0060chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:741\u0060 it begins part-way through the construct above it, so those exact lines 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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae81303d8e71a31a22160988248acf02590981a19f28113cdcbd2d2cf0d19aa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chapter2/context-compression/experiment.py:330-344 | chapter2/context-compression/run_all_strategies.py:400-414 \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":"chapter2/context-compression/experiment.py"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e9895b45f271d0c424a1f99f16b7a7ddfb6ec2e716f585e54403e094a326d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): chapter2/system-hint/agent.py:480-493 | chapter6/agent-with-event-trigger/agent.py:764-778 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d9442f2af150cc882cd9229d093831a96401ff50ae2de93c6a0c79989fef1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/config.py:227-241 | chapter3/contextual-retrieval-for-user-memory/config.py:222-236 \u2014 \u0060chapter3/agentic-rag-for-user-memory/config.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/config.py\u0060 are one unit implemented once 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 98 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/config.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bc8182242d1baa66f668f69fc7cbc25be52548d6bd5b59212cf4908a02c230"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chapter3/structured-index/config.py:97-111 | chapter3/structured-index/config.py:135-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":"chapter3/structured-index/config.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"945cc7a01ffd1876b24e530f65bc9afc8228b335786f5229608c1edcf8b01db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chapter4/active-tool-discovery/agent.py:92-106 | chapter4/active-tool-discovery/offline_backend.py:125-139 \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 before the matched lines, \u0060chapter4/active-tool-discovery/agent.py:90\u0060 calls \u0060strip\u0060 and \u0060chapter4/active-tool-discovery/offline_backend.py:124\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":"chapter4/active-tool-discovery/agent.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4c6b3fb6723d1f5fc9b545edde0a944afe4efe283e2b9fc53e9453d59e73ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chapter4/multimodal-agent/agent.py:483-497 | chapter4/multimodal-agent/agent.py:916-930 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"a143a30c7de202f556382946616ab5b6ea5f22aa83c8445b28aee00b06638fae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): chapter5/paper-to-ppt/agents.py:355-369 | chapter5/paper-to-ppt/agents.py:432-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":"chapter5/paper-to-ppt/agents.py"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"204f0ff20ca9e3dc57649cb003028ab1996700a99fb0a6239a4a4c11498d44e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chapter7/tts-quality-eval/pipeline.py:624-638 | chapter7/tts-quality-eval/pipeline.py:747-761 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter7/tts-quality-eval/pipeline.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/tts-quality-eval/pipeline.py"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3f235f75f7a7a62c4c4e15b5cac28fb734252af41f772418834051e704245d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201315 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:674-688 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:826-836 \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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ed78ca427ddaf444cbefc1ff6751f87e2087b1d6b0cdf029511471c47af4ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:695-710 | chapter8/continued-pretraining/validation/run_report_audit.py:711-725 \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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d2f5c4843b4e46152c454b92798249d56857129f5365984d31d1dc1571f718"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:694-708 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:851-864 \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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"d489ff977384837d48c6107b654c08d3a545d00ad34f1005fd4db7443936f3ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 35): chapter4/perception-tools/src/arxiv_enhanced.py:67-80 | chapter4/perception-tools/src/document_processing_tools.py:152-165 | chapter4/perception-tools/src/document_processing_tools.py:226-239 | chapter4/perception-tools/src/document_processing_tools.py:288-301 | chapter4/perception-tools/src/filesystem_tools.py:359-372 | chapter4/perception-tools/src/filesystem_tools.py:485-498 | chapter4/perception-tools/src/media_processing_tools.py:194-207 | chapter4/perception-tools/src/media_processing_tools.py:274-285 | chapter4/perception-tools/src/media_processing_tools.py:438-451 | chapter4/perception-tools/src/media_processing_tools.py:526-539 | chapter4/perception-tools/src/media_processing_tools.py:659-672 | chapter4/perception-tools/src/media_processing_tools.py:745-758 | chapter4/perception-tools/src/media_processing_tools.py:838-851 | chapter4/perception-tools/src/multimodal_tools.py:299-312 | chapter4/perception-tools/src/multimodal_tools.py:377-390 | chapter4/perception-tools/src/multimodal_tools.py:452-463 | chapter4/perception-tools/src/private_data_tools.py:128-141 | chapter4/perception-tools/src/private_data_tools.py:250-263 | chapter4/perception-tools/src/pubchem_tools.py:276-289 | chapter4/perception-tools/src/pubchem_tools.py:355-368 | chapter4/perception-tools/src/pubchem_tools.py:431-444 | chapter4/perception-tools/src/pubchem_tools.py:524-537 | chapter4/perception-tools/src/public_data_tools.py:126-139 | chapter4/perception-tools/src/public_data_tools.py:205-218 | chapter4/perception-tools/src/public_data_tools.py:276-289 | chapter4/perception-tools/src/public_data_tools.py:345-358 | chapter4/perception-tools/src/public_data_tools.py:438-451 | chapter4/perception-tools/src/public_data_tools.py:528-541 | chapter4/perception-tools/src/public_data_tools.py:637-650 | chapter4/perception-tools/src/public_data_tools.py:738-751 | chapter4/perception-tools/src/public_data_tools.py:842-855 | chapter4/perception-tools/src/search_tools.py:242-255 | chapter4/perception-tools/src/search_tools.py:320-333 | chapter4/perception-tools/src/search_tools.py:411-424 | chapter4/perception-tools/src/wiki_enhanced.py:60-73 \u2014 there are 35 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 35 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter4/perception-tools/src/arxiv_enhanced.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. The matched lines also transfer control out of the body holding them, 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, \u0060chapter4/perception-tools/src/multimodal_tools.py:450\u0060 calls \u0060ImportError\u0060, \u0060TextContent\u0060 and \u0060chapter4/perception-tools/src/arxiv_enhanced.py:67\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":"chapter4/perception-tools/src/arxiv_enhanced.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7ebd90c8e183901cee011133a13efc8d88b853e4cfe74bac8207d75326d693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 31): chapter4/perception-tools/src/arxiv_enhanced.py:72-85 | chapter4/perception-tools/src/document_processing_tools.py:84-97 | chapter4/perception-tools/src/document_processing_tools.py:157-170 | chapter4/perception-tools/src/document_processing_tools.py:231-244 | chapter4/perception-tools/src/document_processing_tools.py:293-306 | chapter4/perception-tools/src/filesystem_tools.py:364-377 | chapter4/perception-tools/src/filesystem_tools.py:490-503 | chapter4/perception-tools/src/filesystem_tools.py:566-579 | chapter4/perception-tools/src/media_processing_tools.py:199-212 | chapter4/perception-tools/src/media_processing_tools.py:345-358 | chapter4/perception-tools/src/media_processing_tools.py:443-456 | chapter4/perception-tools/src/media_processing_tools.py:531-544 | chapter4/perception-tools/src/media_processing_tools.py:664-677 | chapter4/perception-tools/src/media_processing_tools.py:750-763 | chapter4/perception-tools/src/multimodal_tools.py:230-243 | chapter4/perception-tools/src/multimodal_tools.py:304-317 | chapter4/perception-tools/src/multimodal_tools.py:382-395 | chapter4/perception-tools/src/multimodal_tools.py:455-468 | chapter4/perception-tools/src/private_data_tools.py:133-146 | chapter4/perception-tools/src/private_data_tools.py:255-268 | chapter4/perception-tools/src/public_data_tools.py:131-144 | chapter4/perception-tools/src/public_data_tools.py:210-223 | chapter4/perception-tools/src/public_data_tools.py:281-294 | chapter4/perception-tools/src/public_data_tools.py:350-363 | chapter4/perception-tools/src/public_data_tools.py:443-456 | chapter4/perception-tools/src/public_data_tools.py:533-546 | chapter4/perception-tools/src/public_data_tools.py:642-655 | chapter4/perception-tools/src/public_data_tools.py:743-756 | chapter4/perception-tools/src/public_data_tools.py:847-860 | chapter4/perception-tools/src/search_tools.py:416-429 | chapter4/perception-tools/src/wiki_enhanced.py:65-78 \u2014 there are 31 copies across 9 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 31 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter4/perception-tools/src/arxiv_enhanced.py:72\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/arxiv_enhanced.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8669f776192a01b1ded7cefeec275e79490b5c871f03a6f1865e7b27a0cef82e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 8): chapter4/perception-tools/src/pubchem_tools.py:351-364 | chapter4/perception-tools/src/pubchem_tools.py:427-440 | chapter4/perception-tools/src/pubchem_tools.py:520-533 | chapter4/perception-tools/src/search_tools.py:238-251 | chapter4/perception-tools/src/yahoo_finance_tools.py:101-114 | chapter4/perception-tools/src/yahoo_finance_tools.py:200-213 | chapter4/perception-tools/src/yahoo_finance_tools.py:293-306 | chapter4/perception-tools/src/yahoo_finance_tools.py:406-419 \u2014 there are 8 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 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c9de538cc73d7937b58d82984eea7a1daebb6ae4851767ea68f1c96e516a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 6): book-en/strip_titles.py:95-108 | book-id/strip_titles.py:94-107 | book-ta/strip_titles.py:95-108 | book-tr/strip_titles.py:94-107 | book-zhtw/strip_titles.py:94-107 | book/strip_titles.py:94-107 \u2014 \u0060book-en/strip_titles.py\u0060 and \u0060book-id/strip_titles.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 68 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-en/strip_titles.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"17cb4f1cbd9f62ae0f172a09ff4ca719b853bdf12ce76b999bca6f09f37f5c1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): chapter3/agentic-rag-for-user-memory/agent.py:95-108 | chapter3/agentic-rag/agent.py:73-86 | chapter3/contextual-retrieval-for-user-memory/agent.py:95-108 | chapter3/contextual-retrieval-for-user-memory/contextual_agent.py:109-122 | chapter3/contextual-retrieval/agent.py:58-71 \u2014 \u0060chapter3/agentic-rag-for-user-memory/agent.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/agent.py\u0060 are one unit implemented once 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 278 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad387177b6379472028f67f2a63dfb7953d5c661d97bc9029ae686e80b12f951"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): chapter3/agentic-rag-for-user-memory/evaluator.py:575-588 | chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py:670-683 | chapter3/contextual-retrieval-for-user-memory/evaluator.py:575-588 \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, \u0060chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py:668\u0060 calls \u0060sum\u0060, \u0060values\u0060 and \u0060chapter3/agentic-rag-for-user-memory/evaluator.py:573\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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ea277ff91c3da5937a618886d620754f10c8738c6d42d09b839aaf939398c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): chapter4/multimodal-agent/agent.py:453-466 | chapter4/multimodal-agent/agent.py:536-552 | chapter4/multimodal-agent/agent.py:572-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"2568d0af87248eeec106589bb187e5d270aacd27b3647870c13fabda70ec6da2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): chapter4/perception-tools/src/multimodal_tools.py:90-103 | chapter4/perception-tools/src/multimodal_tools.py:568-581 | chapter4/perception-tools/src/search_tools.py:325-338 \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 \u0060chapter4/perception-tools/src/multimodal_tools.py:90\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58639fd851104804ddedab14688897156e131d012a90a170750d65bdd5f273d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chapter1/learning-from-experience/demo.py:120-133 | chapter1/learning-from-experience/quick_demo.py:48-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":"chapter1/learning-from-experience/demo.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1317deee51106065c3bbabe90e18e4c8cdeaa6fcc1bb0c8f5f933007b2539a24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/agent.py:137-150 | chapter3/contextual-retrieval-for-user-memory/agent.py:137-147 \u2014 \u0060chapter3/agentic-rag-for-user-memory/agent.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/agent.py\u0060 are one unit implemented once 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 278 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060chapter3/agentic-rag-for-user-memory/agent.py:137\u0060 it does not close everything it opens, so those exact 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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad22d4a5aaa7aa814728ae376c0e8636ecd174e93dbd86d0f6354dc2cc3bfff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chapter3/agentic-rag/tools.py:333-346 | chapter3/contextual-retrieval/tools.py:338-351 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd046c8db8fd0b3fe948312abe25b760ccc7bea27166bfb99ebe4900872fad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py:470-483 | chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py:515-528 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"9587bb8f80debe697f111cbdfbc4dee9424c53af4c2049f7fc163c86da0ac327"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chapter3/user-memory/background_memory_processor.py:217-230 | chapter3/user-memory/background_memory_processor.py:292-305 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter3/user-memory/background_memory_processor.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":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4132694d8d0f2159c9ff04c950829bd7df3ff9e39042a80696a8e9e6a37c1369"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chapter3/user-memory/quickstart.py:92-105 | chapter3/user-memory/quickstart.py:147-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter3/user-memory/quickstart.py:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/quickstart.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b93dc5c64442c6096a9e2536fe4168234f2404c51fb0cf2083056999aeaccd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:201-211 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:384-397 \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 \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:201\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae07d5b7533f0933186cd29aece6a6736a7040cecd484ec2a16af3fe6da43791"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:99-112 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:538-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 \u0060chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:99\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbadee364d75d20f2650c8b3e4ec97bcf57bcfdbce4d0621224548a2c31fe3fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:123-136 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:123-136 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 299 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 \u0060chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:123\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"84070c3f5f1df8d72cc93d3cdea359c5bb807130182466ac6c2943eec3246ea0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chapter7/android-world/experiment_core.py:149-162 | chapter7/android-world/experiment_core.py:244-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. The matched lines also transfer control out of the body holding them, 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, \u0060chapter7/android-world/experiment_core.py:258\u0060 calls \u0060sum\u0060 and \u0060chapter7/android-world/experiment_core.py:163\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":"chapter7/android-world/experiment_core.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"290bf971a6cc8782826b9402a7dac98b4e98e2d902d94991cdcdeab3e465c884"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:331-346 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:461-476 \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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"169887e6495820b5d2d5667a3c40069a6159b0f30f59b95d2ae9077dfc0d9364"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/validate_evidence.py:181-194 | chapter8/continued-pretraining/validation/validate_evidence.py:110-123 \u2014 before extracting anything, compare \u0060chapter8/MiniMind-pretrain/validation/validate_evidence.py\u0060 and \u0060chapter8/continued-pretraining/validation/validate_evidence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chapter8/MiniMind-pretrain/validation/validate_evidence.py:179\u0060 calls \u0060AssertionError\u0060, \u0060get\u0060 and \u0060chapter8/continued-pretraining/validation/validate_evidence.py:109\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":"chapter8/MiniMind-pretrain/validation/validate_evidence.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1373e231e8cc49db434273e52d3a8ecb141ba63b63477a591450ea88915298"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 6): book-ar/svg_lib.py:573-590 | book-en/svg_lib.py:547-564 | book-es/svg_lib.py:547-564 | book-id/svg_lib.py:547-564 | book-ru/svg_lib.py:547-564 | book-tr/svg_lib.py:547-564 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060book-ar/svg_lib.py:573\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"261324b5ca9d4e4fe985257029c87de79fab23f29d0439c75a9161253e3f1af1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 3): chapter1/context/agent.py:842-852 | chapter2/system-hint/agent.py:902-912 | chapter6/agent-with-event-trigger/agent.py:1143-1155 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff78735b12faa4df15999ee9fc82a903302cb7e2ce13f0796be218b8c6c25d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): chapter10/multi-role-transfer/run_official_experiment.py:105-116 | chapter10/parallel-web-research/run_official_experiment.py:195-207 | chapter6/streaming-speech/run_official_experiment.py:78-89 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chapter6/streaming-speech/run_official_experiment.py:92\u0060 calls \u0060bool_gate\u0060 and \u0060chapter10/multi-role-transfer/run_official_experiment.py:119\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":"chapter10/multi-role-transfer/run_official_experiment.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdeff70393fbe423f02b9666b999d96d309bfcfd1e7f733829c3a66f46f5cd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): chapter3/agentic-rag-for-user-memory/agent.py:236-248 | chapter3/contextual-retrieval-for-user-memory/agent.py:232-244 | chapter3/contextual-retrieval/agent.py:200-212 \u2014 \u0060chapter3/agentic-rag-for-user-memory/agent.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/agent.py\u0060 are one unit implemented once 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 278 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060stream\u0060 to \u0060bool = False\u0060 in one and \u0060bool = 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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4dc6329be65e2911d5e2f681eaee3eb53d4a5cf6cf88fa74d4155aa35cf621"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): chapter5/adaptive-log-parser/campaign.py:76-88 | chapter5/conversational-ui/campaign_browser.py:85-97 | chapter5/erp-agent/campaign_postgres.py:89-101 \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":"chapter5/adaptive-log-parser/campaign.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"41904a26e043b595e80cceae08743268adc6f98c008164a9c128a64b348a56a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): chapter5/permission-embedded-data-objects/pedo/core/store.py:141-153 | chapter5/permission-embedded-data-objects/pedo/core/store.py:168-180 | chapter5/permission-embedded-data-objects/pedo/core/store.py:702-713 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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 \u0060type_name\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 after the matched lines, \u0060chapter5/permission-embedded-data-objects/pedo/core/store.py:155\u0060 calls \u0060_check_permission\u0060 and \u0060chapter5/permission-embedded-data-objects/pedo/core/store.py:714\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":"chapter5/permission-embedded-data-objects/pedo/core/store.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a116e90fc22173b4b067801b638d8b31674b4e260a31434fa6c83a6c9923cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 3): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:215-226 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:402-414 | chapter5/permission-embedded-data-objects/run_targeted_eval.py:264-271 \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 \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:215\u0060 it begins part-way through the construct above it, so those exact 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4574d5ec6a07c52a7a4388367a249b278b630f1362d973d59a9374cfe2bc6c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): chapter10/multi-role-transfer/tools.py:121-133 | chapter10/staged-system-prompt/tools.py:188-199 \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 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":"chapter10/multi-role-transfer/tools.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f457e30303ce91fc8b95b033149c204e8409d76afaab439884bef70a567d710"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chapter2/local_llm_serving/agent.py:115-127 | chapter2/local_llm_serving/agent.py:163-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90d877ca23e3434ef5682cd548f489b35c3b0ec229e6432d940339ed64ad5ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): chapter2/system-hint/agent.py:596-608 | chapter6/agent-with-event-trigger/agent.py:867-876 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa16d49b57fd04e384e30707ed412ead0d924da66aa55f7ec30fd690ec7d6179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): chapter2/system-hint/agent.py:946-965 | chapter6/agent-with-event-trigger/agent.py:1180-1199 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a06a0e8e2f30cccbe4fd1e27064f08e5a547a6b1193b7587ee42650243c870"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chapter3/agentic-rag/evaluation/evaluate.py:67-79 | chapter3/contextual-retrieval/evaluation/evaluate.py:59-71 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1cdffea504c01110ed3e0ab2e953fc70d8c890a5124908b95de43df6e86ff2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): chapter3/agentic-rag/tools.py:132-142 | chapter3/contextual-retrieval/tools.py:130-142 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cdf63c2ad7f2a9ae957b131fe8386abd7f52b4db0a6fc9739cbf0af3196d95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): chapter3/structured-index/document_processor.py:68-80 | chapter3/structured-index/document_processor.py:99-109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/structured-index/document_processor.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad02364753c0d22220dddcd3b0d2fd52d853cddc4ed857308d9e33ac8fa1f47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): chapter3/user-memory/background_memory_processor.py:248-260 | chapter3/user-memory/background_memory_processor.py:320-331 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c94be9e4cfbf36b7645841e725ae4bbdf6b4af0f59d11a28ffff236bb31a524"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chapter4/execution-tools/file_tools.py:80-92 | chapter4/execution-tools/file_tools.py:171-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/file_tools.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d02f2b4c9397de71ac90617dfcb9b36669aecd314faae4cf0107fde205aad95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chapter5/adaptive-log-parser/campaign.py:310-322 | chapter5/conversational-ui/campaign_browser.py:359-380 \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":"chapter5/adaptive-log-parser/campaign.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2456609c111c40e99bc25876bd303ca0f60908039e3cd9fe2b0d9fcdbcf939"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 3): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:163-176 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:177-189 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py:190-197 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_reactions.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a37ddd213002800c5200fd155175f3217fd796c08eed85052b02647a20386d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chapter7/android-world/run_controlled_experiment.py:1743-1755 | chapter7/android-world/run_controlled_experiment.py:1775-1787 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/android-world/run_controlled_experiment.py"},"region":{"startLine":1743}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fd0cb775ae5616ddfba49876a16883959ff8cd8fc87ea0ab8bc97bbba64182"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py:32-44 | chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py:33-45 \u2014 \u0060chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py\u0060 and \u0060chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py\u0060 are one unit implemented once 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 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"211343032c57dffc1c4a5ee898ca2cb783f02bac67763bbb47ee35b9105c626c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py:61-74 | chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py:62-75 \u2014 \u0060chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py\u0060 and \u0060chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py\u0060 are one unit implemented once 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 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e683c1dec50524aff2cd559bce0fa0a658c242f787769a715e2296da671a43c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 6): book-ar/svg_lib.py:466-484 | book-en/svg_lib.py:440-458 | book-es/svg_lib.py:440-458 | book-id/svg_lib.py:440-458 | book-ru/svg_lib.py:440-458 | book-tr/svg_lib.py:440-458 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"book-ar/svg_lib.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9b0a4d8291206dd13332d5a6c91cc5eac81ffecb411b426aa82ef936aa128e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:98-128 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:98-128 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:98-128 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:98-128 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"edff9c1ed6af7cf2e00d6a5ecee42ab9a0d22ff40261c781f032946f98d5f311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:379-391 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:379-391 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:358-370 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:358-370 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060chapter6/astra-async-steering/experiment.py:379\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed19ed3765c38025a159c55fccf4f5bb8168abe047ddce0ebe64025e7682c60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): chapter3/agentic-rag/chunking.py:89-100 | chapter3/contextual-retrieval/chunking.py:89-100 | chapter3/contextual-retrieval/contextual_chunking.py:231-242 \u2014 \u0060chapter3/agentic-rag/chunking.py\u0060 and \u0060chapter3/contextual-retrieval/chunking.py\u0060 are one unit implemented once 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 350 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"166d93fc3dc96a1bb7261074e0f5227e5b79f6d68de23f633b430c6080348bea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chapter3/agentic-rag/config.py:248-259 | chapter3/contextual-retrieval/config.py:248-259 \u2014 \u0060chapter3/agentic-rag/config.py\u0060 and \u0060chapter3/contextual-retrieval/config.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 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 \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":"chapter3/agentic-rag/config.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"98467f792e73a5aca74af62333b70586b7d1998ed54b0175af966382cb1cd46e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chapter3/agentic-rag/tools.py:319-330 | chapter3/contextual-retrieval/tools.py:324-335 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, 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, \u0060chapter3/agentic-rag/tools.py:317\u0060 calls \u0060_get_offline_retriever\u0060, \u0060get_document\u0060 and \u0060chapter3/contextual-retrieval/tools.py:321\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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"177c27e29c3f38955c1794ee39f77fed0675ae31b4a20ee3b246a81555d3a539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chapter3/dense-embedding/cli.py:204-215 | chapter3/sparse-embedding/cli.py:162-173 \u2014 \u0060chapter3/dense-embedding/cli.py\u0060 and \u0060chapter3/sparse-embedding/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 3 separate duplicated blocks between them, totalling at least 45 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/cli.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f18b9ed1ce1b482471cea82763b52ea128e3b4b830c546de2e1cc5b740e674"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chapter3/user-memory/background_memory_processor.py:187-198 | chapter3/user-memory/background_memory_processor.py:275-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 \u0060chapter3/user-memory/background_memory_processor.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":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"214280122ef68cd11b822615f4eeaede00517e7a6c913d351f51663c969b61b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chapter3/user-memory/quickstart.py:107-118 | chapter3/user-memory/quickstart.py:165-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 \u0060chapter3/user-memory/quickstart.py:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/quickstart.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3998ffbc2dcef42a8198962b884c6b4470d02d6d0827f5715a84cdca8ee1f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chapter4/execution-tools/multilang_executor.py:397-408 | chapter4/execution-tools/multilang_executor.py:660-671 \u2014 both copies are in the same file, so extract the block into 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":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"055d0d4b31948509ef88c93bef1f5f8c5f85d6d738c41dca2ab1c064d51adf53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chapter4/perception-tools/src/pubchem_tools.py:255-266 | chapter4/perception-tools/src/search_tools.py:236-247 \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":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc39e3e3bc03baa9cd177838d3ef57adca62fcd5cc4c3c754a036bf501286ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201312 lines \u00D7 2): chapter7/elo-leaderboard/benchmark.py:25-34 | chapter7/elo-leaderboard/benchmark.py:50-61 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter7/elo-leaderboard/benchmark.py:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/elo-leaderboard/benchmark.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf475b6caf7cdc5aa05527e3e61fc07def03ef2c3b9ff83818704acb5aa4f42f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/validate_evidence.py:115-126 | chapter8/continued-pretraining/validation/validate_evidence.py:74-85 \u2014 before extracting anything, compare \u0060chapter8/MiniMind-pretrain/validation/validate_evidence.py\u0060 and \u0060chapter8/continued-pretraining/validation/validate_evidence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter8/MiniMind-pretrain/validation/validate_evidence.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a69fa11fed087dbb04ae495c5ccde0af532dd706e16df87d07a693dab988ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): book-ar/svg_lib.py:370-380 | book-en/svg_lib.py:344-354 | book-es/svg_lib.py:344-354 | book-id/svg_lib.py:344-354 | book-ru/svg_lib.py:344-354 | book-tr/svg_lib.py:344-354 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"book-ar/svg_lib.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f7641bf00ef574ff82a5f38f7248d06092efc1305a7e3d9f9e0cc1ed0237db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): book-ar/svg_lib.py:451-463 | book-en/svg_lib.py:425-437 | book-es/svg_lib.py:425-437 | book-id/svg_lib.py:425-437 | book-ru/svg_lib.py:425-437 | book-tr/svg_lib.py:425-437 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"book-ar/svg_lib.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e56eb2e679fc38a6cd639893c6781e592c692688cdf123bf0c82c8831d4addc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): chapter3/agentic-rag-for-user-memory/chunker.py:335-345 | chapter3/agentic-rag-for-user-memory/indexer.py:542-552 | chapter3/contextual-retrieval-for-user-memory/chunker.py:335-345 | chapter3/contextual-retrieval-for-user-memory/indexer.py:426-436 \u2014 \u0060chapter3/agentic-rag-for-user-memory/chunker.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/chunker.py\u0060 are one unit implemented once 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 273 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060chapter3/agentic-rag-for-user-memory/chunker.py:335\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aca2f7b5a40b0bb961032aadc2c445a468412220cce15dfdbc0e6c3292e4974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 4): chapter3/agentic-rag/evaluation/evaluate.py:56-64 | chapter3/agentic-rag/evaluation/evaluate.py:71-79 | chapter3/contextual-retrieval/evaluation/evaluate.py:48-58 | chapter3/contextual-retrieval/evaluation/evaluate.py:63-73 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed837d7001582089cae875667c487f054e9428f7f8a5c416d954aeb5ade47b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): chapter3/agentic-rag/tools.py:337-347 | chapter3/agentic-rag/tools.py:363-373 | chapter3/contextual-retrieval/tools.py:342-352 | chapter3/contextual-retrieval/tools.py:368-378 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060chapter3/agentic-rag/tools.py:337\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ca7ff20169ff417ae804c0a6d1fdcf7d9bffdab5ad0ff2d71cba14374a874c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:69-79 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:69-79 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:69-79 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:69-79 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec020352d9627601a5671856e17184c0b8d857a6e847c9b543cececbfa99cb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): chapter3/agentic-rag-for-user-memory/evaluator.py:381-391 | chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py:401-411 | chapter3/contextual-retrieval-for-user-memory/evaluator.py:381-391 \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 \u0060chapter3/agentic-rag-for-user-memory/evaluator.py:381\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b074c0f3d88660f2093f5f5204832a05fd434b06724b2d21624e66e338c9d8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): chapter5/log-diagnosis/http_service.py:75-85 | chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053056/http_service.py:75-85 | chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053403/http_service.py:75-85 \u2014 before extracting anything, compare \u0060chapter5/log-diagnosis/http_service.py\u0060 and \u0060chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053056/http_service.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter5/log-diagnosis/http_service.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f265c6367fc7633eaf276ee06c903f8439fac7ccf9817d65845ed9021a954d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): chapter7/user-memory-system-evaluation/experiment.py:1131-1141 | chapter7/user-memory-system-evaluation/experiment.py:1146-1156 | chapter7/user-memory-system-evaluation/experiment.py:1173-1183 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe72c20d9f9d6f48312430c0dd8633fdc7d8072ae38a1bc61203f16a5e144543"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): chapter10/autonomous-phone-registration/webrtc_channel.py:361-370 | chapter10/voice-werewolf/werewolf/simulator.py:243-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter10/voice-werewolf/werewolf/simulator.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/autonomous-phone-registration/webrtc_channel.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e27fcc40593c922e1d71619c015c584318b9b5ec8074e12ac436cc421f540d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): chapter2/system-hint/agent.py:271-281 | chapter6/agent-with-event-trigger/agent.py:517-526 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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 \u0060chapter2/system-hint/agent.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"485f5ddb85b3082000172c0e5fd228843d960d08a72383f14cccae352e47496d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/chunker.py:298-310 | chapter3/contextual-retrieval-for-user-memory/chunker.py:298-310 \u2014 \u0060chapter3/agentic-rag-for-user-memory/chunker.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/chunker.py\u0060 are one unit implemented once 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 273 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"73230bc7b0501f261f37e633afb9b11070144a3a1f33e934959f9c63193a12e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py:149-159 | chapter3/contextual-retrieval/contextual_chunking.py:109-119 \u2014 \u0060chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py\u0060 and \u0060chapter3/contextual-retrieval/contextual_chunking.py\u0060 are one unit implemented once 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 73 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0e2debcf87b11cd8f4dc6154115cd9872f364997cf2a80ebef7e80f1b4b7ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py:115-125 | chapter3/contextual-retrieval-for-user-memory/indexer.py:71-81 \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":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d6df3573c0e6fd94b1f588a65457fc36e963b97a8eaf8fa32ccb95604ecc81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): chapter3/dense-embedding/cli.py:238-254 | chapter3/sparse-embedding/cli.py:194-210 \u2014 \u0060chapter3/dense-embedding/cli.py\u0060 and \u0060chapter3/sparse-embedding/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 3 separate duplicated blocks between them, totalling at least 45 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/cli.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e87de5baa06f4fba6c5e4473490b41020633086261335b43e7bbf930cfda7fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chapter4/perception-tools/src/expanded_catalog.py:538-548 | chapter4/perception-tools/src/expanded_catalog.py:612-622 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/expanded_catalog.py"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98a08dd2e99990abb8d0d3e9280053ad94d712bd6066a44c2b4a768cdfacfe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:141-151 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:396-406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fe5912f20dfe0a28e673ed90544573133c26d98de835c10f19105a08ea8b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:384-394 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:396-406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48e85f3a714a555c0fc3844b6966c08f8dcad5f9f68a1eb78c3361dbb393898"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): chapter6/astra-async-steering/experiment.py:127-181 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:127-181 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060chapter6/astra-async-steering/experiment.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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d99a3aba0fe6b7d7b320cfc3435e1c26ff7e3a2338016d9032a564e30dc4f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chapter8/sesame/batch_inference.py:151-161 | chapter8/sesame/inference.py:135-145 \u2014 before extracting anything, compare \u0060chapter8/sesame/batch_inference.py\u0060 and \u0060chapter8/sesame/inference.py\u0060 as WHOLE FILES: this scan already matched 4 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. If that is what happened, the fix is to keep one copy and have the other 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":"chapter8/sesame/batch_inference.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94b5e88039cc5145b9122eb2fa6826a04a85e89a9c871b4634491229c37aa43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chapter9/harness-safety-gate/safety_policy_gate.py:334-344 | chapter9/harness-safety-gate/safety_policy_gate.py:348-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":"chapter9/harness-safety-gate/safety_policy_gate.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b8f13d74485cec910b9b0fe7e7212a6acb384c2adbc7c3915d7c801af05550"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): book-ar/svg_lib.py:394-406 | book-en/svg_lib.py:368-380 | book-es/svg_lib.py:368-380 | book-id/svg_lib.py:368-380 | book-ru/svg_lib.py:368-380 | book-tr/svg_lib.py:368-380 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"book-ar/svg_lib.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20ebb9f7ae3b06a87975f62ca58491ed1b2bcb70b8f9f23f84a35df54985627"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): book-ar/svg_lib.py:636-645 | book-en/svg_lib.py:610-619 | book-es/svg_lib.py:610-619 | book-id/svg_lib.py:610-619 | book-ru/svg_lib.py:610-619 | book-tr/svg_lib.py:610-619 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"book-ar/svg_lib.py"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f1188ba7b520f034150d0050e10782d3b71c9819358c08dac6fc7b13beee5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): chapter3/agentic-rag/evaluation/evaluate.py:326-334 | chapter3/agentic-rag/evaluation/evaluate.py:353-362 | chapter3/contextual-retrieval/evaluation/evaluate.py:318-326 | chapter3/contextual-retrieval/evaluation/evaluate.py:345-354 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b095e28f02531e60ee94197ebcc0fc0bce6ea094297795306e491a68448d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 4): chapter4/multimodal-agent/agent.py:225-233 | chapter4/multimodal-agent/agent.py:279-287 | chapter4/multimodal-agent/agent.py:653-661 | chapter4/multimodal-agent/agent.py:956-965 \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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b1825ab6c59bfcc75d3507cb2d967f84895978ba8160fcc66af6efb1800fd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:150-159 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:172-181 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:188-197 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:407-416 \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 \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:150\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e635408696600a432f9de22bcd5d7cdc0889af1375c46ea6d731084806b759"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): chapter1/learning-from-experience/demo.py:123-132 | chapter1/learning-from-experience/experiment.py:173-182 | chapter1/learning-from-experience/quick_demo.py:51-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":"chapter1/learning-from-experience/demo.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bff7da91fee8e8f42b450bccb73371e304e7e45b0f011588e5da154f979c72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): chapter3/agentic-rag/tools.py:140-149 | chapter3/agentic-rag/tools.py:190-199 | chapter3/contextual-retrieval/tools.py:197-206 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060chapter3/agentic-rag/tools.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. The matched lines also transfer control out of the body holding them, 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, \u0060chapter3/agentic-rag/tools.py:188\u0060 calls \u0060get\u0060 and \u0060chapter3/agentic-rag/tools.py:139\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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"0244f455a1341bd023f753934d6a7d4163eb00fffc82c80509f74a01fea42bc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): chapter5/log-diagnosis/http_service.py:35-44 | chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053056/http_service.py:35-44 | chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053403/http_service.py:35-44 \u2014 before extracting anything, compare \u0060chapter5/log-diagnosis/http_service.py\u0060 and \u0060chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053056/http_service.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter5/log-diagnosis/http_service.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"51977358bdc8cf40bc217598b74c31d35477471ec4acecbe53caae916a66005f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:255-264 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:275-290 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:519-528 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd30bb073c5efa9e3571c2630b8ca67d85d4f7bf71f63143a45545950630dd6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): chapter6/gemini-xlerobot-navigation/validate_evidence.py:25-38 | chapter6/rgb-sim2real-grasping/validate_evidence.py:23-36 | chapter6/xlerobot-teleoperation/validate_evidence.py:23-36 \u2014 \u0060chapter6/gemini-xlerobot-navigation/validate_evidence.py\u0060 and \u0060chapter6/rgb-sim2real-grasping/validate_evidence.py\u0060 are one unit implemented once 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 43 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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, \u0060chapter6/rgb-sim2real-grasping/validate_evidence.py:37\u0060 calls \u0060expect\u0060, \u0060set\u0060, \u0060get\u0060 and \u0060chapter6/xlerobot-teleoperation/validate_evidence.py:37\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/gemini-xlerobot-navigation/validate_evidence.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4135ef99dc00b4726e01d8a465ea9447eed80452483050468557f4da22951c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:658-668 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:810-820 | chapter8/continued-pretraining/validation/run_report_audit.py:686-696 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:809\u0060 calls \u0060add_argument\u0060, \u0060getenv\u0060 and \u0060chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:657\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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"a618f5d289ffe7d6a92e9148e11f9effb2c32a758d0146980c3024c6d1f72722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:672-681 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:824-831 | chapter8/continued-pretraining/validation/run_report_audit.py:700-708 \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 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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"69662621d2908ada9a7e9fece4d8b63ff6ef008f1c2bb564cdd9cea52a8fc9a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter1/context/main.py:1004-1013 | chapter1/context/main.py:1139-1148 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00c94bbd88b04bfa7d0667ca721e62c6c3a2cf680241777c1be7e1c24a7bdf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter10/generative-agents/start_supervisor.py:34-43 | chapter10/generative-agents/supervise_campaigns.py:163-172 \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":"chapter10/generative-agents/start_supervisor.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c57a123ce304b98fd574be17a08362cfc20015fd34ba8acf9d8940adba97558"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter10/multi-role-transfer/run_comparison.py:95-104 | chapter7/openvla-robotwin2-eval/experiment.py:451-460 \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":"chapter10/multi-role-transfer/run_comparison.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e7991a617503b28acfab00a377978622c1a823bb4dcc0ddf00567ee9483ec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u201310 lines \u00D7 2): chapter10/parallel-web-research/run_official_experiment.py:220-229 | chapter6/streaming-speech/run_official_experiment.py:104-110 \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":"chapter10/parallel-web-research/run_official_experiment.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f068fecacc439def543e24782ab88635b608e8bde388d3233406739a66013f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter3/agentic-rag/index_local_laws.py:128-137 | chapter3/contextual-retrieval/index_local_laws_contextual.py:142-151 \u2014 \u0060chapter3/agentic-rag/index_local_laws.py\u0060 and \u0060chapter3/contextual-retrieval/index_local_laws_contextual.py\u0060 are one unit implemented once 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 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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ef427b9d200282b38ed57e93b28557f6effb9eebe407f9da4f29f61acc4a28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter5/adaptive-log-parser/agent.py:97-106 | chapter5/dynamic-form/demo.py:83-92 \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":"chapter5/adaptive-log-parser/agent.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6d069a1b411a236b3ad77f4bee2eb2ea2344dcae221cd3d863605173097ad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/core/store.py:237-246 | chapter5/permission-embedded-data-objects/pedo/core/store.py:287-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/core/store.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"989c318ba7eb942967d262feb0f22f0c1720da4dcaaaff6a966b98f7ddd90274"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/core/store.py:524-533 | chapter5/permission-embedded-data-objects/pedo/core/store.py:545-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chapter5/permission-embedded-data-objects/pedo/core/store.py:534\u0060 calls \u0060error\u0060 and \u0060chapter5/permission-embedded-data-objects/pedo/core/store.py:555\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":"chapter5/permission-embedded-data-objects/pedo/core/store.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2974e95681ed86cf44ea03bd75203fa1431cb78acd8b3ec16a078409bc13ad7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:185-194 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:48-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:185\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63508db7457363f1348989b5b06ba5f73f641ffee092b7601f9ca32ddb4e4fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:104-113 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:155-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1bd5f335d52c4d3b9396b24083eb48cb01066589abb1aad909f0b9b321dfa0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:407-416 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:458-467 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:403\u0060 calls \u0060except\u0060 and \u0060chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:455\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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"747575c76954c96077904ec0c393b913f26c8331993c8e77a62b1a2e0bec8fbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201310 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:359-368 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:359-368 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:342-345 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:342-345 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fd2d1503c190919e447472cd22549073e43bc29160378956c99c99578e033c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chapter8/premature-completion-dpo/build_preference_data.py:63-75 | chapter8/premature-completion-dpo/evaluate.py:143-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 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":"chapter8/premature-completion-dpo/build_preference_data.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd4947cc6dcfddbb8a59e8c5d7f97918bb826e0acb1b579cdd6f8b35c560059"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter8/speech-sft-experiment/run_orpheus.py:194-203 | chapter8/speech-sft-experiment/run_sesame.py:185-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 both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/speech-sft-experiment/run_orpheus.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f824752f345c60beade9bc4380c2037ab7652b47a6b777995cab6414cbb7fb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter9/harness-safety-gate/run_experiment_9_7.py:110-119 | chapter9/self-modifying-agent/run_experiment_9_6.py:105-114 \u2014 before extracting anything, compare \u0060chapter9/harness-safety-gate/run_experiment_9_7.py\u0060 and \u0060chapter9/self-modifying-agent/run_experiment_9_6.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter9/harness-safety-gate/run_experiment_9_7.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5f283ad13ff0dd8147e1aeb8ad9dd75b0e825a127093d78da2aca4add28657"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 34): chapter4/perception-tools/src/arxiv_enhanced.py:72-80 | chapter4/perception-tools/src/document_processing_tools.py:84-92 | chapter4/perception-tools/src/document_processing_tools.py:157-165 | chapter4/perception-tools/src/document_processing_tools.py:231-239 | chapter4/perception-tools/src/document_processing_tools.py:293-301 | chapter4/perception-tools/src/filesystem_tools.py:364-372 | chapter4/perception-tools/src/filesystem_tools.py:490-498 | chapter4/perception-tools/src/filesystem_tools.py:566-574 | chapter4/perception-tools/src/media_processing_tools.py:199-207 | chapter4/perception-tools/src/media_processing_tools.py:345-353 | chapter4/perception-tools/src/media_processing_tools.py:443-451 | chapter4/perception-tools/src/media_processing_tools.py:531-539 | chapter4/perception-tools/src/media_processing_tools.py:664-672 | chapter4/perception-tools/src/media_processing_tools.py:750-758 | chapter4/perception-tools/src/multimodal_tools.py:90-98 | chapter4/perception-tools/src/multimodal_tools.py:230-238 | chapter4/perception-tools/src/multimodal_tools.py:304-312 | chapter4/perception-tools/src/multimodal_tools.py:382-390 | chapter4/perception-tools/src/multimodal_tools.py:455-463 | chapter4/perception-tools/src/multimodal_tools.py:568-576 | chapter4/perception-tools/src/private_data_tools.py:133-141 | chapter4/perception-tools/src/private_data_tools.py:255-263 | chapter4/perception-tools/src/public_data_tools.py:131-139 | chapter4/perception-tools/src/public_data_tools.py:210-218 | chapter4/perception-tools/src/public_data_tools.py:281-289 | chapter4/perception-tools/src/public_data_tools.py:350-358 | chapter4/perception-tools/src/public_data_tools.py:443-451 | chapter4/perception-tools/src/public_data_tools.py:533-541 | chapter4/perception-tools/src/public_data_tools.py:642-650 | chapter4/perception-tools/src/public_data_tools.py:743-751 | chapter4/perception-tools/src/public_data_tools.py:847-855 | chapter4/perception-tools/src/search_tools.py:325-333 | chapter4/perception-tools/src/search_tools.py:416-424 | chapter4/perception-tools/src/wiki_enhanced.py:65-73 \u2014 there are 34 copies across 9 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 34 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter4/perception-tools/src/arxiv_enhanced.py:72\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/arxiv_enhanced.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c27cd6657fd8c5d7d8f3c775b813c19b737ac54ca3440c35717433ecbcb357c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): book-ar/svg_lib.py:383-391 | book-en/svg_lib.py:357-365 | book-es/svg_lib.py:357-365 | book-id/svg_lib.py:357-365 | book-ru/svg_lib.py:357-365 | book-tr/svg_lib.py:357-365 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"book-ar/svg_lib.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90cdd79777f79d07458edee9e0d1b43fe50709dc1d06d70796339d9bbd33793"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): book-ar/svg_lib.py:495-503 | book-en/svg_lib.py:469-477 | book-es/svg_lib.py:469-477 | book-id/svg_lib.py:469-477 | book-ru/svg_lib.py:469-477 | book-tr/svg_lib.py:469-477 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060book-ar/svg_lib.py:495\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f39e86f18ce0e1879d5fe4f235f0903e1aae052b1e03b1691ed88d2eb388b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): book-ar/svg_lib.py:595-610 | book-en/svg_lib.py:569-584 | book-es/svg_lib.py:569-584 | book-id/svg_lib.py:569-584 | book-ru/svg_lib.py:569-584 | book-tr/svg_lib.py:569-584 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"book-ar/svg_lib.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c080598da27709c41919ff86ce353cf25bf12be2451f3639431619e48caa925"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:198-214 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:198-214 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:183-199 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:183-199 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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, \u0060chapter6/astra-async-steering/experiment.py:197\u0060 calls \u0060get\u0060 and \u0060chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:182\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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdacb49ed8bcce461faa61c3181eea83bfd11e2b903deb0e68221192b933dfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chapter2/attention_visualization/tools.py:147-155 | chapter2/local_llm_serving/tools.py:126-134 \u2014 \u0060chapter2/attention_visualization/tools.py\u0060 and \u0060chapter2/local_llm_serving/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 6 separate duplicated blocks between them, totalling at least 324 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/tools.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ab80241055ff389cf7b8deb4c5cad96c1062dd6f9e2f986d6c64f9644de20c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/main.py:184-191 | chapter3/contextual-retrieval-for-user-memory/main.py:534-542 \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 \u0060chapter3/agentic-rag-for-user-memory/main.py:184\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb3d7eabc2d6b6bce383d04d7792399d473d78e2708bf6e254c0ce8000e33afd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20139 lines \u00D7 3): chapter3/agentic-rag-for-user-memory/main.py:345-348 | chapter3/agentic-rag-for-user-memory/quickstart.py:116-124 | chapter3/contextual-retrieval-for-user-memory/quickstart.py:117-125 \u2014 \u0060chapter3/agentic-rag-for-user-memory/quickstart.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/quickstart.py\u0060 are one unit implemented once 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 134 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca446c55dbf86035d22a1b27696073abb32b2935857b0d1f14e3e2217f472ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): chapter3/agentic-rag/index_local_laws.py:394-401 | chapter3/contextual-retrieval/index_local_laws_contextual.py:458-466 \u2014 \u0060chapter3/agentic-rag/index_local_laws.py\u0060 and \u0060chapter3/contextual-retrieval/index_local_laws_contextual.py\u0060 are one unit implemented once 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 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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"415d2f03398cb108e407de7cbd5795f6e1f02f2ef7b4b52a0d9e6f6c569c1aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20139 lines \u00D7 2): chapter3/structured-index/document_processor.py:209-217 | chapter4/perception-tools/src/multimodal_tools.py:59-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":"chapter3/structured-index/document_processor.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7490c84e877bfadd64a7aaa161ace045c32e306431b84d60a9c0a6fa4c9acc9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): chapter4/collaboration-tools/run_experiment_4_5.py:269-275 | chapter4/execution-tools/run_experiment_4_4.py:99-107 \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 \u0060chapter4/execution-tools/run_experiment_4_4.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":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cc104a0fb805b3614e73c188f3d97b62205806a32b6c2c934ed2375d22ef2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chapter4/perception-tools/cli.py:274-282 | chapter4/perception-tools/cli.py:303-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/cli.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fef85a357d13e30b6fb5a0798602a3c9fa8879dbd882e5ff591fb458c2454d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chapter4/perception-tools/src/yahoo_finance_tools.py:89-97 | chapter4/perception-tools/src/yahoo_finance_tools.py:281-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f62c9545a24592d04a27be65a4ba738c87ccd9808d13eeba969e0fc3c1b9646"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): chapter5/adaptive-log-parser/agent.py:124-133 | chapter5/erp-agent/agent.py:64-74 \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":"chapter5/adaptive-log-parser/agent.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9679199264b531c403fb9342fdd5983adfbb72d4eee8844f9bd4579a3c23b93b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chapter5/coding-agent/agent.py:71-79 | chapter5/coding-agent/agent_new.py:58-66 \u2014 before extracting anything, compare \u0060chapter5/coding-agent/agent.py\u0060 and \u0060chapter5/coding-agent/agent_new.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 198 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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, \u0060chapter5/coding-agent/agent.py:80\u0060 calls \u0060replace\u0060, \u0060_get_git_status\u0060 and \u0060chapter5/coding-agent/agent_new.py:67\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":"chapter5/coding-agent/agent.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b27fba5a23e6ca0e86a525cf5d18f5666dc94e8cecd5ca365a3eeb71279b45b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:316-324 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:407-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:327\u0060 calls \u0060connect\u0060 and \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:417\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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0b403d7348cccdfd1ae83afc123c3497508a72cd8b2a31fb0e76c780ad2669"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:349-357 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py:319-326 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e56b03a5ce1a07425606f86476437252b68e87bfba10e3cc2dc6488d84ab5a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:105-113 | chapter5/permission-embedded-data-objects/run_targeted_eval.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6ce41892ebfc9eff76ef03fda786400e2ecc532c1cff92ebc3935acf5f4620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): chapter8/MultilingualReasoning/gpt_oss_20b_sft.py:194-202 | chapter8/prompt-distillation/train_sft_trl.py:134-140 \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 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":"chapter8/MultilingualReasoning/gpt_oss_20b_sft.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46816673897d206d23357adccb85b174093ea1ca19e822b355b82e239e6d77c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chapter8/cot-distillation/sft_data_auditor.py:584-592 | chapter8/cot-distillation/sft_data_auditor.py:596-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/cot-distillation/sft_data_auditor.py"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"8721385f0e722b5e3bbbdba3b41bf4bc0bd7a97edee7f2a9d4cac5eb1e004b34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 12): book-ar/svg_lib.py:499-506 | book-ar/svg_lib.py:513-520 | book-en/svg_lib.py:473-480 | book-en/svg_lib.py:487-494 | book-es/svg_lib.py:473-480 | book-es/svg_lib.py:487-494 | book-id/svg_lib.py:473-480 | book-id/svg_lib.py:487-494 | book-ru/svg_lib.py:473-480 | book-ru/svg_lib.py:487-494 | book-tr/svg_lib.py:473-480 | book-tr/svg_lib.py:487-494 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060book-ar/svg_lib.py:499\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f98df9bf969579b5d06a9349c1df89db21c592e92255f69d6b5ffa3de058023"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 6): book-ar/svg_lib.py:649-664 | book-en/svg_lib.py:623-638 | book-es/svg_lib.py:623-638 | book-id/svg_lib.py:623-638 | book-ru/svg_lib.py:623-638 | book-tr/svg_lib.py:623-638 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"book-ar/svg_lib.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"c689ef43c952b43bd872fe994ef65109244d3d72559e99b9c685f6535e927193"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:151-158 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:173-180 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:189-196 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:206-213 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:408-415 \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, \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:181\u0060 calls \u0060execute\u0060 and \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:214\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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d060b97312aeaa78274bd12ea78aa3b036e940b4ac0783ae2b97e92020dab73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): chapter4/multimodal-agent/demo.py:42-50 | chapter4/multimodal-agent/demo.py:149-157 | chapter4/multimodal-agent/main.py:45-52 | chapter4/multimodal-agent/main.py:144-151 \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":"chapter4/multimodal-agent/demo.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa41c452f2bb0c5991a3178f48e4f728a4b10994da3538c678101e506d6d03c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 4): chapter5/adaptive-log-parser/campaign.py:252-258 | chapter5/conversational-ui/campaign_browser.py:225-232 | chapter5/dynamic-form/campaign.py:197-204 | chapter5/erp-agent/campaign_postgres.py:272-279 \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 before the matched lines, \u0060chapter5/erp-agent/campaign_postgres.py:271\u0060 calls \u0060add_argument\u0060, \u0060getenv\u0060 and \u0060chapter5/adaptive-log-parser/campaign.py:251\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":"chapter5/adaptive-log-parser/campaign.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d236b022a49592f0dd6a288f1b5472ebac4a7fe02d9276805e20cd189e63c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:205-212 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:496-503 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:505-512 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:514-521 \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, \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:213\u0060 calls \u0060execute\u0060 and \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:504\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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efc44a76079d9883a97a98bd64d46288e8f04b0a8921ce359851098d2b640bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:364-371 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:386-393 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:500-507 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:518-525 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd39c706e98dc2c2a9451e76862b3d1ae69f4f62df0ec393aeaf31bd9a9cd0f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:180-196 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:180-196 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:166-182 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:166-182 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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, \u0060chapter6/astra-async-steering/experiment.py:197\u0060 calls \u0060get\u0060 and \u0060chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:183\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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6514f07eef299cb4282ac4a152ff5d56cd26fa6fcc7a0931542ec8c693570798"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): chapter2/context-compression/experiment.py:303-310 | chapter2/context-compression/main.py:193-200 | chapter2/context-compression/run_all_strategies.py:377-384 \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 \u0060chapter2/context-compression/experiment.py:303\u0060 it begins part-way through the construct above it, so those exact 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":"chapter2/context-compression/experiment.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6f31235b80d669d42fd828685ec0fe2b5ae8c855cbab5aecd143d80b31e135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): chapter9/browser-use-rpa/run_experiment_9_5.py:101-108 | chapter9/harness-safety-gate/llm_generator.py:23-30 | chapter9/self-modifying-agent/llm_generator.py:18-25 \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":"chapter9/browser-use-rpa/run_experiment_9_5.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb44da508945702979b33729e9a5df91fb5e15f1eab88c8c7b6a790d1a3b7a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter10/book-translation/run_official_experiment.py:199-206 | chapter6/controllable-tts/evaluate_audio_quality.py:155-162 \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":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fcec8cdfb26165169c3e801c4248a214db2026ab0fc206d4cd05d3af772ec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter10/parallel-web-research/llm.py:62-69 | chapter10/voice-werewolf/werewolf/strategy_audit.py:115-122 \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":"chapter10/parallel-web-research/llm.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"78cef16ea8889da14de3a9b24f892ead8fd984265b06ad2ccb69c5522082ed0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter2/agent-skills-ppt/skills/pptx/scripts/generate_pptx.py:50-57 | chapter2/agent-skills-ppt/skills/pptx/scripts/generate_pptx.py:63-70 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/skills/pptx/scripts/generate_pptx.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d8268236bd70420253256e6d8dc5da3eb7e53720f7e8fbee8be5e83a8008cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter3/agentic-rag/tools.py:72-79 | chapter3/contextual-retrieval/tools.py:71-78 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a4d1eb588c9f9ebc256a94dc2cb205efd41bda968bbf969fb892d4d4d5ab83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter3/sparse-embedding/demo.py:115-122 | chapter3/sparse-embedding/demo.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chapter3/sparse-embedding/demo.py:194\u0060 calls \u0060info\u0060 and \u0060chapter3/sparse-embedding/demo.py:123\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":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e083e332603f8630c4a71bf7ceb31915049e210674e0c962306269f230f1ac2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter3/user-memory/memory_manager.py:426-433 | chapter3/user-memory/memory_manager.py:454-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chapter3/user-memory/memory_manager.py:463\u0060 calls \u0060str\u0060 and \u0060chapter3/user-memory/memory_manager.py:435\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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"1437ca079c6d0e7a0fa95d45b7203e4ac4676f6301ddac83db9e11a5c539cc79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 2): chapter4/collaboration-tools/run_experiment_4_5.py:258-264 | chapter4/execution-tools/run_experiment_4_4.py:88-95 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter4/collaboration-tools/run_experiment_4_5.py:258\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aad512f866180f090ca6f5cb1278edde3bb6e1a91e2727ae71c5fc10f0b0eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:113-120 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:128-135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b28e68d9031ec7e80e01a0221185ef6e4bc5fbd788c1429331f93da5482065"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py:52-59 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py:62-69 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py:52\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"290603dae2ac10ede1204e273217681d9cd86d7347372559ee53b062e15e9253"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py:208-215 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py:231-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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee987b694c213f97549a40d5a8001421907d0317f978afaff8ff95242824164a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter7/model-benchmark/campaign.py:329-336 | chapter7/model-benchmark/campaign.py:339-355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e13eefffb2fa9e131804c275c82222828bf27d0af7765febddcd7b1b2466999"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter7/model-benchmark/campaign.py:693-700 | chapter7/model-benchmark/campaign.py:783-790 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter7/model-benchmark/campaign.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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"617bdceb6d42101be079c42369846322d4335b7e7413dc9da1e80f0f0d08db80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:292-299 | chapter8/continued-pretraining/validation/run_report_audit.py:244-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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"54581fdf7787dc5ed19867a13a37351b3b019e48a6e1b82fc1939e00dda3b9f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/validate_evidence.py:84-91 | chapter8/continued-pretraining/validation/validate_evidence.py:47-54 \u2014 before extracting anything, compare \u0060chapter8/MiniMind-pretrain/validation/validate_evidence.py\u0060 and \u0060chapter8/continued-pretraining/validation/validate_evidence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter8/MiniMind-pretrain/validation/validate_evidence.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a74db7a75368003302e967081f19059e941517721e3d9ffdee7173a8b96bcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): book-ar/fit_svg_text.py:34-40 | book-en/fit_svg_text.py:34-40 | book-es/fit_svg_text.py:37-43 | book-id/fit_svg_text.py:37-43 | book-ru/fit_svg_text.py:34-40 | book-tr/fit_svg_text.py:37-43 \u2014 \u0060book-ar/fit_svg_text.py\u0060 and \u0060book-en/fit_svg_text.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 15 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"book-ar/fit_svg_text.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c106c72122cb2cdda35f3e8a2ffc566298764a17be4720598b07b595085cdf0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6): book-ar/svg_lib.py:315-321 | book-en/svg_lib.py:289-295 | book-es/svg_lib.py:289-295 | book-id/svg_lib.py:289-295 | book-ru/svg_lib.py:289-295 | book-tr/svg_lib.py:289-295 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"book-ar/svg_lib.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc1a55aca983b31724e02cab1c6d15f9b1050ef9538676cd0482316b7f6a0bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): book-ar/svg_lib.py:539-546 | book-en/svg_lib.py:513-520 | book-es/svg_lib.py:513-520 | book-id/svg_lib.py:513-520 | book-ru/svg_lib.py:513-520 | book-tr/svg_lib.py:513-520 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060book-ar/svg_lib.py:539\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a20b0ab560fc1fdc7312a8c7ce712c9db78543438b94a4049c7d0f9aa0f6075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:198-204 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:191-197 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:375-381 | chapter5/permission-embedded-data-objects/run_targeted_eval.py:242-248 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7b873288c97158d4c2610f292333473357f75882ea6156bd10ed0c63701095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): chapter2/system-hint/agent.py:271-278 | chapter3/user-memory/agent.py:580-609 | chapter6/agent-with-event-trigger/agent.py:517-523 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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 \u0060chapter2/system-hint/agent.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":"chapter2/system-hint/agent.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c8d665dfac9705ed9d306105e0ec949becafe5340105ba581d8918ec58e643"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 3): chapter3/agentic-rag/evaluation/evaluate.py:376-381 | chapter3/contextual-retrieval/evaluation/evaluate.py:368-373 | chapter3/mem0/main.py:349-355 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3563d4df24d83e1446f6a5c971b64fb8038afa59d5991f1d36e516c676482640"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter10/multi-role-transfer/orchestrator.py:220-229 | chapter10/multi-role-transfer/skill_orchestrator.py:258-264 \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":"chapter10/multi-role-transfer/orchestrator.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"398a2b466f35ebbf74394b206d35b8ec00cd7346653247b79cf60c9baf46b358"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter2/kv-cache/main.py:521-527 | chapter2/kv-cache/main.py:531-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":"chapter2/kv-cache/main.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cbe0aafc8795554702d5ae42f2f7d6aa3a08cdec2dafa580376ec083fee9a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/main.py:200-206 | chapter3/contextual-retrieval-for-user-memory/main.py:700-706 \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":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"068f6891a520070d3963c4781b2b1e46a9167bd2ddf64e65ea8262e1293b4a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter3/agentic-rag/chunking.py:242-248 | chapter3/contextual-retrieval/chunking.py:242-248 \u2014 \u0060chapter3/agentic-rag/chunking.py\u0060 and \u0060chapter3/contextual-retrieval/chunking.py\u0060 are one unit implemented once 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 350 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f22c242429414e95350765513c7154168f50a8085b8236c95828d0b1494c12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chapter3/agentic-rag/index_local_laws.py:459-467 | chapter3/contextual-retrieval/index_local_laws_contextual.py:540-548 \u2014 \u0060chapter3/agentic-rag/index_local_laws.py\u0060 and \u0060chapter3/contextual-retrieval/index_local_laws_contextual.py\u0060 are one unit implemented once 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 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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e9816f6e92151e2224b1dede7933315c644b4b1312b389e524c93e3ad43dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter3/retrieval-pipeline/retrieval_client.py:40-46 | chapter3/retrieval-pipeline/retrieval_client.py:60-66 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"42497b281bb19180231a73e1761c610dda1f19c3488b501a7e57b595d669671d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter3/structured-index/graphrag_indexer.py:407-413 | chapter3/structured-index/graphrag_indexer.py:433-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/structured-index/graphrag_indexer.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6fc19b1574d68990c9bb634216e35927422111fdfb95a97495a9b2b4768f4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chapter3/user-memory/main.py:210-223 | chapter3/user-memory/main.py:341-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter3/user-memory/main.py:210\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/main.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9d393192a27438a1b6d4b35018e46af64c4cf3378b35a267e64dab51ac8b1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter5/log-diagnosis/campaign.py:104-110 | chapter5/video-edit/campaign.py:124-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":"chapter5/log-diagnosis/campaign.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a66e6c71d731151791d97a2a4b7cc07d5a7160aa4fa0ae3a330091f45cf637"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/core/store.py:249-255 | chapter5/permission-embedded-data-objects/pedo/core/store.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":"chapter5/permission-embedded-data-objects/pedo/core/store.py"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7877bc30a9758ef5e52793e7295d8d8d41ff4b3f8ab93754a37a5777d62a3f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:346-353 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:355-362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc81ee3ab74b73e520a92be7cf25d8d046ac62e9b80acbc995130498f7ff609f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:530-536 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:539-545 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca8dac0aac28f4834416cc31438e5c550a34c67a118a8a9ae698ff2210aeec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:77-83 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:127-132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:77\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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, \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:132\u0060 calls \u0060cursor\u0060, \u0060execute\u0060 and \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py:83\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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_overhead.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"45721998bd03b658ef84cda9a7a99a94b072b923972f212c39a160fc33d3d4dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20137 lines \u00D7 5): chapter6/astra-async-steering/experiment.py:351-357 | chapter6/astra-async-steering/summarize.py:16-19 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:351-357 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:341-342 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:341-342 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chapter6/astra-async-steering/experiment.py:357\u0060 calls \u0060loads\u0060, \u0060read_text\u0060, \u0060splitlines\u0060 and \u0060chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:342\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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf92651f35509c99261da1c56eabea31b1474550181dfa77f0b4368f60c5fec2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter6/gemini-xlerobot-navigation/validate_evidence.py:53-60 | chapter6/rgb-sim2real-grasping/validate_evidence.py:48-55 \u2014 \u0060chapter6/gemini-xlerobot-navigation/validate_evidence.py\u0060 and \u0060chapter6/rgb-sim2real-grasping/validate_evidence.py\u0060 are one unit implemented once 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 43 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter6/gemini-xlerobot-navigation/validate_evidence.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b86d061b37bdb8e42581cf6caa602251956cee2b6b36828c817e93d04fb38b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter7/user-memory-system-evaluation/probe_backends.py:46-59 | chapter7/user-memory-system-evaluation/probe_backends.py:67-73 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/user-memory-system-evaluation/probe_backends.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a24fce32d6a819f573f5ea0734d0e9fba3ae5551f2dd856fed63a6f81ac2944"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:478-483 | chapter8/continued-pretraining/validation/run_report_audit.py:314-320 \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":"chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e4a388b86e5c9d4e6aef3521a28079d4b71a4a3fff5d6936bcd8afbd0cd401"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter9/harness-safety-gate/run_experiment_9_7.py:223-232 | chapter9/self-evolution-eval/run_experiment_9_9.py:219-225 \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":"chapter9/harness-safety-gate/run_experiment_9_7.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5dbf89d67bdb6780b263e6094a8d4c3b94df1e88474e9100a44ace1d4f41c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): chapter7/model-benchmark/campaign.py:520-532 | chapter7/model-benchmark/campaign.py:554-566 | chapter7/model-benchmark/campaign.py:674-679 | chapter7/model-benchmark/campaign.py:765-770 \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 \u0060chapter7/model-benchmark/campaign.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. The matched lines also transfer control out of the body holding them, 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":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded1f23c70292f4a2e105835891308c7c4a4d8ea6a346535e9744a9263f58c73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): chapter1/context/main.py:628-633 | chapter1/context/main.py:1004-1009 | chapter1/context/main.py:1139-1144 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"chapter1/context/main.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb377969e4123c58f00238c4cc8583d2d7f9766ae6a23a091a90181181a5ef9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): chapter3/agentic-rag/campaign.py:40-45 | chapter3/memory_rag_campaign.py:45-50 | chapter3/structured-knowledge-extraction/campaign.py:45-50 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chapter3/agentic-rag/campaign.py:36\u0060 calls \u0060compile\u0060 and \u0060chapter3/memory_rag_campaign.py:41\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":"chapter3/agentic-rag/campaign.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a829b76242abdf28662fd07a793035f3c9e71d6bde2f755ed623a9358e006b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter10/autonomous-phone-registration/voice.py:121-126 | chapter10/voice-werewolf/werewolf/human.py:87-92 \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":"chapter10/autonomous-phone-registration/voice.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef517b9a962716225abeb63beebe2042502c6eaf9f59a221d7ad3ef381c86a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter10/voice-werewolf/validate_simulator_run.py:59-64 | chapter10/voice-werewolf/validate_simulator_run.py:100-105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/voice-werewolf/validate_simulator_run.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb9ae09c04b0e36aca55a3990759b3d2108d85322af9ea29c95b135a568bfe4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter3/agentic-rag/campaign.py:186-191 | chapter3/memory_rag_campaign.py:266-271 \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 \u0060chapter3/agentic-rag/campaign.py:186\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/campaign.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb21c6d59f3346d042b9bd99708155ce1999840c790d994990908d8606d1079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter3/structured-index/main.py:123-128 | chapter3/structured-index/main.py:130-137 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter3/structured-index/main.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/structured-index/main.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b496524630ca5b659a56b68577456663a615a3a5edd63533235aba4edafb5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter4/execution-tools/multilang_executor.py:418-423 | chapter4/execution-tools/multilang_executor.py:606-611 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e994a6772282a15ab454ed25d784f5bac96cf955553c527ed7713c0da6c20b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter5/adaptive-log-parser/campaign.py:198-203 | chapter5/erp-agent/campaign_postgres.py:254-259 \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":"chapter5/adaptive-log-parser/campaign.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabb895281efc485162ab90f1c6b47d97bbced4b2bc56706a8e71ae55a783ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20136 lines \u00D7 6): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:141-146 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:150-152 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:262-267 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:271-273 | chapter5/permission-embedded-data-objects/run_targeted_eval.py:208-211 | chapter5/permission-embedded-data-objects/run_targeted_eval.py:214-216 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:141\u0060 it does not close everything it opens, so those exact 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, \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:146\u0060 calls \u0060execute\u0060 and \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a75947d4ed103256209cef0ffe34f9fd0d9f30e98913502cbc0784e0bebae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter5/permission-embedded-data-objects/run_targeted_eval.py:350-355 | chapter5/permission-embedded-data-objects/run_targeted_eval.py:405-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060chapter5/permission-embedded-data-objects/run_targeted_eval.py:404\u0060 calls \u0060close\u0060 and \u0060chapter5/permission-embedded-data-objects/run_targeted_eval.py:349\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":"chapter5/permission-embedded-data-objects/run_targeted_eval.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d475248aec666e3d5631d6a07aecc8a0cb08e894014953dcd30fa28d4b176f3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter7/user-memory-system-evaluation/probe_candidates.py:37-42 | chapter7/user-memory-system-evaluation/probe_candidates.py:56-61 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/user-memory-system-evaluation/probe_candidates.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce3d3154a7b38e63a89b582090365ae63cdc97c90851e3739bde61905773210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/validate_evidence.py:75-80 | chapter8/continued-pretraining/validation/validate_evidence.py:65-70 \u2014 before extracting anything, compare \u0060chapter8/MiniMind-pretrain/validation/validate_evidence.py\u0060 and \u0060chapter8/continued-pretraining/validation/validate_evidence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter8/MiniMind-pretrain/validation/validate_evidence.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4878211bb31965310527fed6faffd3ed9e7bfa67a9a2c8253a10906f79d9abd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/validate_evidence.py:304-309 | chapter8/continued-pretraining/validation/validate_evidence.py:203-208 \u2014 before extracting anything, compare \u0060chapter8/MiniMind-pretrain/validation/validate_evidence.py\u0060 and \u0060chapter8/continued-pretraining/validation/validate_evidence.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 69 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter8/MiniMind-pretrain/validation/validate_evidence.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d402227cb1cf7d068f8e9cb29c9d9f327544dfa0485b8f66a75cd71d5b7f40e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter8/speech-sft-experiment/run_orpheus.py:268-273 | chapter8/speech-sft-experiment/run_sesame.py:268-273 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter8/speech-sft-experiment/run_orpheus.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/speech-sft-experiment/run_orpheus.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dce62b3ed8fc4279cb9ea6e9971c96658f389e426602e03e028e8dd7396f2cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): book-ar/svg_lib.py:525-530 | book-en/svg_lib.py:499-504 | book-es/svg_lib.py:499-504 | book-id/svg_lib.py:499-504 | book-ru/svg_lib.py:499-504 | book-tr/svg_lib.py:499-504 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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 \u0060book-ar/svg_lib.py:525\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"930fc0b58312bc5d8486e6e3e0fe4d87156c929277183932838726089b220e67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 12): book-ar/svg_lib.py:587-591 | book-ar/svg_lib.py:604-606 | book-en/svg_lib.py:561-565 | book-en/svg_lib.py:578-580 | book-es/svg_lib.py:561-565 | book-es/svg_lib.py:578-580 | book-id/svg_lib.py:561-565 | book-id/svg_lib.py:578-580 | book-ru/svg_lib.py:561-565 | book-ru/svg_lib.py:578-580 | book-tr/svg_lib.py:561-565 | book-tr/svg_lib.py:578-580 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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 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":"book-ar/svg_lib.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4d84203ff1485b1de1634700407ce9ac3995bf6db08874fee214cf850d1714"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 6): chapter5/permission-embedded-data-objects/demo.py:23-31 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:62-66 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:357-361 | chapter5/permission-embedded-data-objects/pedo/eval/case_studies.py:487-491 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:351-355 | chapter5/permission-embedded-data-objects/pedo/eval/enterprise_agent_scenarios.py:67-68 \u2014 there are 6 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 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 \u0060chapter5/permission-embedded-data-objects/demo.py:23\u0060 it does not close everything it opens, so those exact 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":"chapter5/permission-embedded-data-objects/demo.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6fed3bf13d4299fd2b9afab1cd8054bb8340ad49d9d8f33bfe2085a6ddefb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:149-154 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:171-176 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:187-192 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:220-225 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:406-411 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1fc89a61018235f5395ff6d777cc24cb6ab4693d645ded17becd4997f32c83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): chapter3/agentic-rag/evaluation/evaluate.py:377-381 | chapter3/agentic-rag/main.py:208-213 | chapter3/contextual-retrieval/evaluation/evaluate.py:369-373 | chapter3/contextual-retrieval/main.py:196-201 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/evaluate.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/evaluate.py\u0060 as WHOLE FILES: this scan already matched 14 separate duplicated blocks between them, totalling at least 369 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 \u0060chapter3/agentic-rag/evaluation/evaluate.py:377\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb158449a61e675d963fe6551e1d3a706d72e05de827d05ff3e49e7b72c93668"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:89-94 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:89-94 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:89-94 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:89-94 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8430224372e79fbca5a1ca157f1c6a4ca9cb7ca7b4714266dffa2e63fcbb4fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:152-156 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:152-156 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:147-151 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:147-151 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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 \u0060chapter6/astra-async-steering/experiment.py:152\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7267e8ba9b7f0ab843bb43063163ef1c886e3c3fd45c08a507d7c72ff37638d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:372-377 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:372-377 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:351-356 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:351-356 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"efaeea93c453591e8c66b886d774033561592ba90fb1bd0e84f30dcad51f6d7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): chapter3/agentic-rag-for-user-memory/evaluator.py:571-575 | chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py:697-701 | chapter3/contextual-retrieval-for-user-memory/evaluator.py:571-575 \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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94fb032bcc225ad4be2ded1025629d52ea776bf44acf6dcf7ac7ce74b0d86f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): chapter3/agentic-rag-for-user-memory/indexer.py:508-512 | chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py:592-598 | chapter3/contextual-retrieval-for-user-memory/indexer.py:392-396 \u2014 \u0060chapter3/agentic-rag-for-user-memory/indexer.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/indexer.py\u0060 are one unit implemented once 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 349 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8721cb364d43b5e2b35617471de7acea8f4df186839a398106c4bd5204a0185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): chapter3/structured-index/graphrag_indexer.py:407-411 | chapter3/structured-index/graphrag_indexer.py:433-437 | chapter3/structured-index/raptor_indexer.py:231-236 \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":"chapter3/structured-index/graphrag_indexer.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"394e724193b7c56a78363607aed4fd96acafbd08f7843f06f68cb1e65cc5f914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): chapter3/structured-knowledge-extraction/generate_data.py:50-55 | chapter3/structured-knowledge-extraction/generate_data.py:90-95 | chapter3/structured-knowledge-extraction/generate_data.py:131-136 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"chapter3/structured-knowledge-extraction/generate_data.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c60fcbedad4735d4aad0fcca0b981d5f80d6601a90b0fad8cee0581393119f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): chapter5/adaptive-log-parser/agent.py:98-103 | chapter5/dynamic-form/demo.py:84-89 | chapter5/log-diagnosis/diagnoser.py:51-55 \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 \u0060model\u0060 to \u0060Optional[str] = None\u0060 in one and \u0060str = MODEL\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":"chapter5/adaptive-log-parser/agent.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea0a38471522152ce5aa4eb36b0147721281550391bc45029154a69c99c916e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): chapter5/adaptive-log-parser/campaign.py:310-322 | chapter5/conversational-ui/campaign_browser.py:359-380 | chapter5/erp-agent/campaign_postgres.py:395-399 \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 \u0060chapter5/erp-agent/campaign_postgres.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":"chapter5/adaptive-log-parser/campaign.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d9589d9b1846a430328fbef2985e03b794fb1a41c36ce12c45993428d75950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): chapter5/log-diagnosis/http_service.py:89-94 | chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053056/http_service.py:89-94 | chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053403/http_service.py:89-94 \u2014 before extracting anything, compare \u0060chapter5/log-diagnosis/http_service.py\u0060 and \u0060chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053056/http_service.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter5/log-diagnosis/http_service.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ad2e30e786d88bc6c7fb5b75640008ddda7d530c02ad4e111122c9c637b00a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:521-525 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:353-357 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py:322-326 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd3536968cef2f88fceb70c8e10fe3721d871dcbbd1bed5d96c73dd9f7ba045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): chapter6/controllable-tts/evaluate_audio_quality.py:248-253 | chapter6/controllable-tts/evaluate_audio_quality.py:275-280 | chapter6/controllable-tts/evaluate_audio_quality.py:304-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 \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":"chapter6/controllable-tts/evaluate_audio_quality.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f84b62db19366657fe98f0d7b48be1110f9409797ced4cc6b52d8d8e36ecddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter10/book-translation/agents.py:563-569 | chapter10/book-translation/agents.py:640-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 \u0060chapter10/book-translation/agents.py:563\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/book-translation/agents.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ae2b24d1f18fa66dc773583c7991bb76d95fda7d14eb32662090dfe0abe7b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): chapter2/prompt-injection/run_campaign.py:313-322 | chapter5/paper-to-video/campaign.py:331-341 \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":"chapter2/prompt-injection/run_campaign.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca5766dc4e8daa3fcbef98df22b43b696023347c6faaa733bc70874291288f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter3/agentic-rag/campaign.py:312-316 | chapter3/memory_rag_campaign.py:515-519 \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":"chapter3/agentic-rag/campaign.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"279bee7e9eecc5d22e0925bf9f8c299dcb0d68d0b9cf279228daefd73f4f1000"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter3/retrieval-pipeline/evaluate.py:359-365 | chapter3/retrieval-pipeline/stage_evaluator.py:204-210 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ranked_ids\u0060 to \u0060List[str]\u0060 in one and \u0060list[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":"chapter3/retrieval-pipeline/evaluate.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d33e197b5ccd189a014bb216d7e759a8af9d782305219ee4663106fd6f93ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter3/structured-index/hybrid_retriever.py:189-193 | chapter3/structured-index/hybrid_retriever.py:250-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/structured-index/hybrid_retriever.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ded1eaa7b0f78bba0201c035c5b9d5348472b196f611c2d7fc019d471237a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter5/code-for-logic/demo.py:358-364 | chapter5/code-for-math/demo.py:427-433 \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":"chapter5/code-for-logic/demo.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"4112ec3c7590b95e69f0dfdb88360a408569a5a6444262359c6637627dedc748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:229-234 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py:182-186 \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 \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:229\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa66d9e4524ab7422ac28c127ec5af36ff9536b553576b39a4e7b19c18467332"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:708-715 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py:724-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_comparisons.py"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a2e4f005b48c8becc403416831dbf17aafef8a9f146b5c17a2c8af3aa10d7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u20135 lines \u00D7 5): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:169-173 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py:348-349 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py:350-350 | chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py:294-298 | chapter5/permission-embedded-data-objects/run_targeted_eval.py:227-229 \u2014 there are 5 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 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 \u0060chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py:169\u0060 it does not close everything it opens, so those exact 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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_final.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d12f0e684ad2d36b314e1502436ca04c50631f20f1b57bec540ab3363b4882e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py:623-627 | chapter6/async-agent/run_real_experiment.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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py:623\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda8d76388a8b719e4bd1401a747686bb949d63e62d5c275ff5b40bd8fe47e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:336-347 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:336-347 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 16 separate duplicated blocks between them, totalling at least 299 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":"chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"9514a93f3c0f57de580a9fc47bb1b9901c1f73c2e6d2e80bdf37b6596efb22a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter6/gemini-xlerobot-navigation/desktop_planner.py:230-235 | chapter6/rgb-sim2real-grasping/pipeline.py:151-156 \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, \u0060chapter6/gemini-xlerobot-navigation/desktop_planner.py:236\u0060 calls \u0060split\u0060 and \u0060chapter6/rgb-sim2real-grasping/pipeline.py:157\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":"chapter6/gemini-xlerobot-navigation/desktop_planner.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a5a389f09296e3e3e410dbef87681d0e4adddbed76e9b8268b6613c818e600"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:311-317 | chapter8/continued-pretraining/validation/run_report_audit.py:263-269 \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":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d38382ebbb13b55f01f91c0060c7ec84db541ec96dd55666f596f988cac94f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): chapter9/browser-use-rpa/run_experiment_9_5.py:47-53 | chapter9/prompt-auto-optimization/config.py:60-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/run_experiment_9_5.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d517fef3a4f6abd6adcfc7f72323fafdeca0489fb217fa48f45e28bc6201905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (284 lines \u00D7 2): chapter3/agentic-rag/evaluation/dataset_builder.py:17-300 | chapter3/contextual-retrieval/evaluation/dataset_builder.py:17-300 \u2014 before extracting anything, compare \u0060chapter3/agentic-rag/evaluation/dataset_builder.py\u0060 and \u0060chapter3/contextual-retrieval/evaluation/dataset_builder.py\u0060 as WHOLE FILES: 100% 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":"chapter3/agentic-rag/evaluation/dataset_builder.py"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c259c650f5c20bacffc0ca0c80674a29a6d31e65bdc07e767922807a016dd679"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 6): chapter9/self-modifying-agent/validation/real_20260729T171050Z/candidates/deterministic/retry_policy.py:10-20 | chapter9/self-modifying-agent/validation/real_20260729T171050Z/candidates/real_llm/retry_policy.py:8-18 | chapter9/self-modifying-agent/validation/real_20260729T171118Z/candidates/deterministic/retry_policy.py:10-20 | chapter9/self-modifying-agent/validation/real_20260729T171118Z/candidates/real_llm/retry_policy.py:8-18 | chapter9/self-modifying-agent/validation/real_20260802T043954Z/candidates/deterministic/retry_policy.py:10-20 | chapter9/self-modifying-agent/validation/real_20260802T043954Z/candidates/real_llm/retry_policy.py:10-20 \u2014 \u0060chapter9/self-modifying-agent/validation/real_20260729T171050Z/candidates/deterministic/retry_policy.py\u0060 and \u0060chapter9/self-modifying-agent/validation/real_20260729T171050Z/candidates/real_llm/retry_policy.py\u0060 are one unit implemented once 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 11 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter9/self-modifying-agent/validation/real_20260729T171050Z/candidates/deterministic/retry_policy.py"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c184fa7d5231c3439a4e435834776aaa11616cc5f82d91e9118e0f6554a7261"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): book-ar/fit_svg_text.py:23-30 | book-en/fit_svg_text.py:23-30 | book-es/fit_svg_text.py:26-33 | book-id/fit_svg_text.py:26-33 | book-ru/fit_svg_text.py:23-30 | book-tr/fit_svg_text.py:26-33 \u2014 \u0060book-ar/fit_svg_text.py\u0060 and \u0060book-en/fit_svg_text.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 2 separate duplicated blocks between them, totalling at least 15 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/fit_svg_text.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eea124eb479ac0bc45c226ae50f14e00b4e667fdec12fbe8b3c380e5b3f9403"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): book-ar/svg_lib.py:192-197 | book-en/svg_lib.py:176-181 | book-es/svg_lib.py:176-181 | book-id/svg_lib.py:176-181 | book-ru/svg_lib.py:176-181 | book-tr/svg_lib.py:176-181 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ebd8f302a5db103664c921192e00418615b6712a7ac0fe457704f5757928d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): book-ar/svg_lib.py:409-414 | book-en/svg_lib.py:383-388 | book-es/svg_lib.py:383-388 | book-id/svg_lib.py:383-388 | book-ru/svg_lib.py:383-388 | book-tr/svg_lib.py:383-388 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"book-ar/svg_lib.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1c5afef4d7a1163503e66094e7bc225269e85b16ef909248d4b311acf3be0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6): book-ar/svg_lib.py:487-492 | book-en/svg_lib.py:461-466 | book-es/svg_lib.py:461-466 | book-id/svg_lib.py:461-466 | book-ru/svg_lib.py:461-466 | book-tr/svg_lib.py:461-466 \u2014 \u0060book-ar/svg_lib.py\u0060 and \u0060book-en/svg_lib.py\u0060 are one unit implemented once 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 427 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"book-ar/svg_lib.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63c510781f454e0219168c0d2ad3818f604a803c87bcae4be8aeda857a37c76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): book-en/svg_lib.py:107-115 | book-es/svg_lib.py:107-115 | book-id/svg_lib.py:107-115 | book-ru/svg_lib.py:107-115 | book-tr/svg_lib.py:107-115 \u2014 \u0060book-en/svg_lib.py\u0060 and \u0060book-es/svg_lib.py\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 30 separate duplicated blocks between them, totalling at least 459 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-en/svg_lib.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa3e0113e8ae42c6ce6124d32d1da9aa516f470852beef5de484d1349df6ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 27): chapter1/context/agent.py:27-31 | chapter1/context/config.py:14-18 | chapter1/learning-from-experience/llm_agent.py:20-24 | chapter1/web-search-agent/agent.py:21-25 | chapter2/context-compression/agent.py:23-27 | chapter2/context-compression/compression_strategies.py:17-21 | chapter2/system-hint/agent.py:29-33 | chapter3/agentic-rag-for-user-memory/agent.py:20-24 | chapter3/agentic-rag-for-user-memory/config.py:14-18 | chapter3/contextual-retrieval-for-user-memory/agent.py:20-24 | chapter3/contextual-retrieval-for-user-memory/config.py:14-18 | chapter3/contextual-retrieval-for-user-memory/contextual_agent.py:23-27 | chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py:22-26 | chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py:27-31 | chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py:25-29 | chapter3/contextual-retrieval/agent.py:15-19 | chapter3/contextual-retrieval/contextual_chunking.py:23-27 | chapter3/mem0/agent.py:23-27 | chapter3/mem0/config.py:14-18 | chapter3/memobase/agent.py:28-32 | chapter3/user-memory/agent.py:21-25 | chapter3/user-memory/config.py:15-19 | chapter3/user-memory/conversational_agent.py:20-24 | chapter4/execution-tools/llm_helper.py:15-19 | chapter6/agent-with-event-trigger/agent.py:38-42 | chapter6/agent-with-event-trigger/server.py:34-38 | chapter6/agent-with-event-trigger/server_fastapi.py:33-37 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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, \u0060chapter1/context/agent.py:22\u0060 calls \u0060basicConfig\u0060, \u0060getLogger\u0060 and \u0060chapter1/learning-from-experience/llm_agent.py:16\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":"chapter1/context/agent.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fc796e36aef6ef851e1434643d6cbbcea6df64bdf0186c051490fe7bd55422"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): chapter1/context/run_experiment_1_1.py:62-67 | chapter1/search-codegen/run_experiment_1_3.py:94-99 | chapter1/web-search-agent/run_experiment_1_2.py:29-34 \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":"chapter1/context/run_experiment_1_1.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"687f0b650a5ec3fb1898b7fe8aa02a2f4e677f55603f2c1e0dd07ca37efacd26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 34): chapter1/learning-from-experience/run_experiment_8_2.py:33-37 | chapter10/generative-agents/package_evidence.py:27-31 | chapter10/generative-agents/validate_campaign.py:28-32 | chapter10/talkact-reproduction/validate_campaign.py:29-33 | chapter5/adaptive-log-parser/campaign.py:61-65 | chapter5/conversational-ui/campaign_browser.py:47-51 | chapter5/dynamic-form/campaign.py:41-45 | chapter5/erp-agent/campaign_postgres.py:60-64 | chapter5/paper-to-ppt/paper_source.py:63-67 | chapter6/async-agent/tasks.py:70-74 | chapter6/claude-computer-use-native/validate_weather_run.py:21-25 | chapter6/computer-use-open-model/evidence.py:14-18 | chapter6/gemini-xlerobot-navigation/validate_evidence.py:17-21 | chapter6/phone-agent/speech.py:24-28 | chapter6/phone-agent/verify_acceptance.py:77-81 | chapter6/rgb-sim2real-grasping/validate_evidence.py:15-19 | chapter6/robotics_lab_common.py:57-61 | chapter6/xlerobot-teleoperation/validate_evidence.py:15-19 | chapter7/model-action-threshold/experiment.py:145-149 | chapter7/openvla-robotwin2-eval/finalize_evidence.py:31-35 | chapter7/package_evidence.py:15-19 | chapter7/user-memory-system-evaluation/build_73_evidence.py:23-27 | chapter8/MiniMind-pretrain/validation/run_training_report_audit.py:97-101 | chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py:217-221 | chapter8/MiniMind-pretrain/validation/validate_evidence.py:53-57 | chapter8/MiniMind-pretrain/validation/validate_vlm_evidence.py:42-46 | chapter8/continued-pretraining/validation/run_report_audit.py:81-85 | chapter8/continued-pretraining/validation/validate_evidence.py:32-36 | chapter8/cot-distillation/train_student.py:27-31 | chapter8/prompt-distillation/run_experiment_8_8.py:90-94 | chapter8/speech-sft-experiment/analyze_campaign.py:23-27 | chapter8/speech-sft-experiment/run_orpheus.py:48-52 | chapter8/speech-sft-experiment/run_sesame.py:45-49 | chapter9/hermes-self-evolution/run_experiment_9_8.py:52-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 34 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 34 times. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chapter10/talkact-reproduction/validate_campaign.py:36\u0060 calls \u0060positive_usage\u0060, \u0060sum\u0060, \u0060values\u0060 and \u0060chapter6/claude-computer-use-native/validate_weather_run.py:28\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":"chapter1/learning-from-experience/run_experiment_8_2.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"54451f23091c29f34e71f063afeda966d9e484170563b935dbd0a4c344020e3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): chapter1/learning-from-experience/run_experiment_8_2.py:41-50 | chapter10/multi-role-transfer/run_official_experiment.py:70-79 | chapter10/parallel-web-research/run_official_experiment.py:74-83 | chapter6/streaming-speech/run_official_experiment.py:68-74 \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":"chapter1/learning-from-experience/run_experiment_8_2.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8849903b2b372f92e9bdaf5978ed244bd1a2e85928049b62b19d8f50e01c5910"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 7): chapter10/book-translation/agents.py:46-53 | chapter10/multi-role-transfer/demo.py:36-43 | chapter10/staged-system-prompt/config.py:20-27 | chapter10/voice-werewolf/werewolf/agent.py:32-39 | chapter7/agent-cost-analysis/config.py:35-43 | chapter7/model-benchmark/benchmark.py:43-51 | chapter7/tts-quality-eval/pipeline.py:60-68 \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":"chapter10/book-translation/agents.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c9ace171e8e907a1017935557fb53f5a5a2ea5354e38ee300624466a7d2e3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chapter2/system-hint/agent.py:511-527 | chapter6/agent-with-event-trigger/agent.py:793-807 \u2014 before extracting anything, compare \u0060chapter2/system-hint/agent.py\u0060 and \u0060chapter6/agent-with-event-trigger/agent.py\u0060 as WHOLE FILES: this scan already matched 23 separate duplicated blocks between them, totalling at least 540 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":"chapter2/system-hint/agent.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fbecf73208ebea157c25be3cf784f72f34c5bfa8bdac50c95f0c23481094b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/agent.py:373-382 | chapter3/contextual-retrieval-for-user-memory/agent.py:369-378 \u2014 \u0060chapter3/agentic-rag-for-user-memory/agent.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/agent.py\u0060 are one unit implemented once 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 278 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b49706c9130c33b91cd927ea455b47b2bbb8af21ccaedb2b77ba01eec84b16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/chunker.py:94-103 | chapter3/contextual-retrieval-for-user-memory/chunker.py:94-103 \u2014 \u0060chapter3/agentic-rag-for-user-memory/chunker.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/chunker.py\u0060 are one unit implemented once 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 273 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e267f653263bbaf320a502dc699f563cd5d27c7d3a7f25e2da78672d58d2e53"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/demo_agent_logging.py:26-62 | chapter3/contextual-retrieval-for-user-memory/demo_agent_logging.py:26-62 \u2014 \u0060chapter3/agentic-rag-for-user-memory/demo_agent_logging.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/demo_agent_logging.py\u0060 are one unit implemented once 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 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. 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":"chapter3/agentic-rag-for-user-memory/demo_agent_logging.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e7f95358e4abf032d15d87bbb3779c68b2532b8d5c8a8ce968a00a45ed1d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/demo_agent_logging.py:127-137 | chapter3/contextual-retrieval-for-user-memory/demo_agent_logging.py:127-137 \u2014 \u0060chapter3/agentic-rag-for-user-memory/demo_agent_logging.py\u0060 and \u0060chapter3/contextual-retrieval-for-user-memory/demo_agent_logging.py\u0060 are one unit implemented once 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 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":"chapter3/agentic-rag-for-user-memory/demo_agent_logging.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"6855d465720f1fac68a78727c0dad7d0bab6e238a72f57fcb28d55c6357cd284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): chapter3/agentic-rag/campaign.py:72-77 | chapter3/contextual-retrieval/campaign.py:155-160 | chapter3/memory_rag_campaign.py:484-489 | chapter3/structured-knowledge-extraction/campaign.py:516-521 | chapter3/user-memory/run_evaluation.py:408-413 \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. 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 \u0060receipts\u0060 to \u0060List[Dict[str, Any]]\u0060 in one and \u0060Iterable[Dict[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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060chapter3/structured-knowledge-extraction/campaign.py:526\u0060 calls \u0060add_argument\u0060, \u0060str\u0060 and \u0060chapter3/memory_rag_campaign.py:494\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":"chapter3/agentic-rag/campaign.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f027bdb4d2b5022db0313d9c5fb06a34ce63e78d8908c761f7c5b22676a8ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): chapter3/agentic-rag/chunking.py:25-43 | chapter3/contextual-retrieval/chunking.py:25-43 \u2014 \u0060chapter3/agentic-rag/chunking.py\u0060 and \u0060chapter3/contextual-retrieval/chunking.py\u0060 are one unit implemented once 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 350 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bfb0515baae5a63849a0420e14235a2093ebf1154ae969762ccbbba95528420"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter3/agentic-rag/tools.py:51-56 | chapter3/contextual-retrieval/tools.py:50-55 \u2014 \u0060chapter3/agentic-rag/tools.py\u0060 and \u0060chapter3/contextual-retrieval/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 14 separate duplicated blocks between them, totalling at least 341 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bdcf5527d4203569b1241aaa9d0165e327d3c401962109ae608efe62971db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py:117-146 | chapter3/contextual-retrieval/contextual_chunking.py:77-106 \u2014 \u0060chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py\u0060 and \u0060chapter3/contextual-retrieval/contextual_chunking.py\u0060 are one unit implemented once 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 73 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e897db2d4ffebe942b8f3c2a6e27dccfcfe850ff978b7959b3ecfc5ffa2485"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): chapter4/active-tool-discovery/demo.py:33-42 | chapter9/prompt-auto-optimization/config.py:74-83 | chapter9/self-evolving-tools/agent.py:43-52 \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":"chapter4/active-tool-discovery/demo.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f086c0bd1df7d7eb6e4eb4bf8efc989538ce6516a5eca69f2445a21ec9c3a624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): chapter4/active-tool-selection/config.py:23-35 | chapter4/perception-tools/src/media_processing_tools.py:27-35 | chapter6/async-agent/demo.py:52-66 \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":"chapter4/active-tool-selection/config.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"940cf067daf25dfcba781132757ed5b32ffc6a2c57af71670950cc5b92c40c59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): chapter4/collaboration-tools/src/config.py:15-24 | chapter4/execution-tools/config.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":"chapter4/collaboration-tools/src/config.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"412e8d154588848259f568970ea94c62c72ec671d5d7f6eab6d5ca681a95d3b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter5/coding-agent/agent.py:64-68 | chapter5/coding-agent/agent_new.py:51-55 \u2014 before extracting anything, compare \u0060chapter5/coding-agent/agent.py\u0060 and \u0060chapter5/coding-agent/agent_new.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 198 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter5/coding-agent/agent.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5772a1f07a17cf6a5d06f69c4f0c9b74da7faca1ce96806f86f25d9bbee1842"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): chapter5/coding-agent/agent.py:94-104 | chapter5/coding-agent/agent_new.py:80-90 \u2014 before extracting anything, compare \u0060chapter5/coding-agent/agent.py\u0060 and \u0060chapter5/coding-agent/agent_new.py\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 198 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter5/coding-agent/agent.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60de7b4f379144662fc214f25821876d15c1c8de7574bfafee16703e87c4ada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): chapter5/coding-agent/example_complex_task.py:11-26 | chapter5/coding-agent/example_with_system_hints.py:11-25 \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":"chapter5/coding-agent/example_complex_task.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19100b58315e2dce4ea6ac01e387f1403dd341f7f6f1e01e6a87e03f1f717b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): chapter5/conversational-ui/backend/main.py:109-117 | chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py:107-115 | chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py:107-115 | chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py:107-115 \u2014 before extracting anything, compare \u0060chapter5/conversational-ui/backend/main.py\u0060 and \u0060chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"chapter5/conversational-ui/backend/main.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"085f00ecf7647e1ca5ad97b7f013fa342a88327e83ec1f77ae7e6faac87e66f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): chapter5/log-diagnosis/http_service.py:47-51 | chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053056/http_service.py:47-51 | chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053403/http_service.py:47-51 \u2014 before extracting anything, compare \u0060chapter5/log-diagnosis/http_service.py\u0060 and \u0060chapter5/log-diagnosis/validation/runs/exp5-8-live-http-mcp-20260730-053056/http_service.py\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 51 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter5/log-diagnosis/http_service.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"beda50cf667ba627c5ca122a5c28d2bbf05ac4a26bfc8fef2e222ae0801c576d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py:734-747 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_spec_errors.py:425-440 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety.py"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"3823f30ee846b9bbf9a694455e42c82a512415b4981008342ac4f05cd1efeea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): chapter6/agent-with-event-trigger/server.py:22-30 | chapter6/agent-with-event-trigger/server_fastapi.py:21-29 \u2014 before extracting anything, compare \u0060chapter6/agent-with-event-trigger/server.py\u0060 and \u0060chapter6/agent-with-event-trigger/server_fastapi.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1429bedbd8abf8b164edb8586b80c39752901a3611816d83d3b554ef2b5e50e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): chapter6/agent-with-event-trigger/server.py:69-86 | chapter6/agent-with-event-trigger/server_fastapi.py:68-85 \u2014 before extracting anything, compare \u0060chapter6/agent-with-event-trigger/server.py\u0060 and \u0060chapter6/agent-with-event-trigger/server_fastapi.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6aceb5894b9b090cc41d9176d76fe096ff940bf53397dc4a4b610b6be6533be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): chapter6/agent-with-event-trigger/server.py:266-279 | chapter6/agent-with-event-trigger/server_fastapi.py:260-273 \u2014 before extracting anything, compare \u0060chapter6/agent-with-event-trigger/server.py\u0060 and \u0060chapter6/agent-with-event-trigger/server_fastapi.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b012cbd962aa7e848fb1d5684d5f18b8b0e06a4063bb0fd601b4136f2296c518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter6/agent-with-event-trigger/server.py:354-369 | chapter6/agent-with-event-trigger/server_fastapi.py:348-363 \u2014 before extracting anything, compare \u0060chapter6/agent-with-event-trigger/server.py\u0060 and \u0060chapter6/agent-with-event-trigger/server_fastapi.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b825822ef626af9228d8eabf5ae79fdf72bb1bf3be6c7f06995f9aaeedfae51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): chapter6/agent-with-event-trigger/server.py:374-389 | chapter6/agent-with-event-trigger/server_fastapi.py:368-383 \u2014 before extracting anything, compare \u0060chapter6/agent-with-event-trigger/server.py\u0060 and \u0060chapter6/agent-with-event-trigger/server_fastapi.py\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 189 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other 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":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebde2b4600514abb784f5ed9c7857a6a594c25adfecb67715abaf7448c9e5a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:61-65 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:61-65 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:61-65 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:61-65 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0505d58815b631a549d5e44431646b7ec31afd64331c964573b242d5ee7d78a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter6/streaming-speech/run_official_experiment.py:56-60 | chapter7/elo-leaderboard/validation/validate_evidence.py:12-16 \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":"chapter6/streaming-speech/run_official_experiment.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07ec01c7612ae599abaa9157c7b01ec57aa35a657c41a6e4a8fc74cc2918a04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): chapter9/harness-safety-gate/evolution.py:484-526 | chapter9/self-modifying-agent/evolution.py:276-316 \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":"chapter9/harness-safety-gate/evolution.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"117983b25b407f519d03463d70c0715743c30b586cde9829eafb62dcaa17d8cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py:53-57 | chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py:54-58 \u2014 \u0060chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py\u0060 and \u0060chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py\u0060 are one unit implemented once 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 32 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8aa2dd2b151655906ae7eb8f544c058e343834bbbf394c458c08a4476838b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): chapter10/staged-system-prompt/runs/staged-system-prompt-kimi-k3-20260730-v1/workspace/organize_downloads.py:65-77 | chapter10/staged-system-prompt/runs/staged-system-prompt-kimi-k3-20260730-v3/workspace/organize_downloads.py:41-56 \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":"chapter10/staged-system-prompt/runs/staged-system-prompt-kimi-k3-20260730-v1/workspace/organize_downloads.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cefb0dcafe835ced3223ab00406a1c0f8c45fbec3f0936a250a8df1c5c5c81a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter3/agentic-rag-for-user-memory/offline_demo.py:108-113 | chapter3/agentic-rag-for-user-memory/offline_demo.py:125-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/offline_demo.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"75eba276b0e3a46195c5da5e09d613993961c9866c0a429bcec5c16dd8af5271"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter3/agentic-rag/campaign.py:294-298 | chapter3/memory_rag_campaign.py:493-497 \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":"chapter3/agentic-rag/campaign.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23eda4a63ccdd9bba8a4c159cbbe2950dda5291625d24122e454bdce517b27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter3/memory_rag_campaign.py:502-507 | chapter3/structured-knowledge-extraction/campaign.py:536-541 \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":"chapter3/memory_rag_campaign.py"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"635a7f74fc644cc17f806a2ab4087cb9fb7579f472aab64968afc203d3e353c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter4/collaboration-tools/run_experiment_4_5.py:188-192 | chapter4/execution-tools/run_experiment_4_4.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":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68db9e381e40fc1a4234d36c3ea6912122acac4927a17b9010c89683e1d1222"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): chapter5/code-for-logic/demo.py:632-636 | chapter5/code-for-math/demo.py:732-736 | chapter5/small-model-codified-rules/demo.py:532-536 \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":"chapter5/code-for-logic/demo.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"8868964cd07481f3cc4f5f22803607497657ac7e09a8c1400c92e3108fd271af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter5/log-diagnosis/campaign.py:54-58 | chapter5/video-edit/campaign.py:49-53 \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, \u0060chapter5/video-edit/campaign.py:44\u0060 calls \u0060_sha\u0060, \u0060sha256\u0060, \u0060read_bytes\u0060 and \u0060chapter5/log-diagnosis/campaign.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":"chapter5/log-diagnosis/campaign.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9111e795bc4051e8b9b050821e5cccb8cf19c01a684d5abc2c0298df99c70b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:257-261 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py:348-352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b839b504ad22c504cb2665cf9d0a8ea210175101773c3a13230eb10f16f89ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:162-169 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:162-169 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:154-161 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:154-161 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3fbe9ba831dc0fcc2c52c75db9251d69100e91444c61137ff9e02ecedd4dd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): chapter6/astra-async-steering/experiment.py:395-401 | chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:395-401 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:373-379 | chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:373-379 \u2014 before extracting anything, compare \u0060chapter6/astra-async-steering/experiment.py\u0060 and \u0060chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 328 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"36006fd66fdbc45d94c015ea302bd10a7995eea6c658ad8cc9269de33e82d068"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter6/phone-agent/demo.py:29-33 | chapter6/phone-agent/direct_call.py:35-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 both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/phone-agent/demo.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"889b721d04a91f5c0dd837238feb79fc430083c7fe68e27dda971de54759d972"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter7/android-world/run_controlled_experiment.py:1476-1480 | chapter7/android-world/run_controlled_experiment.py:1487-1491 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/android-world/run_controlled_experiment.py"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3ea243d9cc00159d964d7e6dcd85ea187ee5b559f79146859b5df0bcbb48ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter7/user-memory-system-evaluation/probe_candidates.py:47-52 | chapter7/user-memory-system-evaluation/probe_candidates.py:68-73 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060chapter7/user-memory-system-evaluation/probe_candidates.py:47\u0060 it begins part-way through the construct above it, so those exact lines 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":"chapter7/user-memory-system-evaluation/probe_candidates.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2143efaef5d4bb8c13c1c38f1a5d55d2ffd45716b19a9ece2ed5cb387e24ec2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter8/speech-sft-experiment/run_orpheus.py:261-265 | chapter8/speech-sft-experiment/run_sesame.py:261-265 \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":"chapter8/speech-sft-experiment/run_orpheus.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5364f3263d961e27a6d7e2ccca38648b4e7f1a8cf460197ecd6ecd24137a7a4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter9/browser-use-rpa/run_experiment_9_5.py:532-537 | chapter9/prompt-auto-optimization/run_experiment_9_3.py:21-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/run_experiment_9_5.py"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdcc0c973953b659243f2c76289628b14bc82750ce39abf905befa656d3fd07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): chapter9/harness-safety-gate/run_experiment_9_7.py:212-219 | chapter9/self-modifying-agent/run_experiment_9_6.py:117-124 \u2014 before extracting anything, compare \u0060chapter9/harness-safety-gate/run_experiment_9_7.py\u0060 and \u0060chapter9/self-modifying-agent/run_experiment_9_6.py\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"chapter9/harness-safety-gate/run_experiment_9_7.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f54418cb89bf8cf5dedaeba3915fb5c88323e75b994bc7345744ab66e464ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter9/self-evolving-tools/demo.py:133-137 | chapter9/self-evolving-tools/demo.py:146-150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/self-evolving-tools/demo.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c53296b2246c2a7dcb7b467032d42377b3c69915a1eacc41bcd0168a51b141f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): chapter9/tau2-escalation-experience/analyze.py:34-39 | chapter9/tau2-escalation-experience/build_evidence.py:39-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/tau2-escalation-experience/analyze.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bfc4f2468ad38c095a4dcf6ae7d1c9b8b7d8b03d65887e3cf89c6025df1c19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (45 corresponding lines): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_spec_errors.py:134-181 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_spec_errors.py:185-229 \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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_spec_errors.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"956fd0279f10c81f5a26fce49fe8045611be983baedf7f2747c18697afa7610f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): chapter3/user-memory-evaluation/generate_test_cases.py:293-306 | chapter3/user-memory-evaluation/generate_test_cases.py:310-320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory-evaluation/generate_test_cases.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dfcff6e6cf1e77bd34305f576de9b927388f7335d40f85547493b37b883a9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_spec_errors.py:134-147 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_spec_errors.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_spec_errors.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"24234aed7efd3142bd47d89f3116985dfadb18dfd4a838e86cc386b143671cf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): chapter5/permission-embedded-data-objects/pedo/eval/benchmark_spec_errors_v2.py:322-326 | chapter5/permission-embedded-data-objects/pedo/eval/benchmark_spec_errors_v2.py:333-337 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_spec_errors_v2.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2556a79679121e056adb8e6a6b300f96a8830415703eee425127a8eab93bcfaa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should handle streaming via OpenRouter: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/tests/test-llm-providers.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fe47414321a7d4aa1dde4fe3a9657c644f247e1729a17bec0c39f8d8c785d3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should handle creative tasks with Gemini: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/tests/test-llm-providers.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60eea0033269b41aed10643fa7b2d320761d8d665408e45fb6a9761c4fab07c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: should handle Chinese language tasks: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/tests/test-llm-providers.js"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b5b9ab1f0dcb29cba414001687960398c061208abf26eb86f5a1cc9aeb9bdf"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1e7c6bcb4c3e010299c1b5797be0914061ce8bce42336d61d6d4225fa06da8f6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cf4d6f61d7b26b4bc9724a88caeca025c22b53342182bcc26a104fadfbd99acf"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c498a5f0f474b83b4eddb3ee60a9314ffb5945897e7fcd2ed7dec532d61e669f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c36fb3ccb624ee3e8876b1d2452206cdb28ecb115ecb1777f057576d3faee15"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"98400bdbc5b1da3f0b81d4ae7e2193e8f4b7476f2c1045846faca32aedab1d0a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68a68799bd48e68b02da1787d7926e761028ba40d03bc72a6c019b34fa450390"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"30b06ccaac28f3f17a990e70bc05d52856be0e918718533bba9368bfa208f235"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"885b711f50f602167a66eba60fd1e219be06813cf91dfcf2c30850a1498cd36d"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"592bb3a2a0999385acd6f314068c954d03498daf3f9806607588585038759a7e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a701e5e761d5b679519af7d4b973beb41adcf6d1d12de970ae012998f8a702c2"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22f071fafe352d50f4929e02a826e0c20552845bae6cf30e1bdc66b271270c1f"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e8043ac992a698ac564a81bc15e06e667ab44bb59573b07399ea44bd5cb1ea2"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ccbd2e13539116b7113d93b654ee57177e19c6ea3235e2dd09144f99ceb838a9"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"023606d9ca7840006208e8629057c1dded17912fee6becd6ca3d82adc9d97bde"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: extras/lang-switcher.js: extras/lang-switcher.js changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 190 in lang-switcher.init at line 27. 13 of those changes were fix/bug commits, and the other 14 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- extras/lang-switcher.js\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":"extras/lang-switcher.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cf4b02630cde7a161762c9e2c42d961ba1a494c08d01a5edb87ef8ea692564"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter10/voice-werewolf/demo.py: chapter10/voice-werewolf/demo.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in demo.run_game at line 225. 2 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter10/voice-werewolf/demo.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":"chapter10/voice-werewolf/demo.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"09062b886b853e7b2363cad51c67736bc3807e59208417064f68f7338f136b46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter1/context/main.py: chapter1/context/main.py changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in main.interactive_mode at line 907. 9 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter1/context/main.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":"chapter1/context/main.py"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae668b90608fcb75f54eb70b0c237325c9c0ab94a6598663d8dc0dcfb18570f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter1/context/agent.py: chapter1/context/agent.py changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ContextAwareAgent.execute_task at line 701. 10 of those changes were fix/bug commits, and the other 14 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter1/context/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":"chapter1/context/agent.py"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1c5b60c6bfd40d0287566b3f2ece8aed23b760f3c320ca5440bf46c65674be"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/user-memory/agent.py: chapter3/user-memory/agent.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in UserMemoryAgent.execute_task at line 614. 4 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/user-memory/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":"chapter3/user-memory/agent.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba76e791ade7fcc7fd911be835b6a500bae4f4320e64b37f8f7a62cd6b49d32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter2/system-hint/agent.py: chapter2/system-hint/agent.py changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in SystemHintAgent.execute_task at line 825. 6 of those changes were fix/bug commits, and the other 9 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter2/system-hint/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":"chapter2/system-hint/agent.py"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d959a667fcbb5d32e8584285d9912d89aa57ff4084a555a2db2ba20713aca07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/code-for-math/demo.py: chapter5/code-for-math/demo.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in demo.main at line 543. 4 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/code-for-math/demo.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":"chapter5/code-for-math/demo.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dadb578ec1b60b4ea0bfc68fab3d16b6bcad23f7ec6e8fe651001bfee9bc49e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter2/kv-cache/agent.py: chapter2/kv-cache/agent.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in KVCacheAgent.execute_task at line 622. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter2/kv-cache/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":"chapter2/kv-cache/agent.py"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b4d8462e032641ad15fca4170874e260a15d49b1fe230c020b537559cc0b72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/paper-to-ppt/demo.py: chapter5/paper-to-ppt/demo.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in demo.main at line 410. 3 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/paper-to-ppt/demo.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":"chapter5/paper-to-ppt/demo.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5226c7696e519d94a693c0b64b887ca314aa7bd873e0471e7e4443b79c90ed2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter10/book-translation/agents.py: chapter10/book-translation/agents.py changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in agents.run_orchestration at line 461. 6 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter10/book-translation/agents.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":"chapter10/book-translation/agents.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"828aa176f2c5650645e47482dde2998a67a5edc043de00e2ed2b3960551283f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter10/multi-role-transfer/orchestrator.py: chapter10/multi-role-transfer/orchestrator.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in MultiRoleOrchestrator._run_one_llm_turn at line 108. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter10/multi-role-transfer/orchestrator.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":"chapter10/multi-role-transfer/orchestrator.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fe064e6d5d3fae7c79dfa91fed8886fb5d491e29b2d7c029f7dba0f5576c08"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter6/agent-with-event-trigger/agent.py: chapter6/agent-with-event-trigger/agent.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in EventTriggeredAgent.handle_event at line 1059. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter6/agent-with-event-trigger/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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e622076d0593283298e8997b899e1823cbaaa29e220227c490e1caa46585a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter2/prompt-engineering/run_ablation.py: chapter2/prompt-engineering/run_ablation.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in run_ablation.run_full_suite at line 554. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter2/prompt-engineering/run_ablation.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":"chapter2/prompt-engineering/run_ablation.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"100186c27e2f9ccf4e8dd1e0c669377fc2ef569aa227e1f9319d4822566b1247"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter2/context-compression/agent.py: chapter2/context-compression/agent.py changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ResearchAgent._stream_response 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter2/context-compression/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":"chapter2/context-compression/agent.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28b22932d46235751e492a3247be268e0ffe1adf1e6e3af682c1806cb8b0677"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter8/Intuitor/evaluate_from_cache.py: chapter8/Intuitor/evaluate_from_cache.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in evaluate_from_cache.evaluate_from_parquet at line 198. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter8/Intuitor/evaluate_from_cache.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":"chapter8/Intuitor/evaluate_from_cache.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca6b4fe86ff60be78186ddcf4464f1c2cce496bb432e361fd8061620d4cb515"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/log-sanitization/agent.py: chapter3/log-sanitization/agent.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in LogSanitizationAgent.detect_pii at line 139. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/log-sanitization/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":"chapter3/log-sanitization/agent.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafbbc04c34960267a307f32212092d6c2a87976172f49ba240161819b06d0b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter10/autonomous-phone-registration/demo.py: chapter10/autonomous-phone-registration/demo.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in demo.main at line 126. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter10/autonomous-phone-registration/demo.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":"chapter10/autonomous-phone-registration/demo.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdee45e7a899082fcf6d3076e6faaebe62036f8f1755ec3372f7afd2fc8618a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter7/tts-quality-eval/pipeline.py: chapter7/tts-quality-eval/pipeline.py changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in pipeline.judge_gemini_audio at line 676. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter7/tts-quality-eval/pipeline.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":"chapter7/tts-quality-eval/pipeline.py"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac98d63df1fdee017fe8cef7790763752e0c2174125b7d14d3df9204aaf82a5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter9/self-evolution-eval/harness.py: chapter9/self-evolution-eval/harness.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in LongitudinalEvaluator.run at line 24. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter9/self-evolution-eval/harness.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":"chapter9/self-evolution-eval/harness.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbca8245aac1dba631a0e8980907558dd2c099fcb897dc1344f2e4b17bfbe613"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/code-for-logic/demo.py: chapter5/code-for-logic/demo.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in demo.main at line 489. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/code-for-logic/demo.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":"chapter5/code-for-logic/demo.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8e1359ef517114f7617d6345de51df484a733549673c3127295ded26e9764a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/user-memory/conversational_agent.py: chapter3/user-memory/conversational_agent.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ConversationalAgent.__init__ at line 47. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/user-memory/conversational_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":"chapter3/user-memory/conversational_agent.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5368f024a98bd596cf96897b767440f0b158bd018061dd4ae4fd588ebfc4c4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter1/web-search-agent/agent.py: chapter1/web-search-agent/agent.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in WebSearchAgent.search_and_answer 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter1/web-search-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":"chapter1/web-search-agent/agent.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dc7681f5ca942fcddf177af71b14a0dea80f2011d59f0914eddb26dd4816fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter7/tts-quality-eval/demo.py: chapter7/tts-quality-eval/demo.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in demo.main at line 214. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter7/tts-quality-eval/demo.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":"chapter7/tts-quality-eval/demo.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"f439a03ef928a109cb69f9d94c50cd4726b4a8a03b92167f631a73d596c9a824"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter10/multi-role-transfer/demo.py: chapter10/multi-role-transfer/demo.py changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in demo.save_evidence at line 190. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter10/multi-role-transfer/demo.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":"chapter10/multi-role-transfer/demo.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"51aebff156f0bc30b16994df26f6a81b8bef9bff991fb3e9f975faa96a5b7d5a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter2/local_llm_serving/agent.py: chapter2/local_llm_serving/agent.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in VLLMToolAgent.chat_stream at line 340. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter2/local_llm_serving/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":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"85549650dd86b42d000902b0a708e7a372fa5be6053eed007522273dfacf93c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter2/attention_visualization/frontend/components/AttentionModal.tsx: chapter2/attention_visualization/frontend/components/AttentionModal.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in AttentionModal.AttentionModal at line 11. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter2/attention_visualization/frontend/components/AttentionModal.tsx\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":"chapter2/attention_visualization/frontend/components/AttentionModal.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8165d1ee69925fde91c4b8f8f588528c3cc320c45938c7e75a8ae2ab7ef84b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter2/prompt-engineering/ablation_agent.py: chapter2/prompt-engineering/ablation_agent.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in AblationAgent.solve at line 60. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter2/prompt-engineering/ablation_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":"chapter2/prompt-engineering/ablation_agent.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f837babf2c60db4d70af99c602d453c04bc17ae024233b8117fe2aa9ec0a36"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/video-edit/demo.py: chapter5/video-edit/demo.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in demo.main at line 139. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/video-edit/demo.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":"chapter5/video-edit/demo.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87c11be22ebfc79edcc0c0721c93f403d939a0b1506f6dac2d0a1ff5afe6da1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/paper-to-video/demo.py: chapter5/paper-to-video/demo.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in demo.self_check at line 382. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/paper-to-video/demo.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":"chapter5/paper-to-video/demo.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a64905a1234dd9d6d1a433dede5784bbf12a581814b049da45af9a9f7c2113"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/user-memory/main.py: chapter3/user-memory/main.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in main.run_evaluation_mode at line 373. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/user-memory/main.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":"chapter3/user-memory/main.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"18795c36a68de26e64377545265caefe330bae6ff6c355e0b633aa80bf65099d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter9/browser-use-rpa/learning_agent/agent.py: chapter9/browser-use-rpa/learning_agent/agent.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in LearningAgent._save_learned_workflow at line 437. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter9/browser-use-rpa/learning_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":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"726bd6213d2a571fe829f9534f63fae97025f96d7f6cd70d2102a701b464134f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/coding-agent/tools/grep_tool.py: chapter5/coding-agent/tools/grep_tool.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in GrepTool._search_content at line 262. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/coding-agent/tools/grep_tool.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":"chapter5/coding-agent/tools/grep_tool.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbb6efa3a7f9538424a69ffd0a8726a4ef45ed45ecc7f532a8c7f41f3247cc6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter10/parallel-web-research/agents.py: chapter10/parallel-web-research/agents.py changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Coordinator.run 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter10/parallel-web-research/agents.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":"chapter10/parallel-web-research/agents.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc429900ccfded2a951f1c7a1a968520282e96e9810d799c6ea867307657f97"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter9/prompt-auto-optimization/demo.py: chapter9/prompt-auto-optimization/demo.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in demo.main at line 82. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter9/prompt-auto-optimization/demo.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":"chapter9/prompt-auto-optimization/demo.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c9d33ee63d83eb4e26c0e5e9a0f2abb296461ec638b5809d522454f61b2e6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter1/search-codegen/agent.py: chapter1/search-codegen/agent.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in GPT5NativeAgent._citations 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter1/search-codegen/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":"chapter1/search-codegen/agent.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fb6af48fcd1266c0cff7bf66b6cbf448f1b66a214728f0292cd35283f06f70"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter8/prompt-distillation/evaluate.py: chapter8/prompt-distillation/evaluate.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in evaluate.main at line 333. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter8/prompt-distillation/evaluate.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":"chapter8/prompt-distillation/evaluate.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9643d03a5c671e9a3b366321c42d4641c62e3b06ef2a18daae1fa5db10cccd7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter2/local_llm_serving/ollama_native.py: chapter2/local_llm_serving/ollama_native.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in OllamaNativeAgent.chat_stream at line 213. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter2/local_llm_serving/ollama_native.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":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27e7a7f00872c6d3718c0927422ab861a6fdf7d512085613879638eb3d672a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter6/live-audio/backend/server.js: chapter6/live-audio/backend/server.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in ConnectionHandler.processTTSQueue at line 715. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter6/live-audio/backend/server.js\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":"chapter6/live-audio/backend/server.js"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47fc124af2f75b1f92a69f85b8572bf24d5dd1d03a6555d1f10de4fb5262054"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter7/android-world/run_controlled_experiment.py: chapter7/android-world/run_controlled_experiment.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in run_controlled_experiment.main at line 1392. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter7/android-world/run_controlled_experiment.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":"chapter7/android-world/run_controlled_experiment.py"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc7023834d12ea348a3b1b703bdaf466e818249d363912353010f4980cd07c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter4/collaboration-tools/run_experiment_4_5.py: chapter4/collaboration-tools/run_experiment_4_5.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in run_experiment_4_5.run at line 218. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter4/collaboration-tools/run_experiment_4_5.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":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22ff390465b42660a4f50bcf16ee05bdfad8c2018d928944b72aba41fd62c55"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/dynamic-form/demo.py: chapter5/dynamic-form/demo.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in demo.main at line 631. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/dynamic-form/demo.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":"chapter5/dynamic-form/demo.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"5709746cc0cca7a29e3a814482d09346c9bd1ac455d9bc82a28daaf5c6fb8f10"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/agentic-rag/main.py: chapter3/agentic-rag/main.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in main.main at line 187. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/agentic-rag/main.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":"chapter3/agentic-rag/main.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b11d38d3a9633b4b24185a3ea80e0f7d54e75add2e780751d9287a5040f3b55"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter9/trajectory-verifier/llm_judge.py: chapter9/trajectory-verifier/llm_judge.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in OpenAIQualityJudge.evaluate at line 41. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter9/trajectory-verifier/llm_judge.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":"chapter9/trajectory-verifier/llm_judge.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53d7e66421ed53510bcf7fb5c2f6daed8e4fa28e67e98d43d6eb806129b25b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter4/execution-tools/execution_tools.py: chapter4/execution-tools/execution_tools.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ExecutionTools.code_interpreter at line 78. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter4/execution-tools/execution_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":"chapter4/execution-tools/execution_tools.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc121a3cbd703a60af014b75ae6f193914beb9b43aa9ca1e68dba4192bb5912"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: agentbook/providers/resolution.py: agentbook/providers/resolution.py changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in resolution.resolve_backend at line 127. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- agentbook/providers/resolution.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":"agentbook/providers/resolution.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"606d65df4639cd7b2f4e147aceab48c8816bc1c7bec5e4eb7f9715dde5b3a0f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter7/elo-leaderboard/bradley_terry.py: chapter7/elo-leaderboard/bradley_terry.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in bradley_terry.compute_mle_elo at line 12. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter7/elo-leaderboard/bradley_terry.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":"chapter7/elo-leaderboard/bradley_terry.py"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14904e8a3f34b0136733120f05f4a7b4f645c36053e9349dd74769f977394d5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: flatten_epub_toc.py: flatten_epub_toc.py changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in flatten_epub_toc.flatten_nav at line 32. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- flatten_epub_toc.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":"flatten_epub_toc.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b58c7406c785c16cb57fcbc267dbf853d985ef71217bb12dcaea13cd2ed4803"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter8/prompt-distillation/create_data.py: chapter8/prompt-distillation/create_data.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in create_data.generate_distillation_data at line 146. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter8/prompt-distillation/create_data.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":"chapter8/prompt-distillation/create_data.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"82022c6b4ddffc7d2ec0c611e8680b70cae48279599d9485d0e1389409fe8d45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter7/openvla-robotwin2-eval/experiment.py: chapter7/openvla-robotwin2-eval/experiment.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in experiment.analyze at line 527. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter7/openvla-robotwin2-eval/experiment.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":"chapter7/openvla-robotwin2-eval/experiment.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6c91e8d87b973997e8f201d0fe373ad10ad35a89ee0487c308567461e9175f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/structured-knowledge-extraction/campaign.py: chapter3/structured-knowledge-extraction/campaign.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in campaign.main at line 524. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/structured-knowledge-extraction/campaign.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":"chapter3/structured-knowledge-extraction/campaign.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"01262477a2757cbeff8e3d0517052805e159fd02124bf58f295f42fd9a867bb0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter1/learning-from-experience/quick_demo.py: chapter1/learning-from-experience/quick_demo.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in quick_demo.run_llm_demo at line 47. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter1/learning-from-experience/quick_demo.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":"chapter1/learning-from-experience/quick_demo.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"224844d599a8dcf10fc8b6381830c58f688393ada7dee0d933681444e12da925"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/small-model-codified-rules/demo.py: chapter5/small-model-codified-rules/demo.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in demo.main at line 428. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/small-model-codified-rules/demo.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":"chapter5/small-model-codified-rules/demo.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"00dbc260f8360fb694d463e171791e0fe556f74fb5f65f7dac970bb98a3351a5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter4/active-tool-discovery/demo.py: chapter4/active-tool-discovery/demo.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in demo.main at line 127. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter4/active-tool-discovery/demo.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":"chapter4/active-tool-discovery/demo.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbf43d10a8af7e11e9b141b1c9e48f074d0663b32956098a9989f8f3a29ad64"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/adaptive-log-parser/demo.py: chapter5/adaptive-log-parser/demo.py changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in demo.main 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/adaptive-log-parser/demo.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":"chapter5/adaptive-log-parser/demo.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aaf8986748cb8c71ed233566ff4cf0d810cfdc2e8dc0e17fd72ceb26bbe2cd4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter2/context-compression/main.py: chapter2/context-compression/main.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in main.run_demo at line 65. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter2/context-compression/main.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":"chapter2/context-compression/main.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0625966078fbfbc00ab591a564eb4412cdb61fee6f626dc4e23fe8892675b3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/mem0/main.py: chapter3/mem0/main.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in main.run_memory_op at line 242. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/mem0/main.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":"chapter3/mem0/main.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab927744eac6f650349a2e09201dd00f0244633525193e5744fadcd1ddfb4af"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter6/controllable-tts/markup.py: chapter6/controllable-tts/markup.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in markup.parse at line 56. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter6/controllable-tts/markup.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":"chapter6/controllable-tts/markup.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"698ed66a2671a06d47d9d32b806f44fac3f511456b55873dee0d9e6100ae4dbe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter4/active-tool-discovery/run_exact_experiment.py: chapter4/active-tool-discovery/run_exact_experiment.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in run_exact_experiment.run at line 1060. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter4/active-tool-discovery/run_exact_experiment.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":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0294e75e6b8a9152a9e5f2a08eeea5f64c7775be766834cd72d21ccb3f4a660"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter2/agent-skills-ppt/validate_official_run.py: chapter2/agent-skills-ppt/validate_official_run.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in validate_official_run.validate at line 130. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter2/agent-skills-ppt/validate_official_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":"chapter2/agent-skills-ppt/validate_official_run.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf0a8aa9b1215e18b51ddb8cc2ce1f336b48e6f8d7da26a79762a9d37a97880"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/coding-agent/tools/shell_session.py: chapter5/coding-agent/tools/shell_session.py changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ShellSession._parse_protocol_output at line 183. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/coding-agent/tools/shell_session.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":"chapter5/coding-agent/tools/shell_session.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa18eb46e5f166e7a6cdde2f5d26ef8d6fb29d797285768ff76780af74db7ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter4/perception-tools/src/search_tools.py: chapter4/perception-tools/src/search_tools.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in search_tools.search_web 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter4/perception-tools/src/search_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":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3112be1468cc298c917231be5e88bb1642b06ed29177823e2e038be33e7c944b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter8/cot-distillation/generate_data.py: chapter8/cot-distillation/generate_data.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in generate_data.main at line 206. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter8/cot-distillation/generate_data.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":"chapter8/cot-distillation/generate_data.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4fbbd588c20e16d9d9075fdaa51dc1e6163676b5fcbf73998f0be5d6e0d85e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/log-diagnosis/replay.py: chapter5/log-diagnosis/replay.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in replay._eval_assertion at line 52. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/log-diagnosis/replay.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":"chapter5/log-diagnosis/replay.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34ba7d42a614fcbb20d903136293dd16ece9c78c7c76c30323749c51a4ff961"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter4/execution-tools/run_experiment_4_4.py: chapter4/execution-tools/run_experiment_4_4.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in run_experiment_4_4.run at line 55. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter4/execution-tools/run_experiment_4_4.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":"chapter4/execution-tools/run_experiment_4_4.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"926c98fda858003eac757b4c3990910899ae282d841e64332e306c10efaa7842"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/check_i18n_consistency.py: scripts/check_i18n_consistency.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in check_i18n_consistency.main at line 96. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- scripts/check_i18n_consistency.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":"scripts/check_i18n_consistency.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8f1da92ca44799872e48200ea562f99df2131135a513e7014435a61caddb29"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/user-memory/memory_manager.py: chapter3/user-memory/memory_manager.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in NotesMemoryManager.consolidate_memories at line 269. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/user-memory/memory_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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7248ed7b09dcb824db07d5731121d1de88d9eade3f673b8638a1e6ca7b4787"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/coding-agent/tools/multi_edit_tool.py: chapter5/coding-agent/tools/multi_edit_tool.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in MultiEditTool._execute_impl at line 18. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/coding-agent/tools/multi_edit_tool.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":"chapter5/coding-agent/tools/multi_edit_tool.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03018c3cee709cf3116415519ec9940d172da3c348db402867e52fb25b9f447"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter10/talkact-reproduction/validate_campaign.py: chapter10/talkact-reproduction/validate_campaign.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in validate_campaign.main at line 40. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter10/talkact-reproduction/validate_campaign.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":"chapter10/talkact-reproduction/validate_campaign.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"da18c187f21150ad5c67907ea6fee0ddd7d1bab0187aef9daeaa145a4d477bea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/agentic-rag-for-user-memory/main.py: chapter3/agentic-rag-for-user-memory/main.py changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in main.main at line 606. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/agentic-rag-for-user-memory/main.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":"chapter3/agentic-rag-for-user-memory/main.py"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba0024bc5209d7338dc9550508a86b480e81c45bc4ac7213f2018cc3839b637"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter10/multi-role-transfer/run_comparison.py: chapter10/multi-role-transfer/run_comparison.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in run_comparison.main at line 456. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter10/multi-role-transfer/run_comparison.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":"chapter10/multi-role-transfer/run_comparison.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"f781729edd3f5ef1a2011b58c0ac11be6b941c38b8fbfd058092c4ed33550be5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter10/generative-agents/supervise_campaigns.py: chapter10/generative-agents/supervise_campaigns.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in supervise_campaigns.main at line 90. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter10/generative-agents/supervise_campaigns.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":"chapter10/generative-agents/supervise_campaigns.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba40c06193ba427121548de7ba4f6217f902379e978addaff3db82fc2c4b5a50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter6/controllable-tts/validate_artifacts.py: chapter6/controllable-tts/validate_artifacts.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in validate_artifacts.main 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter6/controllable-tts/validate_artifacts.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":"chapter6/controllable-tts/validate_artifacts.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c736f22cd203f8ace07e2755cd03968cb163cdf75c9f7f20004a6a56f010a25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/agentic-rag/agent.py: chapter3/agentic-rag/agent.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AgenticRAG.query at line 231. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/agentic-rag/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":"chapter3/agentic-rag/agent.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cddc11c86414fe9e9c4e86816d3aa55cb3afcd06a3869b28e4fe4886fcbc90f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter5/coding-agent/tools/notebook_edit_tool.py: chapter5/coding-agent/tools/notebook_edit_tool.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in NotebookEditTool._execute_impl at line 18. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/coding-agent/tools/notebook_edit_tool.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":"chapter5/coding-agent/tools/notebook_edit_tool.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c186f3c9ed512e5605758166ffafa22bda0d9e4e0717e82f20e08867a7a045"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter10/autonomous-phone-registration/decision.py: chapter10/autonomous-phone-registration/decision.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in decision.decide_orchestration at line 72. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter10/autonomous-phone-registration/decision.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":"chapter10/autonomous-phone-registration/decision.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd371435b91cb714bdb5aa46f3f74405c36d73c55101c0cd217d613b0d2b364"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter7/user-memory-system-evaluation/run_full.py: chapter7/user-memory-system-evaluation/run_full.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in run_full.main 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter7/user-memory-system-evaluation/run_full.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":"chapter7/user-memory-system-evaluation/run_full.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cbb3dbe6af13111357182a1176de08f993b5b78a4a3e0a58d1da9e26138e99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/agentic-rag-for-user-memory/offline_demo.py: chapter3/agentic-rag-for-user-memory/offline_demo.py changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in offline_demo.run_demo at line 135. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/agentic-rag-for-user-memory/offline_demo.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":"chapter3/agentic-rag-for-user-memory/offline_demo.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8449621f09d77eabe1c70615b402c7ed9c71bfdf0e00c0d2d4652ea5e636d5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/contextual-retrieval-for-user-memory/contextual_agent.py: chapter3/contextual-retrieval-for-user-memory/contextual_agent.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ContextualUserMemoryAgent.answer_question at line 268. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/contextual-retrieval-for-user-memory/contextual_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":"chapter3/contextual-retrieval-for-user-memory/contextual_agent.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02977943d49f3ebf1b13c35f4105c90e1212f180cc5a2a89c584c5cdacc6e6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter6/claude-computer-use-native/validate_weather_run.py: chapter6/claude-computer-use-native/validate_weather_run.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in validate_weather_run.main at line 28. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter6/claude-computer-use-native/validate_weather_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":"chapter6/claude-computer-use-native/validate_weather_run.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78b898e5a229f5ae6eb9398373b097dfae563cb08190fabe14d379c849aab89"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter7/android-world/experiment_core.py: chapter7/android-world/experiment_core.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in experiment_core.render_report at line 394. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter7/android-world/experiment_core.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":"chapter7/android-world/experiment_core.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8178b57eb7e8ea4473964f0eefe41cc0c7f2bb1719a346bf8e3752ec62c61da"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter3/agentic-rag-for-user-memory/indexer.py: chapter3/agentic-rag-for-user-memory/indexer.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in MemoryIndexer.search at line 373. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/agentic-rag-for-user-memory/indexer.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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9290174d66e73cf276f3bc5206a64c238d45d75808c66684df2e45877eaec24d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter10/generative-agents/judge_plausibility.py: chapter10/generative-agents/judge_plausibility.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in judge_plausibility.main at line 221. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter10/generative-agents/judge_plausibility.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":"chapter10/generative-agents/judge_plausibility.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"374b0ba124ec802dfcc235fcfade8c8895f5d173c717936afbe085165b5abaea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter7/user-memory-system-evaluation/experiment.py: chapter7/user-memory-system-evaluation/experiment.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ExperimentRunner.run_611 at line 1119. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter7/user-memory-system-evaluation/experiment.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":"chapter7/user-memory-system-evaluation/experiment.py"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9967f4b391a2ecf57402f1b0ea62359a53f70b63c80d783c63ec9c048ccb28dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter9/harness-safety-gate/run_experiment_9_7.py: chapter9/harness-safety-gate/run_experiment_9_7.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in run_experiment_9_7.main at line 47. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter9/harness-safety-gate/run_experiment_9_7.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":"chapter9/harness-safety-gate/run_experiment_9_7.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde088d0acd340233357dd9d153509770f5acc1e3701a3e8d13a0bee3f683ec9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: chapter6/rgb-sim2real-grasping/pipeline.py: chapter6/rgb-sim2real-grasping/pipeline.py changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in pipeline.main at line 146. 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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter6/rgb-sim2real-grasping/pipeline.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":"chapter6/rgb-sim2real-grasping/pipeline.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba12e009a76a519bf157140b21aac889aa25e917301f2a36d7d78cfbf5ce741"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter5/video-edit/video_editor.py: chapter5/video-edit/video_editor.py changed 9 times in last 90 days and 7 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 video_editor._apply_edit_ffmpeg at line 71), 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(video-edit): revert drive-by regressions and keep atempo scaling for factor=0.5\u201D; \u201Cfix(video-edit): drop unrelated atempo/makedirs drive-bys\u201D; \u201Cfix(video-edit): skip slowmo when factor is null\u201D; \u201Cfix(video): skip slowmo when factor is not positive (#314)\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/video-edit/video_editor.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":"chapter5/video-edit/video_editor.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21a71bc7f982c2cc3b0df3edcaf94aa1e4fda76fb6bce6c8812f521da767044"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter5/conversational-ui/agent.py: chapter5/conversational-ui/agent.py changed 9 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 11 (its worst body is agent.customize at line 128), 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(conversational-ui): drop apply_edits file items missing a string content (#459)\u201D; \u201Cfix(conversational-ui): skip non-dict apply_edits file entries (#406)\u201D; \u201Cfix(conversational-ui): tolerate malformed apply_edits JSON (#401)\u201D; \u201Cfix(chapter5): LLM-JSON robustness, bare output paths, ffprobe N/A\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/conversational-ui/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":"chapter5/conversational-ui/agent.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3488cfe34eb5370ffda10af818a64dfa957a45e13bfed93e8c3c30e76db740e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter4/collaboration-tools/src/timer_tools.py: chapter4/collaboration-tools/src/timer_tools.py changed 5 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 12 (its worst body is timer_tools._run_recurring_timer at line 345), 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(timer-tools): handle timezone-aware expiry_time in status and loading (#743)\u201D; \u201Cfix(timer-tools): trigger callback and persist state when active timer expires on load (#702)\u201D; \u201Cfix(cron): reject non-positive recurring timer intervals (#388)\u201D; \u201Cfix(collaboration-tools): honor max_occurrences=0 for recurring timers (#355)\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter4/collaboration-tools/src/timer_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":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc31880b992ca51a860687757bd09cb6e87619b376f8365e7370294353e42dcc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter5/coding-agent/tools/bash_tool.py: chapter5/coding-agent/tools/bash_tool.py changed 5 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 6 (its worst body is BashTool._execute_impl at line 18), 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(coding-agent): support shell commands on Windows (#413)\u201D; \u201Cfix(bash): treat timeout_ms 0 like omit (#310)\u201D; \u201Cfix(bash): honor sub-second timeouts (#172)\u201D; \u201Cfix(coding_agent): repair background output, timeout, and binary detection\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/coding-agent/tools/bash_tool.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":"chapter5/coding-agent/tools/bash_tool.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d830a8c7591e925c83cef45f17d89c3225c0b705c3a09b5b663c36c0b3326390"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter3/structured-index/graphrag_indexer.py: chapter3/structured-index/graphrag_indexer.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 14 (its worst body is GraphRAGIndexer.multi_hop_search at line 466), 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(structured-index): return empty list for non-positive top_k in GraphRAGIndexer.search (#510)\u201D; \u201Cfix(chapter3): don\u0027t mutate self.communities while iterating it (#127)\u201D; \u201Cfix(chapter3): treat GraphRAG chunk_overlap as a word budget, not a sentence count\u201D; \u201CRevert \u0022Merge pull request #12 from nsdevaraj/main\u0022\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/structured-index/graphrag_indexer.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":"chapter3/structured-index/graphrag_indexer.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"65209045171b9c4b9ef9fa3a5d1d7052cf488ffbcc8c0decf8323904600f9307"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter4/execution-tools/multilang_executor.py: chapter4/execution-tools/multilang_executor.py changed 6 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 12 (its worst body is LanguageExecutor._run_command at line 166), 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(ch4): make execution-tools run on Windows via Git Bash / WSL instead of dying on /bin/bash (#1116)\u201D; \u201Cfix(chapter4): drain subprocess pipes concurrently with the wait (#112)\u201D; \u201Cfix(multilang): default null language to python (#44)\u201D; \u201Cfix(multilang_executor): read full stdout/stderr after process exit\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter4/execution-tools/multilang_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":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7126d3c5e80f71d4a354919b7e55b4b05f05f108fed3d5e7e58f810d1b96419b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter5/coding-agent/tools/read_tool.py: chapter5/coding-agent/tools/read_tool.py changed 4 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 12 (its worst body is ReadTool._read_text 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(read): do not report nonempty file as empty when limit is 0 (#364)\u201D; \u201Cfix(read): treat negative limit as read-to-EOF (#317)\u201D; \u201Cfix(coding_agent): repair background output, timeout, and binary detection\u201D; \u201Cfix(coding_agent): default null Read offset and limit (#37)\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/coding-agent/tools/read_tool.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":"chapter5/coding-agent/tools/read_tool.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cd2d2ce4495c461608d6f15702c1cc057272cd7f72c957dd3cf4902715b824"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter3/user-memory/conversation_history.py: chapter3/user-memory/conversation_history.py changed 5 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 ConversationHistory.search_history at line 145), 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(user-memory): honor limit=0 in search_history (#656)\u201D; \u201Cfix(user-memory): return empty recent turns for limit=0 (#398)\u201D; \u201Cfix(chapter3): robust memory paths, tool args, empty-input guards\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter3/user-memory/conversation_history.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":"chapter3/user-memory/conversation_history.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe357daa99e8e4580c8d24727373fd3fed16b6bf65c1105839edb2a5e814fe9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter5/video-edit/agents.py: chapter5/video-edit/agents.py changed 5 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 agents.client 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: \u201Cfix(video-edit): parse first JSON object when extras follow (#366)\u201D; \u201Cfix(chapter5): LLM-JSON robustness, bare output paths, ffprobe N/A\u201D; \u201CRevert \u0022Merge pull request #12 from nsdevaraj/main\u0022\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/video-edit/agents.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":"chapter5/video-edit/agents.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7334d81fc190625af9988baf2561062a0ca9c063239ec17b714eb95e7309c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/gen_star_history.py: scripts/gen_star_history.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 12 (its worst body is gen_star_history.pick_xticks at line 447), 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(star-history): \u6539\u7528 GraphQL \u589E\u91CF\u62C9\u53D6\uFF0C\u4FEE\u590D\u8D85\u8FC7 4 \u4E07\u661F\u6807\u540E\u7684 CI \u5931\u8D25 (#964)\u201D; \u201Cfix(scripts): support various ISO 8601 formats in gen_star_history (#790)\u201D; \u201Cfix(star-history): make x-axis adapt to the length of the history (#751)\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- scripts/gen_star_history.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":"scripts/gen_star_history.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad76320b4797ccbc784f23728cb34b31dff30b08c6ebb3d9f76fa660d02123c9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter1/learning-from-experience/rl_agent.py: chapter1/learning-from-experience/rl_agent.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 13 (its worst body is QLearningAgent.train at line 173), 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(ch1): guard against empty evaluation windows in RL and LLM learning agents (#900)\u201D; \u201Cfix(learning-from-experience): avoid ZeroDivisionError when episode_victories is empty in QLearningAgent\u201D; \u201Cfix(chapter1): guard zero-episode divisions in RL/LLM agents\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter1/learning-from-experience/rl_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":"chapter1/learning-from-experience/rl_agent.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba88615da9a774f8e401c55824b79a8980415f16b7a0660340cc434e211d4176"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter4/active-tool-selection/semantic_router.py: chapter4/active-tool-selection/semantic_router.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 StructuredRequestParser.parse_request at line 261), 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(ch4): handle stop-words queries in SemanticRouter (#795)\u201D; \u201Cfix(active-tool-selection): search for closing tag after opening tag in parse_request (#700)\u201D; \u201Cchapter4: \u5DE5\u5177\u56DB\u4EF6\u5957\u8865\u9F50\u7EDF\u4E00 CLI \u002B \u79BB\u7EBF\u6F14\u793A \u002B \u771F\u5B9E bug \u4FEE\u590D\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter4/active-tool-selection/semantic_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":"chapter4/active-tool-selection/semantic_router.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"57460a999aa414ff0468284149803301421e528ae13434ef838b5eafbf067262"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter4/active-tool-selection/agent.py: chapter4/active-tool-selection/agent.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 5 (its worst body is ActiveToolAgent._call_llm at line 137), 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(chapter4): null usage, zero num_frames, malformed env vars\u201D; \u201CRevert \u0022Merge pull request #12 from nsdevaraj/main\u0022\u201D; \u201Cchapter4: \u5DE5\u5177\u56DB\u4EF6\u5957\u8865\u9F50\u7EDF\u4E00 CLI \u002B \u79BB\u7EBF\u6F14\u793A \u002B \u771F\u5B9E bug \u4FEE\u590D\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter4/active-tool-selection/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":"chapter4/active-tool-selection/agent.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e360bb04cdfddc9adf362d6211f91ee18abac2b063a9af05e4e9e01831521f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/site_source_paths.py: scripts/site_source_paths.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 6 (its worst body is site_source_paths.git_commit_range at line 65), 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(site): \u4FEE\u590D\u7AE0\u8282\u9875\u300C\u7F16\u8F91\u6B64\u9875\u300D\u300C\u67E5\u770B\u6E90\u4EE3\u7801\u300D\u6309\u94AE 404 (#1024)\u201D; \u201Cfix(scripts): normalize leading slash in source_path_for_page URIs (#712)\u201D; \u201Cfix(site): filter ignored_commits when determining creation date (#655)\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- scripts/site_source_paths.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":"scripts/site_source_paths.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"069e53174b07cc3f0558a25f99758f6748d6f80a1e6d1440f6e4b0744b5cc288"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter4/execution-tools/file_tools.py: chapter4/execution-tools/file_tools.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 11 (its worst body is FileTools.write_file at line 34), 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: replace bare except clauses and add encoding=utf-8 across all chapter code (#805)\u201D; \u201Cfix(file-tools): reject empty search in edit_file (#389)\u201D; \u201CFix file_tools.py: use zip_longest in _generate_diff to show all diff lines\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter4/execution-tools/file_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":"chapter4/execution-tools/file_tools.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c499b0202df4b7e16e25d08b4d0c9705e1dac704803ea6411ba1993157d33efb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: scripts/mkdocs_pandoc_strip.py: scripts/mkdocs_pandoc_strip.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 5 (its worst body is mkdocs_pandoc_strip.on_page_markdown at line 18), 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(mkdocs): handle None or empty markdown input in pandoc strip hook (#781)\u201D; \u201Cfix(docs): protect code blocks and support combined Pandoc attributes in mkdocs_pandoc_strip (#646)\u201D; \u201CFix up GitHub Pages site from PR #65\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- scripts/mkdocs_pandoc_strip.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":"scripts/mkdocs_pandoc_strip.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4d079eac413302f18c9b0a91a49cdf1534bd26c3f27febcbf3e3c075524c50"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter5/coding-agent/tools/bash_output_tool.py: chapter5/coding-agent/tools/bash_output_tool.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 6 (its worst body is BashOutputTool._execute_impl at line 19), 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(coding-agent): support shell commands on Windows (#413)\u201D; \u201Cfix(chapter5): make BashOutput return only new output, as documented (#141)\u201D; \u201Cfix(coding_agent): repair background output, timeout, and binary detection\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter5/coding-agent/tools/bash_output_tool.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":"chapter5/coding-agent/tools/bash_output_tool.py"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b4cb0496a7e244c5313aeaa022d5c1e08def1f7cc39171aa9d168cbacd50de"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: chapter4/perception-tools/src/document_processing_tools.py: chapter4/perception-tools/src/document_processing_tools.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 7 (its worst body is document_processing_tools.extract_pptx_content at line 175), 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(perception-tools): skip empty segments in parse_page_range (#353)\u201D; \u201Cfix(chapter4): clamp the lower bound of a PDF page range (#152)\u201D; \u201Cfix(csv): honor max_rows in extract_csv_content data (#129)\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-07-02..2026-09-30, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-02 03:03:28 \u002B00:00\u0027 --until=\u00272026-09-30 03:03:28 \u002B00:00\u0027 --full-history --no-merges -- chapter4/perception-tools/src/document_processing_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":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adc4e29bf7288930714108b6a69ec3a447d29fe8381560eb1db6509b540ed44"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 107 significant file(s) lose their only recent owner: chapter2/prompt-engineering/run_ablation.py, chapter5/log-diagnosis/campaign.py, chapter3/user-memory/background_memory_processor.py, chapter1/context/run_experiment_1_1.py, chapter10/multi-role-transfer/run_comparison.py, chapter4/collaboration-tools/src/subagent_tools.py, chapter1/learning-from-experience/experiment.py, chapter4/active-tool-discovery/tools_library.py (\u002B99 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d3244de553654b7cb8e20ebfc233f6fde58c1ed5447424c701cf78a5c90b1077"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 20 significant file(s) lose their only recent owner: chapter5/permission-embedded-data-objects/run_live_security_eval.py, chapter4/collaboration-tools/src/notification_dispatcher.py, chapter9/hermes-self-evolution/run_downstream_ablation.py, chapter8/MultilingualReasoning/evaluate_multilingual.py, chapter3/structured-index/hybrid_retriever.py, chapter9/harness-safety-gate/safety_policy_gate.py, chapter6/async-agent/run_real_experiment.py, chapter10/book-translation/consistency_auditor.py (\u002B12 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c36155ad00cb379fcfd46228b916cbcfcc21f1a7eecff049c9bee9c0f59f97ae"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 5 significant file(s) lose their only recent owner: chapter6/live-audio/frontend/pages/index.tsx, chapter1/learning-from-experience/game_environment.py, chapter3/contextual-retrieval/chunking.py, chapter3/dense-embedding/indexing.py, chapter4/perception-tools/src/base.py. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c6eca754c5e0991bf1f63e9db3345a09eb562c8566b88602c854df9b77c71d73"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 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 (136 single-owned of 834 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; 834 of the 1026 production source files in this repository met that bar). They are anonymized user #4 (2 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: agentbook/providers/models.py, agentbook/providers/legacy.py, chapter1/context/vis_validation.py, chapter1/context/calc_sandbox.py."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ## TODO List Management Rules: \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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbf0a346097c16d7f6e66ea6901dca97dabc872de263be128037375ea1d3ade"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: ## TODO List Management Rules: \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":"chapter2/system-hint/agent.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4823a0b61514585fd7e9c3a3dea292c64ff078bd020acb7d3361c6aa1967984a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Always add TODO management tools if enabled \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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9725f45cc36da2a9b06dee734e47723a936e5e49ed158cb920d596d37f1b81"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Show TODO updates \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":"chapter5/coding-agent/example_complex_task.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed548c21a614168551e71fe20577ae117b563ebe36e8c5a7c9b2b4ed02c7dc2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Show TODO updates \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":"chapter5/coding-agent/example_with_system_hints.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcef401324c1018d0d81cb85dcc5cd4f41678d3845e1c12def1418373c23d7d0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO list \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":"chapter5/coding-agent/system_state.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df9cf4d4c4b413d345c2f027cf1fb75dd54ccea0762b15a4f1f91565fe4cd64"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Integrate with LLM API for better summarization \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":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da52143e12ef4aa5b825bfea1feb6da1fece3492c4105ee74d9de9855370845"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Update centroid 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":"chapter3/memobase/agent.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f442f5f18450899780cd34610d8c50bce1a923076608128a3137854f0265a62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Add TODO management tools if enabled \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":"chapter2/system-hint/agent.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"40411c0850c5b2355d385ae710f2f04b103844907e3e9e4f4942994628809464"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Update TODO list \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":"chapter2/system-hint/agent.py"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f47021d7aded475ccc045e5c592c142860a1c328c1746ac6e3c011928cd116"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # --- \u6848\u4F8B 3\uFF1ATODO \u5217\u8868\u7BA1\u7406 ------------------------------------------- \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":"chapter2/system-hint/main.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b9df5269e4d08378d5649040b8e68b030dcbbe747b03be7947dbe59fae27b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO list summary \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":"chapter2/system-hint/quickstart.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0778d0670443e0c59e6612098e717ae8e0a6ff9dcd9ec17a92e769658721740b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Show first few TODO items \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":"chapter2/system-hint/quickstart.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e483034d053ff0ebe4538363773e19db4f666a65a4cd6d2ddb50e07f055a4c0e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Test TODO list operations \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":"chapter2/system-hint/test_basic.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"43578b3de81642ab4caa387db2e663efde086707f9635d606bba1a0cc690cced"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Verify TODO list state \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":"chapter2/system-hint/test_basic.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bb1e0ec67a0a4b35a30d729c6d88e6a0bca0023a9c45a01ec6cb2c21f54cba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # Show TODO list if present \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":"chapter2/system-hint/view_trajectory.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3de7b91b2cbf6127eace5d50cd80933891f6442d051d07337142e532bbbceaa"}},{"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 \u0060chapter9/browser-use-rpa/browser-use/pyproject.toml\u0060 makes this repository a deployable product (line 99)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/pyproject.toml"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"22becc0331502ea26c427673f87fcc30e2fe3926e26b176cf2a0f10c04cf4f0b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 7 comments in this file only repeat the code they sit on (lines 65, 156, 374, 409, 547, 868, 895), for example \u0022Initialize LLM provider\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01d69cec0ed6b3eaf285101fcf3eea7ac09ce604430669b6efa98e4757e5888"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 66, 81, 156, 171, 254), for example \u0022Create WAV buffer\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/asrProviders.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8c65e5fdc8347d841dc33c45d5c9d3d30a7a8ce30f59fc29cc5f2a192fd0a6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get API key from global config\u0022 repeats the code it sits on: 4 of its 5 words (api, key, global, config) are already in \u0060const apiKey = globalConfig[providerConfig.apiKey];\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/llmProviders.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fe5da4b2c7eb5544a87d4aeae4794c4693034cfae8fe855a2e1c881dc3a46a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Remove emoji from the sentence\u0022 repeats the code it sits on: 3 of its 3 words (remove, emoji, sentence) are already in \u0060function removeEmoji(sentence)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/textProcessor.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5133ff2cde7f04cd83eef34ba8c683038ca3940a0145732f80153ad0b69685"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Pronounce special characters\u0022 repeats the code it sits on: 3 of its 3 words (pronounce, special, characters) are already in \u0060function pronounceSpecialCharacters(text, isCodeBlock = false)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/textProcessor.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"887d6a81d3285b278b9c365342afec111dc9d82e2a4b9d82c4b636a52087d1cb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Pronounce numbers in text\u0022 repeats the code it sits on: 3 of its 3 words (pronounce, numbers, text) are already in \u0060function pronounceNumbers(text, language)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/textProcessor.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3018e21fb22199120157430f1a159edf12bdc984831ac7f084bbfc1c8c0a67eb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Initialize the Silero VAD\u0022 repeats the code it sits on: 3 of its 3 words (initialize, silero, vad) are already in \u0060this.initializationPromise = this.initializeSileroVAD();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/vad.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a454c3e522ba6f96f4e2f365958ec7dbab3535209e7573cc09d857ac211d8ffe"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create input tensor\u0022 repeats the code it sits on: 3 of its 3 words (create, input, tensor) are already in \u0060const inputTensor = new ort.Tensor(\u0027float32\u0027, audioSamples, [1, audioSamples.length]);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/vad.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef2124933cd6792c7f40245cecc2ff16eab12dabc8353bf26b19393dae6a0a1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create AudioContext with specific sample rate\u0022 repeats the code it sits on: 5 of its 6 words (create, audio, context, sample, rate) are already in \u0060audioContextRef.current = new AudioContextClass({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49bb42375a433783e2f612d7a05f9feeb1070ace3178527e507790eae2f025c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if getUserMedia is supported\u0022 repeats the code it sits on: 4 of its 5 words (check, get, user, media) are already in \u0060if (!navigator.mediaDevices || !navigator.mediaDevices.getUserMedia)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e28101c6f53af32d703111a7987416b24de1d1bdacbb0d5df57912b761eaaa"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (18522 LoC, 137 module-visible types across 37 directories) overshoots its size bounds. 1 of 103 build unit(s) (Python, npm) overshoot their size bounds, lowering Project Cohesion to 9.8/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pyproject.toml"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4842ad367a78941ccec73d857627e21e838b932492f4ae73cdd87ada79a9f00"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"780ef6e86c1d9643addd66cdf61264f6120a276b9f5436911caf212f5c6a1794"},"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":"9683f0286c77c27415262a46d61e9193e319f4e945a7e01a4da59da540defaf2"},"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":"9239d8ffe7e6b982efae2217fd2c01283ef3dac0beefc625e72f2a41b6faa2a2"},"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":"e6a332e7651e21b368c8446142ff253d509771cf0e150725d0d826957e89888d"},"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":"424f94189c1242710be3ed0420d17435288e4af4791eb7226bd8ce1be4bc98c7"},"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":"a765d1da20d1947e13c663bb809290b90b1d3be9396631083f7872996f78dfb9"},"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":"5f270647e3a5b47fe38a956ce3cfb1062a21192ef81288219897f493a18488a8"},"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":"71943a9703a2b7ab125bc076ec3cc7fd9838d9cefe72a7f9cbff1e6f02d2fd29"},"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":"618f14163289815beeab9c2ec300df0b8df68ff9cded5f2ae019b836b386fe0d"},"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":"934d000dd74046840d28029d003bab239ec7f3575a0ac1fa8a22d46629f8484f"},"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":"11efabba3e40ad25771180c0f59dd0058120436770d5aa012a38d3fbd20b8b05"},"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":"f078f69c7161556d9aeb73856a476343922867db61291e894707cc6b05ba3a22"},"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":"6f7a2c006545a3927efd33481999c677f20740026ecb75b6157d6553e5b3898c"},"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":"f0ed6412d6cf2724755ad3ea5e8c6419d0af3028cb1b52d55a7a2947c0dd8829"},"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":"d2de3f2bd1ca7bcd3bbe5f852100ade68e6ae14b007e0518ccbdfc0dcadea972"},"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":"c0e16b37bc2a7ccbfb2a22d15bd86bd2266efe03e97967781662bbb11e11fca0"},"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":"80828c073478d05a52dc2a34f5101b8c03fd43d60082a6107c652feb015e62e4"},"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":"5a829ac92a216d43597f54e6430a4b4c84060ff20daa0453ce2227d54ff8f99c"},"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":"07b57580e6a6fd3ff97df8ecfca1b92c71aab57f983761ebe2da37236fd442cf"},"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":"0a4440e744e705c9b9bac40161644219acfb66db03929b1cff17120aec6ce7bf"},"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":"7b3f700913d1c2e6bd22b367e86cf1006b6a8d219ebfc53192b8d425fe4407a4"},"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":"fdbca9deaa1cd3c461044e1c8afc1742654266c076aecabc764de2ed859fac3b"},"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":"9528a5458ac57e10c01c234e7ca5159ad1b3e66be7b32232ec2872a12e330647"},"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":"c88b77f87a3eb77c98362c18df1d07c05e2b1f68a904a5655e9e3b98ed570cae"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c4caf748a1c35ff8ac0618f05971d76459e6863521dc4bd8aede3d613a45baf9"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3780122046b15bd875f265019ad1131e95d9cd6075b28adf169ec3fe3d655fbc"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aff80eb98e1261fdeff857f3ff8373a341f2764e6b9fb58b1c17a970fca3a564"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"37fe6e5b9244cfdced691acaaa87baafd4a7c32ef5170fb0d0fdb99a14bbf412"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"695d7f4de7a47dfbac406b14d5103af764e10d3c0f1aeb9c1d48e8d666197502"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"541ddc8b298216d60810828937f81888bbde71c79bc2e0b0e9f0e344d32c0bc6"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"250e3bae6d0b81ebf0dd6181048080490765b0e9ad6c36faffff279447ed12dd"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73e6127454118af5b9b85e39714ff14cf751fc0ce9ca3d3639e4d5cb0709aa82"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6c6b9cd636d249d27d6d7e2a889d0b189e88bf1c9cf8b3e68e4ffd9e218fcadf"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"22934e0d023d4c7f92ed3ca1a32ddd3cb8ed77ce5ff526100f965e6038398183"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b469ac770a53c9f50beadceb5b4e9e8b0c983b1a7f4a4207d33d749c9766253d"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"adf5b9b1e8a2ba3adc4613290e224bc2d01bb7c8da27ce75fac50e87a53c4344"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"102e8713dbfe994fbbbef97b1ff27475824bbe5d2af6dd2dfe45c68182ac90ab"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"821e8966f5b764c169ef9b28871a2ad3f7bc1e46bab572f8404ab42d3ab650ab"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9d39a084e10ce4dcb0d585992dbee242affbd20b5538533f07e725aa2c9bf63"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da1bf9c68acbcbd201547c4b8b16763e25d60beda814829021828000f75a78a3"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be77d8658dc8c740531188cdb6e25fca867c38bb87f4f6c56cce7145128409f7"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a1ed3b04a7ff1b3eacef56f1f24d13e391705aa8e129dfb4e3819ecc07e53dc"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed3f5ba97f6550826cc422d7bf1f34ea2fabe93a6dd2f0cd96eced58b3ff4eb6"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bca29286551f723bffd657905960bb3cdf358032ba5c0bdf6ea8847b561d70c2"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"654b7f186bbd7f6b1d51070b86ed120946a333be74a00765166ff85cb35cac51"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f09951607455c12a1594ba01ac06da7a65ff68d501e6ea445c9938f19319f686"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f26e3c9122dd0bdd6636bc3d745c10dc7e85468d0f8571d9db4081afbc45a31e"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46be8791b3b01cadd142e4c24f3666a655f914f82044e71a0804fd8ccb53056b"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af4030c65a8ca8ce9ec9b19fdf12798e566599736495b13e591e6b831a169384"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0e357fd695ee7ea1f2c011b939e1a500af498e5727efa82d048ea15fa5218bb"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ed99df7b0e07df8143b08a988a72ab506a4924a4950ff155a8f850c1ec516676"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b51d619517a2382bc3b9be9975397754d7784bc9dd4f411427d1622a0916e2a6"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cdd08333a52da92973de2d09f453488f0ec179ef0bfd0901c166df9f05fe6480"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c59b98b2b9b23f046173e1680a8a5bc445e95009ed0dc2878d49260fe8c74be9"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"88d39c5ac837e025887836a4dcc7475a82ec220166993f6f65bc8aac18419f4b"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c01fa6dab520417022a60188cd3780027f487e04f9723a4766565c7b04abd11a"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1858269bf20e09d36bd4b4e5f819ac0ea343436489b555e09e1495164b61d8de"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e130b3d9566c6a761a03c3171a12318ebc37a4a08264a8c655115542971dd7a8"},"taxa":[{"id":"CWE-95","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6ed059458dc0d864f79fffc2c8cd3f09ac2213f256b255ba1e07734350228541"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f7b63b823639795032988728450379b872bef249d5b1a1ae5b822e9c6f6ba27"},"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":"58f746184f5a58bb5e02d0c206ffe8d226ede632bc4d01b820b78e928e6eeddd"},"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":"5fc9b9a45eb7aa334cb95e8a1170f2b83322aea1899de356ce9c1d7044f6788f"},"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":"9013e13eaa01607b619a26211d459c89ad764ca0a668cefd7d6a95dc0d506c6a"},"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":"5a4fa0d80f2b21e76a5da7e942cced11f23d7f17c0eaddfcedca541779ab2c6e"},"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":"4949a213d76dd44ad3a6f554d7938c69f61cf4eddc2d04cec658c1155bb65904"},"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":"2ac6d71165bcb6ae2132c5fdfdcecc964175005f15ebaaf60777cade92d6dde2"},"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":"5e0775d1ba77ed04436cc09f64783c807bfa9ec1f46bf07f3a463d1c3c3b6748"},"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":"7a6990cde7a20c8866e958fa2537b14c24e7426441ee61b6e7358799b43d3204"},"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":"5e39aab4ca808980122ee398a45c7c6569c17793b87a73f4a93ed572dabcf8c7"},"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":"c0bb4cd4d7d9ed6bd8881e416b68c5ade2e443bf5fb7279d886be369808792d2"},"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":"d851a45921fbc6d93b7c398089861e81c7b7e3b78fa65b9797525fc8e6230393"},"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":"c88016e4429c4f589b9304c7b9e6e707e3c67861a4d13fa3c2c7bffc91a89239"},"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":"d14fdec4c87a2ddc184adeae8f6f1f147be563edd06197ef6853c042c017da21"},"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":"de1999819026534d4acfbc9612c42f0301ed6032b3767202938cf8ef756efcbf"},"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":"f8b4b26e1ecef06cb4218928b028dc5b8a98b361a01309f883452917fe765ce2"},"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":"73ae30ac0184277856566d89187d4fa567543ed6d2efea2782ba27b62b0ab804"},"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":"8c7c13d8fe241393952b0b29f8f7bf79f28ae4508c2e46a93090d77d721d12fc"},"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":"fed3db9cef075277f3080f57fe7118e27c02dbfc2f747512c1fe0d2f5109b3ab"},"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":"f5d5d5cf8302d3d9b137160ada0ffc64250bd310f8f7d1aeb47c4263f0bf9577"},"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":"332211c9912aee809961ac69da6b72976358151c3ca37e6b7e051df515987077"},"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":"ff748363e60f8bd80f95e6a70fcfe3d152a3c528d47237cb481de755f500cde6"},"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":"df6cfb44307f531b98bafbc22ad43eb45256b4cd66a1f43d39a6e74addcbd8a3"},"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":"7bf4ceb5095f2b376402732d4e0e38e30b9b50ea689ab364813f59385f7d2843"},"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":"0165c7b81efc8876cf731e0e776aca819515c43a6667cdb2e018c395eadd2c68"},"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":"70718f65753b6ce09fa630f411fa131bb21dbb0ee94dcd6579da0516a7a2f498"},"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":"05b55defe5a1920c6f91708751e989a194498e2c6a709f57f64bb259996c9dc4"},"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":"d0a8ef3bd6e1606b2470c436b5d5b467ecac42935f261cf566e3f3535bb16f11"},"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":"b773b36418b27f10f6aacd5e0890601488383906d92609f54adbd2756abd7022"},"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":"b004393154b597507b7c61c0508131470b69c20c494c6c52cf25ab672b8a2474"},"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":"ac8524215ffc51a55c345f287e84f4cee69ce75506f546e2d8d746dd36eb0c7b"},"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":"e64a58215b7b64b59c360a654da2f76629f6ae5cdcde5c1fbc7e60460cb0952e"},"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":"d450b7438e514385879de152c7892af386835cd40bfd78569b5fcc8b2e871662"},"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":"6ad257108b97bcf1d8c5b42f966c2e54edbe01b1f8f121c899de1e4068829dbf"},"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":"ec6651e39e31b8c27ef7d47ffc9ca69c8a905412f1201614df7f88daabb9ecd7"},"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":"f868c06a4e023b77a7f64ffa4a97b8186565499037abc1993c2887eb97ce25ab"},"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":"f1b923a0731a86a5a5a4289b4454e533946ac0f76a218f47cfa66e0541bd1f6d"},"taxa":[{"id":"CWE-1333","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":"23caa87e5cb650661df47ddf7798d46f0b2f1e30b0184f69eec635c718b33129"},"taxa":[{"id":"CWE-125","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":"f5e72b13a7fc8a2717e24bf02069f0e955820b30b4a8b926215d2cb7fa4a3c14"},"taxa":[{"id":"CWE-1333","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":"6afd34556f47b698d19038a0a2d55bf3f63157377323ba8bc7902a0a29d77834"},"taxa":[{"id":"CWE-125","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":"4e5e9795777c606beb86a71eafd024e0c9b257e3c3f621bd057a8b9410997efa"},"taxa":[{"id":"CWE-1333","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":"e3848e1898d2364cb6e9a6458ac8b514e21ead932ca1b97c0022d4be09cccaa5"},"taxa":[{"id":"CWE-125","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":"eddc661b1705e4cdb07b143769f47de5967fda034fbb45f28ef0c6de990c9302"},"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":"92238c1b9db74449041357c08221a9348147d759c28f328255288c08852fdcb8"},"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":"5d69b831a65a6fe5272461e6e1a55b6bd6c13bfb672eb842e1cc354caa539b44"},"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":"3220f45e767ae5a52c047e06c36a1bd97fa60bfeafb4345714a978737b0759a3"},"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":"f4b759fd016e480e68d859f23cd6645659483784b925fbff830d5f1e54cad125"},"taxa":[{"id":"CWE-1333","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":"70a39bc6d6280eb649e892c587a5a5dfdec1e88422a22d5e550717f7375286f9"},"taxa":[{"id":"CWE-125","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":"ef59efc5e07041c545f6e9e0603483a9b787165f466bbca5c7126999df96148a"},"taxa":[{"id":"CWE-125","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":"fbfe2e8a59af3ca274c2c6086a80bb58465d600bb8d379bf3635b13253985335"},"taxa":[{"id":"CWE-125","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":"d17d709a449512b484ef73f362dc7e3676b2ab8890d142393d484b2f03095417"},"taxa":[{"id":"CWE-125","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":"6b825c5e6be41135a98853850ff17df1f84ad6eb71f2226a6a789c2198e99c7e"},"taxa":[{"id":"CWE-125","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":"5e3f5b05b1e4651b711b529147d85da86d6e36278e197e30ac7441d49ccdaf68"},"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":"0ce0e7604bc16705a03c6a8d0dd939b7494e91d5dec3f58457321250786bdc47"},"taxa":[{"id":"CWE-125","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":"a180e1d1b49e53a7ae8c6d6a6a7bb1c075679b2861b29738d53eba98332cdd28"},"taxa":[{"id":"CWE-125","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":"e7d0e3baf1146d70173ea225e07fc2d4e6b5c3ba4414c3af6241071b96d96785"},"taxa":[{"id":"CWE-1333","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":"26369aa38281d234da9501b214a9845db6ca7b50c047d78d9cff51e09de87e5f"},"taxa":[{"id":"CWE-1333","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":"f9c6cc001e55bc840f999bc357f9400d7ec32ad7f495e5f41c2c89050e0ad7e2"},"taxa":[{"id":"CWE-125","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":"303a10b367508e71a50c02ec0d3cc4119300603877ba1acdc6ccb11525d1f86c"},"taxa":[{"id":"CWE-125","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":"91b2850e6a45e5316afbdeaf4520dbff6d61f5483f493c92b30076bf2194f6c5"},"taxa":[{"id":"CWE-125","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":"47178c6f068b737bdaca4dbcca27e550f3806c1278b1bc3e3e13db56ec4a9740"},"taxa":[{"id":"CWE-125","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":"16242d089ce3ff6d9cf5a9ed005152f2d0e20e3b467d565639a752f83206cf93"},"taxa":[{"id":"CWE-125","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":"aa8fc40b1588a3bf905dd46335ae14e78ec15852a5ba4f68f3e9ff08f073342f"},"taxa":[{"id":"CWE-125","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":"215acbdf151c1a41b803048fe9dfdb044160b8a5297c32114e429e69cceffabd"},"taxa":[{"id":"CWE-1333","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":"b0213490f3ed5ebd2ad8f0c20c44004f2a8c2cdf799c372676c51f13362bbd8c"},"taxa":[{"id":"CWE-125","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":"067f3723b292f5653f90f7d23f8e17daf9f0d0bcac33d2ed234f58e80de11315"},"taxa":[{"id":"CWE-1333","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":"cd69816e084467503e99139fd5c1a81dcbd70dbe4d3877d77d2f155700ae19b9"},"taxa":[{"id":"CWE-125","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":"425701fb5441ed14449c06ed7471e3006389d881c63b74f277de9a570aee9ae8"},"taxa":[{"id":"CWE-125","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":"753b5e7c923466c002935add45ee58d3943ce517372f6192fda2bb8457903e4a"},"taxa":[{"id":"CWE-125","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":"889a0794207f939e747f1c3b76c5f15e7152b7a936565626aeadfcb35cfb47fe"},"taxa":[{"id":"CWE-125","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":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"baa6b39e5c2cf6383b42a9c6bdb1e7f90e92b4864d9d8d50841313d1c1f2d7e9"},"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":"5dd871b17e266a43d69a33adb7ff4528b4465ba05305606500d5a30c9cc8492f"},"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":"cc37313c12dca4ed6c519399d87001d33765f0eafd3b157875f6c1769796f952"},"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":"0f84607fab69a35223f7c01ad5bf25b891777d986266ecae735ac1afd6618fe8"},"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":"cc4ce5bae5540ad7689c32202881b950785da569a7f3faabed697bbf39c30232"},"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":"a732e7840ad60c080808a47a64985a90d367ab07abc04e8fdfb3b0c5ebb4956c"},"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":"6e1cbe9392e65a1f28617d188bda9508a73f1c91652c4268dbb6d3b0d25bd1fd"},"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":"f62832cf24cc744a4a65591458742cf9d733b4eee22111da02637561c909a02e"},"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":"d46909a7e378a9d102d27894b9220504a30c102b5188ef4ee35960f27d75ab59"},"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":"4f58e949ad0228fde1f552aebab33825bb3b3844657486df7ea724b30dbf5ccc"},"taxa":[{"id":"CWE-319","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":"2fc83a001a2a294f2a38704ba8f9309a5cc569b343de3e77168bef4a1fdbcbbb"},"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":"05f80331ed877a84e779c537d4b69352a3a06bb6634b3288344f917e8ce33ae9"},"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":"0671fa17fb581492c84f9942879bc1feedab1ef55fe6ecda43d7191c56b0e19f"},"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":"a21e59fda8e7e847e8bd6cbd4590fe70fe958f51f1253659a3c41255648a44b6"},"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":"297dc3642df3f8d2f16097d9f290a104a300c046a272bd7d72827d6379b364db"},"taxa":[{"id":"CWE-319","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":"e5d5dece283e047f850e1aa1711bea1ecd95b1dd9f376ca23646517398171072"},"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":"49f0c11af0689bf99228c873a8bb702e71c422ecb44b2199563f0abcc97ef49f"},"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":"5fa1240d0c4dfab1569ce4e835ab01b897268fcdb71e5c0eb24ac34b6dec7a9e"},"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":"11ef9eaa0739c40cd6a1a7b5e2d3bffb0f7fb45af02d7a8f2b5ec7a1d630f2f1"},"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":"ddc0e6338ad30474de4cf580d45c870de446fd44adca43ce51b5fa066e0856ce"},"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":"71e38be66a8b225f2513c001f5d98fa0c80653af8293fcb2f01cb375f9b29db3"},"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":"858b47f7a16d77a19660b7f575d7e53e2df7786bd1b48d468354648de15efba3"},"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":"8edfff0a83d8dc77e231dae800611a4c17c62e37a2a40b970f991225533d6df3"},"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":"0abe4193a580ea10aac24305b6537e3fa1628c64390a1358f645d75950c3f244"},"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":"b3efe4feaac09ab5acce28285e06dce0143176fb411a1d095bd2bcd5eec542cf"},"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":"4fe5d7e1d79befb13495443e9f03480174c021def8e676c8de578b9d57aa4736"},"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":"2ea645c6060018310251e216807f44546256fabd90f26d0d1853e0fdcb6e9823"},"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":"ba598a25c33290ca67bd73537ce180fd1d9ec96304ffcea4db502f34a9d9aad5"},"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":"0ebf04c1da69995f0c3ce0d9615e1fdc65fd85ae7ba1292887ebc8a812545e6b"},"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":"9240116193b881146aafc5ca3e80634d777c1ccbc776dd53dcaffca71eb0b9fa"},"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":"d006e2a637758e0f1af26d1cbe68f138df6abe3482781f4f4f71dd5ed177935b"},"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":"5c7a75d4e197d78ab0197365be50e46fb872682d57c886fbeb8237f3a3e423da"},"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":"9070433998cd67763d8fb70b50a229ce36c6c76109d4f419fe2828ba2c905a97"},"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":"365ff24c6a8203b0d066b402c8a9b19e88dfef2d96779ff69b1b98bded099be3"},"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":"11aaf5826751e743ef4f3531c828353dde1865a2cb2fc3984a2845513378b83e"},"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":"9f2399bf04b9c123ef6c59972d5471d31b854486ff4e0ed0bb2cfa5dfabc0944"},"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":"ec9c4349478ca3b04fa8a611198fde4f1d47bf7ae95dca5f158c4d50159b103f"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"117609091aaa5450fa4cd417e79760308902bbc61255f178fb6ae2b5ba80c334"},"taxa":[{"id":"CWE-939","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f2a90f0f69d02c58b79d8be33fa5216c5fa27c301d61e9a4888f9df7f163fb6c"},"properties":{"dependency":{"package":"nltk","version":"3.6.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","PYSEC-2021-859","PYSEC-2022-5","PYSEC-2024-167","PYSEC-2026-2078","PYSEC-2026-2085","PYSEC-2026-2235","PYSEC-2026-2236","PYSEC-2026-2237","PYSEC-2026-3581","PYSEC-2026-3582","PYSEC-2026-3583","PYSEC-2026-3584","PYSEC-2026-3657","PYSEC-2026-3722","PYSEC-2026-3723","PYSEC-2026-3724","PYSEC-2026-3728","PYSEC-2026-3729","PYSEC-2026-3730","PYSEC-2026-3731","PYSEC-2026-3732","PYSEC-2026-3733","PYSEC-2026-3734","PYSEC-2026-3735","PYSEC-2026-3736","PYSEC-2026-3737","PYSEC-2026-3738","PYSEC-2026-3739","PYSEC-2026-3740","PYSEC-2026-3741","PYSEC-2026-3748","PYSEC-2026-3749","PYSEC-2026-3750","PYSEC-2026-3751","PYSEC-2026-3752","PYSEC-2026-3868","PYSEC-2026-3869","PYSEC-2026-3870","PYSEC-2026-3871","PYSEC-2026-3954","PYSEC-2026-3955","PYSEC-2026-4318","PYSEC-2026-597","PYSEC-2026-96","PYSEC-2026-97","PYSEC-2026-98","PYSEC-2026-99"],"reachability":{"kind":"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":"cd58457ea4a7602d84ebb6f2a732562a9da429a3e4d46f58eba0d9b734288216"},"properties":{"dependency":{"package":"vllm","version":"0.6.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-2025-222","PYSEC-2026-3403","PYSEC-2026-3404","PYSEC-2026-3405","PYSEC-2026-3407","PYSEC-2026-3408","PYSEC-2026-566","PYSEC-2026-568"],"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":"38745ff98f2ccc004e6b95efeccd76fdeb3aef20020869d4e1a71c90dc1f2ae7"},"properties":{"dependency":{"package":"chromadb","version":"0.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","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":"aa881a57d3ec7202378c018a744e20e92e3878bd4497f778268dd190fda40348"},"properties":{"dependency":{"package":"torch","version":"2.1.2","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2024-31580","BIT-pytorch-2024-31583","BIT-pytorch-2024-31584","BIT-pytorch-2024-48063","BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2025-2999","BIT-pytorch-2025-3000","BIT-pytorch-2025-3001","BIT-pytorch-2025-32434","BIT-pytorch-2025-3730","BIT-pytorch-2025-46148","BIT-pytorch-2025-55551","BIT-pytorch-2025-55552","BIT-pytorch-2025-55553","BIT-pytorch-2025-55554","BIT-pytorch-2025-55557","BIT-pytorch-2025-55558","BIT-pytorch-2025-55560","BIT-pytorch-2026-24747","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","PYSEC-2024-250","PYSEC-2024-251","PYSEC-2024-252","PYSEC-2024-259","PYSEC-2024-328","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2025-193","PYSEC-2025-194","PYSEC-2025-195","PYSEC-2025-198","PYSEC-2025-203","PYSEC-2025-204","PYSEC-2025-205","PYSEC-2025-206","PYSEC-2025-207","PYSEC-2025-208","PYSEC-2025-209","PYSEC-2025-41","PYSEC-2026-139","PYSEC-2026-1856","PYSEC-2026-1970","PYSEC-2026-2286"],"reachability":{"kind":"production","file":"chapter3/retrieval-pipeline/evaluate.py","line":197}}}},{"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":"fad23468ff255585ad87e6eda7618fe339e6cf3fa06d2507081a4c03e682ec04"},"properties":{"dependency":{"package":"sentence-transformers","version":"2.2.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4164"],"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":"a83bddbde54bb247d176a411fbd9c788ee7398fdd256003e6fd23bca165d87a6"},"properties":{"dependency":{"package":"vllm","version":"0.6.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-2025-222","PYSEC-2026-3403","PYSEC-2026-3404","PYSEC-2026-3405","PYSEC-2026-3407","PYSEC-2026-3408","PYSEC-2026-566","PYSEC-2026-568"],"reachability":{"kind":"production","file":"chapter8/prompt-distillation/create_data.py","line":175}}}},{"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":"cd9c2514db22b580daf04aea8447f1a620c0b229b4bcabab7616b85d29dfbdca"},"properties":{"dependency":{"package":"authlib","version":"1.7.2","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-4354","PYSEC-2026-4355","PYSEC-2026-4356","PYSEC-2026-4357","PYSEC-2026-4358","PYSEC-2026-4359","PYSEC-2026-4360"],"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":"40f6f0dd83f1334879185cb24d5c30e29ab3158e829c25328b783d35e22fd139"},"properties":{"dependency":{"package":"brotli","version":"1.2.0","advisory":"[GHSA redacted]","aliases":["BIT-brotli-2026-111497","BIT-dotnet-2026-111497","BIT-dotnet-sdk-2026-111497","BIT-node-2026-111497","BIT-node-min-2026-111497","BIT-powershell-2026-111497","[CVE redacted]","[GHSA redacted]","GO-2026-6888","PYSEC-2026-4322","PYSEC-2026-4323"],"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":"c39221e7a57c94c8668f293a52beb2217070a9b1a940bee5edd4b6b0b226af4b"},"properties":{"dependency":{"package":"certifi","version":"2026.7.22","advisory":"[GHSA redacted]","aliases":["PYSEC-2026-4320"],"reachability":{"kind":"not-imported"}}}},{"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":"790398186016ffa7a77342ba1c52145de710c8346d03016a5818e0fc0e2228f4"},"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":"09eef8b6625b25738f8700358b71be29a093fcfe59905926f2178ad3d178132f"},"properties":{"dependency":{"package":"pillow","version":"12.3.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-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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[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-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":"production","file":"chapter4/perception-tools/run_experiment_4_2.py","line":180}}}},{"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":"041ce66dfaf19f7320f95af54b0addd19bef1651ee4639465d26bbef12a137a0"},"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":"not-imported"}}}},{"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":"d54a23b5b5a8f53bf2587cf29d60ec4ca03dcc2dd2014fe4ffd673d4f36b7ee7"},"properties":{"dependency":{"package":"next","version":"14.0.4","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA 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":"7ae8635d2db7ab8f54f1bb81ad2fce160bd96ee81d0237469b1a2668a64a5180"},"properties":{"dependency":{"package":"dompurify","version":"3.4.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE 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":"410a17cede1bbd6e32c78c9e272907462b50288e50a0bcdf8769fd3eb577b437"},"properties":{"dependency":{"package":"form-data","version":"4.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"chapter6/live-audio/backend/utils/providers/asrProviders.js","line":2}}}},{"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":"fffabfc5dc2d7c61c5975a40f7daa97b6d8845843125b76b43e988c5ed07f792"},"properties":{"dependency":{"package":"proxy-addr","version":"2.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"a396d2cb6c784250883e9f93b41d656f12e7a1fb0daa63306657af6b5b1ae3d5"},"properties":{"dependency":{"package":"next","version":"13.3.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]","[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]"],"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":"fd5106eeebe52c4d6e2f60f65b21c17154ba25f3065a27ea238a119ae881e211"},"properties":{"dependency":{"package":"dompurify","version":"3.4.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"cede1381ac44a23d1786505546f569abff0714cd1c3870c2b9bf60dd9826c40f"},"properties":{"dependency":{"package":"litellm","version":"1.41.0","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-1543","PYSEC-2026-4068","PYSEC-2026-4069","PYSEC-2026-4071","PYSEC-2026-4072","PYSEC-2026-4073","PYSEC-2026-4074","PYSEC-2026-4075","PYSEC-2026-4076"],"reachability":{"kind":"production","file":"chapter2/prompt-engineering/ablation_agent.py","line":12}}}},{"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":"55430ddcc3f3eeb35d09e23fcb96041603d5fd818062f54fbe8148fd53d97244"},"properties":{"dependency":{"package":"python-multipart","version":"0.0.9","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-1851","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":"25e08988ae1f36ce58af83c74d2eb19fdd1423dde49c28d3c2360c303e26d28b"},"properties":{"dependency":{"package":"transformers","version":"4.36.2","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[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-2024-227","PYSEC-2024-228","PYSEC-2024-229","PYSEC-2025-211","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2025-40","PYSEC-2026-1977","PYSEC-2026-1978","PYSEC-2026-1980","PYSEC-2026-1981","PYSEC-2026-1982","PYSEC-2026-1983","PYSEC-2026-1984","PYSEC-2026-1985","PYSEC-2026-1986","PYSEC-2026-1987","PYSEC-2026-1988","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929"],"reachability":{"kind":"production","file":"chapter3/retrieval-pipeline/evaluate.py","line":198}}}},{"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":"cdee0d8b08f679909955723b98cbc79c97f68ca04580535308cff81eb78ab1ab"},"properties":{"dependency":{"package":"aiohttp","version":"3.9.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[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-1098","PYSEC-2026-1099","PYSEC-2026-1100","PYSEC-2026-1101","PYSEC-2026-1102","PYSEC-2026-1103","PYSEC-2026-1104","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":"4be67c408aebe60e5e2a32b7c8b362fa84bb46bd0b473c6b7975e967bea224c7"},"properties":{"dependency":{"package":"python-multipart","version":"0.0.6","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]","[GHSA redacted]","PYSEC-2024-38","PYSEC-2026-1850","PYSEC-2026-1851","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":"d69a5ecb5cab2803fc2e0730b9dfd6db96280dfd66beaf465b5ced9eb31aa3b0"},"properties":{"dependency":{"package":"python-multipart","version":"0.0.6","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]","[GHSA redacted]","PYSEC-2024-38","PYSEC-2026-1850","PYSEC-2026-1851","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":"c505d966ab8a6756d64e8f3e49f615ce4c780d9a1b277c50fd3db240409b2736"},"properties":{"dependency":{"package":"transformers","version":"4.51.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]","[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]","PYSEC-2025-211","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-1977","PYSEC-2026-1980","PYSEC-2026-1981","PYSEC-2026-1983","PYSEC-2026-1986","PYSEC-2026-1988","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929","PYSEC-2026-4174"],"reachability":{"kind":"production","file":"chapter6/end-to-end-speech/speech_model.py","line":75}}}},{"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":"08757f2084ec2ad5b844728520a0645aad7ce64c20d3c4f322b8ad601faddf04"},"properties":{"dependency":{"package":"transformers","version":"4.55.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-2290","PYSEC-2026-4174"],"reachability":{"kind":"production","file":"chapter8/MultilingualReasoning/gpt_oss_20b_sft.py","line":31}}}},{"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":"345de823d5e97f61cbc42e7eeb5e552d8c9ec494b09666d42e78d97ca0c5b8bd"},"properties":{"dependency":{"package":"transformers","version":"4.48.3","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]","[GHSA redacted]","[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-211","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2025-40","PYSEC-2026-1977","PYSEC-2026-1980","PYSEC-2026-1981","PYSEC-2026-1983","PYSEC-2026-1984","PYSEC-2026-1985","PYSEC-2026-1986","PYSEC-2026-1987","PYSEC-2026-1988","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929"],"reachability":{"kind":"production","file":"chapter8/cot-distillation/evaluate_student.py","line":117}}}},{"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":"2ebedd0591d42b6b2a60bed30a6ebfd5d599519d01c93cece94b82cb67009aaa"},"properties":{"dependency":{"package":"transformers","version":"4.55.4","advisory":"[GHSA redacted]","aliases":["[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]","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929","PYSEC-2026-4174"],"reachability":{"kind":"production","file":"chapter8/orpheus/orpheus_sft_unsloth.py","line":244}}}},{"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":"944786108dbaf1fa271e6970e66fcdfe849d4a666e7845dfc6cab4336121ded9"},"properties":{"dependency":{"package":"transformers","version":"4.52.3","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-211","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-1980","PYSEC-2026-1981","PYSEC-2026-1983","PYSEC-2026-1988","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929","PYSEC-2026-4174"],"reachability":{"kind":"production","file":"chapter8/sesame/batch_inference.py","line":18}}}},{"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":"d0f066740cfceaa04bcf2121019acbb6f68664131137d67076b3e41b173b92fd"},"properties":{"dependency":{"package":"transformers","version":"4.57.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-217","PYSEC-2026-2288","PYSEC-2026-2289","PYSEC-2026-2290","PYSEC-2026-3929","PYSEC-2026-4174"],"reachability":{"kind":"production","file":"chapter8/speech-sft-experiment/analyze_campaign.py","line":17}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a848c382c8b8d7071a123cc620adc049527f5e7c02d12e6b43294a21f8ace908"},"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":"production","file":"chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/local_browser_watchdog.py","line":360}}}},{"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":"006bc09fe1c8f368204de0316eff374aa31b7c81c27de1cd301ae024f2a90b4d"},"properties":{"dependency":{"package":"cryptography","version":"49.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3552"],"reachability":{"kind":"not-imported"}}}},{"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":"4d55eb5e10fbe2eebac3cecc6f1c6c6c29fa6ca98a738924e23ab582305d2b6f"},"properties":{"dependency":{"package":"dnspython","version":"2.8.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"1cd5edb55bbbb627ab2f3a485a1a65f2b7d9e94a298b940d9d0c04d4a4bc987f"},"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":"10e04b22e35243729294f2c63d26777ab5e2f09392f1c7f89a239026644367c0"},"properties":{"dependency":{"package":"fsspec","version":"2025.3.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":"aed0f6944c1dc195949f2b036dd27c2be50863ae8fe274ba3ea5b4781e348ef2"},"properties":{"dependency":{"package":"joserfc","version":"1.7.4","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":"8c33e63fe868bc80622edcb53fc1833c32728687bef646b79090ec6bad08ecd7"},"properties":{"dependency":{"package":"litellm","version":"1.94.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-4066"],"reachability":{"kind":"production","file":"chapter2/prompt-engineering/ablation_agent.py","line":12}}}},{"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":"c1d807ddde70d05174a461feae67661d08baf94c693ec158bba281ad7710b8ee"},"properties":{"dependency":{"package":"msgpack","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"bf8340270d2b3fb1a57f602bcd16aecce08e99e17c81358c8b19d43602534801"},"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":"not-imported"}}}},{"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":"5102fe556f3399b622dcd81c118f7d1308c1374fbd00ede44c01babfc78c0a23"},"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":"not-imported"}}}},{"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":"b49b20d26e984334ad34ba49e1ce4cd19309dab5e247cf38780a6c9976b89b30"},"properties":{"dependency":{"package":"pypdf","version":"6.14.2","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]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[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-3655","PYSEC-2026-3656","PYSEC-2026-3910","PYSEC-2026-3911","PYSEC-2026-3912","PYSEC-2026-3913","PYSEC-2026-4153","PYSEC-2026-4154","PYSEC-2026-4155","PYSEC-2026-4156","PYSEC-2026-4157","PYSEC-2026-4158","PYSEC-2026-4159","PYSEC-2026-4160"],"reachability":{"kind":"production","file":"chapter1/context/agent.py","line":14}}}},{"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":"c5edc0ec9e0f535342ada95ecc0efcbfe4f1ed6560267b94d06cbf1fa94b95ad"},"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":"c93583bce507cdc8b5d635055baacf046a35f1745681e7696113e7b10148f818"},"properties":{"dependency":{"package":"transformers","version":"5.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2026-3929","PYSEC-2026-4174"],"reachability":{"kind":"production","file":"chapter2/attention_visualization/agent.py","line":14}}}},{"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":"f268873f65bdaa9fa0eb6931555627e85a8ff8143ca35ae482b4a7d5ea5ae3e9"},"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":"not-imported"}}}},{"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":"5f9679807a58ace8c726ef1721c8bae91b8fc0873e475974fda09f7dbf01afae"},"properties":{"dependency":{"package":"vllm","version":"0.26.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]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[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]","PYSEC-2026-3935","PYSEC-2026-3985","PYSEC-2026-3996","PYSEC-2026-3997","PYSEC-2026-3998","PYSEC-2026-3999","PYSEC-2026-4000","PYSEC-2026-4003","PYSEC-2026-4004","PYSEC-2026-4005","PYSEC-2026-4006","PYSEC-2026-4007","PYSEC-2026-4008","PYSEC-2026-4178","PYSEC-2026-4184","PYSEC-2026-4186","PYSEC-2026-4197","PYSEC-2026-4198","PYSEC-2026-4199","PYSEC-2026-4306","PYSEC-2026-4307","PYSEC-2026-4308","PYSEC-2026-4309","PYSEC-2026-4310","PYSEC-2026-4319","PYSEC-2026-4324","PYSEC-2026-4325","PYSEC-2026-4344","PYSEC-2026-4345","PYSEC-2026-4346","PYSEC-2026-4347","PYSEC-2026-4348","PYSEC-2026-4349","PYSEC-2026-4353","PYSEC-2026-4361","PYSEC-2026-4362"],"reachability":{"kind":"production","file":"chapter8/prompt-distillation/create_data.py","line":175}}}},{"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":"8584f0c9336d6abab33edd1daf212a928af16f14ae05357cc694e8856500c0de"},"properties":{"dependency":{"package":"image-size","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"d7fdfaa1168dcc3649aea2a227151d0e689acce94cc40eb3bbf625c45f105a26"},"properties":{"dependency":{"package":"sharp","version":"0.35.3","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":"254f3fe1d1b5af00ce9e3def32f27686eac4a1dc5ed9715f796ee7d8bf1a6e01"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.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]"],"reachability":{"kind":"not-imported"}}}},{"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":"72c242ed719f8eccacbe1f6d8d490142434c7d82eee08a7c095fc0969dd12371"},"properties":{"dependency":{"package":"minimatch","version":"9.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"550f5af4ccb7fc5bfe38c74c92c195590eae17d4c765bfe293f06a9e7d629d35"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","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]"],"reachability":{"kind":"not-imported"}}}},{"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":"fcfdf35ddc3c26e934171aca9455472ca695862c5dc6b175e3affb048ecc6580"},"properties":{"dependency":{"package":"browserslist","version":"4.26.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"0ec3db30a3391508fa0432460b2a43c8b6605356943a92594054b9b0089dea16"},"properties":{"dependency":{"package":"flatted","version":"3.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"f5226302555c8925eecdaf0ebb191cca997b47357cd1feaf7a84db86e8c60c2a"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"a2ffb234b09fd174428e9758c886ba2134c80e608278e5d30a29b74a847fc989"},"properties":{"dependency":{"package":"lodash","version":"4.17.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"e48055a43978ca55e41b0418c9da22e4964312be864b0a2121114ba7ac682e4f"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"acc8c3c428d7c30b25db3a8c4109503b9836ed624e3a12550fdfe19fc69689fd"},"properties":{"dependency":{"package":"nanoid","version":"3.3.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"174d502ead15f24681c676f793473308a203286ebd581a37f17daaa0aced80d2"},"properties":{"dependency":{"package":"postcss","version":"8.4.31","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"chapter2/attention_visualization/frontend/package.json"}}}},{"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":"c99938a7d5bd92e2e27fad2a0e0dcc7e5bdd47c158e9bb835ccefb27606e5146"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"3f6f159d61db6dd76bd9eb06ccc2fb52e417543a3a2bef400b051bc7e562c16b"},"properties":{"dependency":{"package":"postcss","version":"8.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"chapter2/attention_visualization/frontend/package.json"}}}},{"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":"ace7ddeef9a2348d59c7dc1ef9bffde033a372007677ca1cb1840d351f85a0f3"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"c239c5824bde1a0bdaa0850d250a005bec4d1545f12988c2f6e7f21b06535fdb"},"properties":{"dependency":{"package":"glob","version":"10.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"21dcb3a97427b031e14854c1c74fdb4935f767188e710e8ed8012b7855a3e04d"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"6aef516c30ada7f0cfc032bb20ca9b106ace1600245f1e24a46b7b813550a5e4"},"properties":{"dependency":{"package":"picomatch","version":"4.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"9337e9e649b206e3c9ab0208afbbc8d9f2f98cccccc955b9cb4051e6fae8b110"},"properties":{"dependency":{"package":"browserslist","version":"4.28.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"927c2d97b5259f24660f157c58c4468e4e38f9c8b30b6ae161937cb15ad79140"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"5e87b6cd36c9609da79ef995549387de30a584fdc21f65c5fa5296636d0841a4"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"a7e44e3e6b05fb41cc409ba8795a0ba42a63c0b4d72420aa6374f99c71714371"},"properties":{"dependency":{"package":"vite","version":"6.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"chapter5/conversational-ui/frontend/vite.config.js","line":1}}}},{"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":"18b8feb7dacc3a0442dc131854a716e07f90d6bb285b7257addb3a52bee1286c"},"properties":{"dependency":{"package":"browserslist","version":"4.28.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"3433584b79802eb953ef803eeb5e353670bbdaacde422158512bc8dde1cc92de"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"a9805b63a59c4d45af96936b198372b2570e337a2dc3d7b2e007f7be58ebcbdd"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"2f70e0060dcb994f885a10a944728362b15f81e3af8ed7a443e3c3ae1bd38722"},"properties":{"dependency":{"package":"vite","version":"6.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/frontend/vite.config.js","line":1}}}},{"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":"1ae6b893afce5a3659934097866aac67f4b48a7b2a2b1a6b93ac4ffb6e4be69d"},"properties":{"dependency":{"package":"browserslist","version":"4.28.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"6870317d0bf13baba0c4dbaf362be7ae172a7c957addf2298510b6774d03259a"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"38cfe9c4c7dadebd6a3e7a88ecc5d501592d0861fdd35a130b8a183ea6fac7af"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"d8233c116d07feecaabc99256a41979ce2913af1e6a463606bfddf0202114096"},"properties":{"dependency":{"package":"vite","version":"6.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/frontend/vite.config.js","line":1}}}},{"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":"8093fcad07fe645a0f78db926ba98387c85259a699f92d26aade84a1fca9982c"},"properties":{"dependency":{"package":"browserslist","version":"4.28.6","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":"b26250778f451cb4a9bc04390936edde84b44721881173cb19cb295872eb1db9"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","advisory":"[GHSA redacted]","aliases":["[CVE 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":"c1250dee4e803d0c1ac0c3cc78de57d89ac9a9154543a1797af763b58cd8d7d9"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE 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":"74cb053a29e180f1b21baf320284ccc08805befbb55397f57999528d5d60fdbc"},"properties":{"dependency":{"package":"vite","version":"6.4.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE 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":"c64397e1a1a8348206cbac73682cf0517dd10160d9d0c7c97c5fa2c91bfb39cc"},"properties":{"dependency":{"package":"markdown-it","version":"14.3.0","advisory":"[GHSA redacted]","aliases":["[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":"aea556c982f95841ea2c0f8de9a69323011109e277114eeabba3ae6b425b268b"},"properties":{"dependency":{"package":"axios","version":"1.18.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]","[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":"c24de1eff4be26cc8eadbc46138516d4fc1f10487861cc3480b9c23e647f2ee3"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE 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":"f0a2a8f4731535eca827f75f8a9fa1a2e8eff79bd9efe583f12380c3efa1fb12"},"properties":{"dependency":{"package":"vite","version":"5.4.21","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":"63a478c222071d4b759856625582caab6175dd6ffe170b4c81788ab9a3f35b7c"},"properties":{"dependency":{"package":"@vue/server-renderer","version":"3.5.40","advisory":"[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":"aeddb9da95a5e6fd2320d2dd23868949bf7e665c987010c8345bf42cc53a706c"},"properties":{"dependency":{"package":"browserslist","version":"4.28.6","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":"53ebe0812f444798cef5730e3ba87209f5898f39764806c73c768347dc86e799"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE 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":"cf2d6446f0a5545b7a47fe75e16bee266a00691c3965c2fd1be0ddb71826fb20"},"properties":{"dependency":{"package":"js-yaml","version":"3.15.0","advisory":"[GHSA redacted]","aliases":["[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":"c6e9ad74c4b655b9f24389a6ff9507c67ff2f59c8fa8e109d055da99e7304d9b"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","advisory":"[GHSA redacted]","aliases":["[CVE 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":"f604626eaf45a88c6d8c51431ebbfee09f17ecb8b7ad9283a11191ca44a386c9"},"properties":{"dependency":{"package":"image-size","version":"1.2.1","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":"414bd638007dd97be6c0d85764a387849dea9a4ce5e635dcd2d1cfbd0a32c23d"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE 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":"cc2f37ec9e95bf3235141d41e53f6f44973045341e38ef839635585b555cbe94"},"properties":{"dependency":{"package":"adm-zip","version":"0.5.16","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":"not-imported"}}}},{"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":"24c4484e79059d21783026e1628ae4ef9ca4f411a8a649b67d9dd1db3285d158"},"properties":{"dependency":{"package":"axios","version":"1.7.9","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]"],"reachability":{"kind":"production","file":"chapter6/live-audio/backend/server.js","line":4}}}},{"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":"192e0ad84eb5a48649ea797600a1be5aa9c8fa51f12d41768f73853f4457f859"},"properties":{"dependency":{"package":"body-parser","version":"1.20.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"84a39b8d09b5ea13d7bf4cd75e90d9d036768cae41dcc8553901b94a09d701f2"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.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]"],"reachability":{"kind":"not-imported"}}}},{"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":"886cfc311a800d604d937e552312ad6a7ab66f670fc52317c7c82815e0eaf7be"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"e46fe0e1fa0ae4648ae45c6a273ea638306d5755c8d16af41a5e34f9ef65c831"},"properties":{"dependency":{"package":"minimatch","version":"5.1.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"c001ca53dea74e90521e83db2ad4384440df950a817f9ea15420dd8a9586e5eb"},"properties":{"dependency":{"package":"path-to-regexp","version":"0.1.12","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"44d5e0f877b24a4f5b78588b05402d7a71fb3d77a7a5208b29aedd9cd1e6be33"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"730620355a7964130bb21c1d6c2ec6bf3734fcc61f0712d3e63de9bf3b7a81eb"},"properties":{"dependency":{"package":"serialize-javascript","version":"6.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"006953d14a620b863155e03f99f1f0ffe9f49f7ef1b855ffdafcb9a6440141ba"},"properties":{"dependency":{"package":"ws","version":"8.18.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"chapter6/live-audio/backend/server.js","line":3}}}},{"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":"07189c53edf2ef8296daed0275a30073d733291525cb326c015bfea526287198"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.12","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]"],"reachability":{"kind":"not-imported"}}}},{"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":"19f63549b5ffeb60b7ecd37949c65177bbad2bb8301c23141ea5bee12519cf2c"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"2b7156f2a02402eb13421c5581e43926baf8dadac0e54a0a11d8ddcf2d773857"},"properties":{"dependency":{"package":"brace-expansion","version":"2.0.1","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":"not-imported"}}}},{"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":"ba62ce7720439960758939b5a5e374c6060b033cccf481ddea384d2e3a7b477e"},"properties":{"dependency":{"package":"browserslist","version":"4.24.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"ba1366bd1933fd6385191282748ec90d4457f9da08134e94e1cd8616ea18eb78"},"properties":{"dependency":{"package":"flatted","version":"3.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"c71d77d08eedc3d8cca9755ba46bcb0c758737461303ebe6b50a75fba23fac6f"},"properties":{"dependency":{"package":"glob","version":"10.4.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"1514527a16ad6db546b17f3f75662b4e484da9547d5903e7ccb32564221aebb1"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"b184c768bd90ae7a217bb6f279df7fd51340fa133ec817be1888f70a6884cc4f"},"properties":{"dependency":{"package":"minimatch","version":"9.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"5d83a73137f65835bb90e7fc827178032e24f980790b7d0fd685fef001974d1e"},"properties":{"dependency":{"package":"nanoid","version":"3.3.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"d6802aa942c50d8b5309765fdcbd4e01314281482090c1c886ffcd16dba6e197"},"properties":{"dependency":{"package":"postcss","version":"8.4.14","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"chapter6/live-audio/frontend/package.json"}}}},{"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":"0b8a7a9173b756b88fc6b62656020852317e092a339215f247c100c25967ee1b"},"properties":{"dependency":{"package":"picomatch","version":"2.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"4af5f305ac8f1dc13cdfb28751b5697dee1b3b1995e365866d14fc8f63e356b2"},"properties":{"dependency":{"package":"postcss","version":"8.5.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"chapter6/live-audio/frontend/package.json"}}}},{"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":"758361363d182e87897f652183f49e6648116ab65f510eb26556c7ac0b5f7096"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"ee6cb30822b891e4155b61736ab3357072a3e0b9beef2cd682980ada4e2a31e2"},"properties":{"dependency":{"package":"picomatch","version":"4.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"888cc820bbf8ba992a4997329acaffcd333f2a83a1d112e8707787c69f6cbe03"},"properties":{"dependency":{"package":"@vue/server-renderer","version":"3.5.40","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"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":"1dc6cca9966641250d96cfc5bc14840b09ace645fbdbd5f693419dd048b5edd2"},"properties":{"dependency":{"package":"axios","version":"1.19.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":"2491cad22d665b980b6b826a1cc45e97f16a6288d24892b5c559f65ce62d6cb6"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"640e553013612b57d5fa7a0617d6e0c53c9e76e10479355123a670b0d701a8c2"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"8a920ea880b7a2dcbce8d7785b0e2368d6283c3ea2b05816d5f8efb7f700ee79"},"properties":{"dependency":{"package":"image-size","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"090fdeb37b7e249395380ea7c981d3e8556203f5a97612fbe58e11c5af251cf0"},"properties":{"dependency":{"package":"js-yaml","version":"3.15.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"7415de0bfe089d687e0e45d656a259ee6a44e9c4638222f6a06ba949ddb8d8bb"},"properties":{"dependency":{"package":"markdown-it","version":"14.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"3192e467af3fc7be7fb4dd5dc970583e05fdea3e9ee2cbaf1411dcd35503647b"},"properties":{"dependency":{"package":"nanoid","version":"3.3.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"77475c5a9b8162b254af04a8fb1450ee9a64cd7a07b0f08436b6484c18c34f91"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"c3e9dd57e5811f5476d4d5e258b5667f079bfaf071de5025338a8d795e551eb8"},"properties":{"dependency":{"package":"vite","version":"5.4.21","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":"995829c29e6e1af94a929f3c03357bf8e35afc03c4bf99f8b949ec9f62f2d419"},"properties":{"dependency":{"package":"devalue","version":"5.9.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]"],"reachability":{"kind":"not-imported"}}}},{"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":"c15e81ae9720b7cfb474ac7068732f808cec7cc06fec66f29b3f3f5336d247ac"},"properties":{"dependency":{"package":"sharp","version":"0.35.4","advisory":"[GHSA redacted]","aliases":["[CVE 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":"0dde018b58b93a4a69e505cd7f010daa1f7e41585a18b018997c87ede9215fb5"},"properties":{"dependency":{"package":"source-map-js","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"f5f4e496b45effe61b5ba7679961863ecc798e89d11c71f94bbb89664d0f8c75"},"properties":{"dependency":{"package":"undici","version":"8.10.2","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":"not-imported"}}}},{"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":"30eef2f9f9dba91dcbc9373f295c429bd3a040570d7f428eb1a9f1d8d06ff0ec"},"properties":{"dependency":{"package":"vite","version":"8.2.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]"],"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":"5473285060e6b4b6435446f399459bf5891b9480b15bd1bd813b3072c92e310b"},"properties":{"dependency":{"package":"zod","version":"4.5.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"65d2626d7dcb132461f16d790386348e67d5331d5b6836c81442f9aee4c1e53e"},"properties":{"dependency":{"package":"scikit-learn","version":"1.3.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2024-110"],"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":"4b1abd18e2107cbaf1aef5e48f0a1fb727b8a1f257cd002816695c1dc2bcb9c1"},"properties":{"dependency":{"package":"selenium","version":"4.8.2","advisory":"PYSEC-2023-206","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":"1a1a9ffba95c9d4bb361e4de4a9718cb9afb5444d262c87e0ed9a9c1a211cf0e"},"properties":{"dependency":{"package":"pytest","version":"8.4.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1845"],"reachability":{"kind":"test-or-tooling","file":"chapter10/generative-agents/tests/test_judge_plausibility.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":"dd1e760f61563904f9cb3db3787bb1d638c37a9f045ee5baa6a899a2f21d6a7a"},"properties":{"dependency":{"package":"torch","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2026-139"],"reachability":{"kind":"production","file":"chapter2/attention_visualization/agent.py","line":8}}}},{"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":"5ebef8351f29ef4461ff24a964905e0fae0fb4ec78bec1ec38c7a93a42324f26"},"properties":{"dependency":{"package":"transformers","version":"4.35.0","advisory":"PYSEC-2025-211","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-2290"],"reachability":{"kind":"production","file":"chapter2/attention_visualization/agent.py","line":14}}}},{"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":"b392a98abaef4981f2c0fdf252e119a40454a6b4c385c402047f0997d2dd1a59"},"properties":{"dependency":{"package":"accelerate","version":"0.25.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3804"],"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":"5f95bb7ee1db41d6c495e12871ed5d97ac412328a536f38636aa5623e71b28e3"},"properties":{"dependency":{"package":"pypdf2","version":"3.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1835","PYSEC-2026-3008"],"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":"22cf02bb2ea5503d415486eba6cb914b6d2f1d915acdc23aab332e681d2953e5"},"properties":{"dependency":{"package":"torch","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2026-139"],"reachability":{"kind":"production","file":"chapter2/local_llm_serving/check_compatibility.py","line":61}}}},{"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":"4ecd7a7f119c72a62b7074ecd4d229c6f65f1ba867acd395311badd5f8a7f775"},"properties":{"dependency":{"package":"transformers","version":"4.36.0","advisory":"PYSEC-2025-211","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-2290"],"reachability":{"kind":"production","file":"chapter2/local_llm_serving/run_experiment.py","line":25}}}},{"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":"10317ceb864531e67812ca61bc7af5954326520cc04d435768bb3ab1d45de0ef"},"properties":{"dependency":{"package":"torch","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2026-139"],"reachability":{"kind":"production","file":"chapter3/dense-embedding/benchmark.py","line":52}}}},{"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":"ed5f7107e77a4a674ae51ba4a71b9c5e9adf23d64b3b072d94ca4b9e434d7bd0"},"properties":{"dependency":{"package":"transformers","version":"4.36.0","advisory":"PYSEC-2025-211","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-2290"],"reachability":{"kind":"production","file":"chapter3/dense-embedding/benchmark.py","line":53}}}},{"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":"dcf3c2dab778a8d37ac3ca13686fe85dbd00539395f89d9f79be46749654ab26"},"properties":{"dependency":{"package":"python-dotenv","version":"1.0.0","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":"86be85b4fd72fc823ef69f136daa16dc4f46535fa38cc1ef1718cc6d9e222485"},"properties":{"dependency":{"package":"fastapi","version":"0.109.0","advisory":"PYSEC-2024-38","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1850"],"reachability":{"kind":"production","file":"chapter3/retrieval-pipeline/main.py","line":7}}}},{"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":"92f59ca6b4739f016bd00408fc61529f8d1212d573cfe0a4ade1cd68c96ad75f"},"properties":{"dependency":{"package":"tqdm","version":"4.66.1","advisory":"PYSEC-2026-1976","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"chapter3/retrieval-pipeline/reranker.py","line":14}}}},{"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":"8fe13290156e02b1d69d77d1c7cc2256de18bd55b75adc5f57e1537abe18f17f"},"properties":{"dependency":{"package":"fastapi","version":"0.104.1","advisory":"PYSEC-2024-38","aliases":["[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1850"],"reachability":{"kind":"production","file":"chapter3/sparse-embedding/server.py","line":6}}}},{"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":"15531410355ebd660617c9b55780431fbc2e44d018904b8b07c62605116856d8"},"properties":{"dependency":{"package":"requests","version":"2.31.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2026-1872","PYSEC-2026-1873","PYSEC-2026-2275"],"reachability":{"kind":"production","file":"chapter3/sparse-embedding/demo.py","line":6}}}},{"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":"38c10d008854a159366212cc0fd76fc05786e6d661b4ef91f087b9bb404b0bb1"},"properties":{"dependency":{"package":"transformers","version":"4.36.0","advisory":"PYSEC-2025-211","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-2290"],"reachability":{"kind":"production","file":"chapter3/structured-index/campaign.py","line":31}}}},{"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":"00a64ef0c07958fe692fabbb134ae0697c88fc3341296d69b40b7d2bba295504"},"properties":{"dependency":{"package":"markdown","version":"3.5.0","advisory":"PYSEC-2026-89","aliases":["[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"chapter3/structured-index/document_processor.py","line":12}}}},{"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":"29a4e28f0aa5fd813252f7ddacbf121ce21bb558e739f58842ab1546cf8f6e70"},"properties":{"dependency":{"package":"pypdf2","version":"3.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1835","PYSEC-2026-3008"],"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":"8dffbf868ba0f163879e18bb9cfcd162d6ed80b98250e3104f67b37032d09829"},"properties":{"dependency":{"package":"pypdf2","version":"3.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1835","PYSEC-2026-3008"],"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":"ae553ac2629ef112dd7ee2e897ffe297401b89ad927ad270c0941c0411f1bcc4"},"properties":{"dependency":{"package":"pypdf2","version":"3.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1835","PYSEC-2026-3008"],"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":"f4dbf7b9bd5531fde6336264861d3e386b22155e1a8cf3c9253b2616337381e6"},"properties":{"dependency":{"package":"accelerate","version":"1.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3804"],"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":"cc16251f5166e5b25ac37e1ea00e628972e5268e6bec30b9b0b6f6850e584727"},"properties":{"dependency":{"package":"torch","version":"2.2","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2026-139"],"reachability":{"kind":"production","file":"chapter6/phone-agent/speech.py","line":200}}}},{"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":"7a22b3a3b1488033faad5d1772c0417d9283434f120ccf992ede136cf199f446"},"properties":{"dependency":{"package":"accelerate","version":"0.34","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3804"],"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":"c2c60d09f401a97ea3c9f0d1ce3c90dedee548f0e1f1880a86d896e951a84c2b"},"properties":{"dependency":{"package":"torch","version":"2.2","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2026-139"],"reachability":{"kind":"production","file":"chapter6/streaming-speech/qwen2_streaming.py","line":98}}}},{"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":"7e970d3f2839b0437f1ef17156bd0db4c862196dcb68c46cdf2ecebc954f1e70"},"properties":{"dependency":{"package":"transformers","version":"4.45","advisory":"PYSEC-2025-211","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-2290"],"reachability":{"kind":"production","file":"chapter6/streaming-speech/qwen2_streaming.py","line":99}}}},{"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":"d683679a7e54553069dbe2991ed6545293e4ce57e10ae8c2311680220dd09d6e"},"properties":{"dependency":{"package":"accelerate","version":"0.20.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3804"],"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":"272905671f82c78be44c0ae74a9613ef6c9b3b18d4da16767e6894d154b29265"},"properties":{"dependency":{"package":"torch","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2026-139"],"reachability":{"kind":"production","file":"chapter8/MultilingualReasoning/gpt_oss_20b_sft.py","line":29}}}},{"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":"f446554eabda6d3c0d7553a6a14192dbc5859083c53d9125a478462db7c26aed"},"properties":{"dependency":{"package":"accelerate","version":"0.25.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3804"],"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":"9872261e7d9a2543a8a9570af245311af063e4f466b4f7938348ad2697757595"},"properties":{"dependency":{"package":"torch","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2026-139"],"reachability":{"kind":"production","file":"chapter8/continued-pretraining/continued-pretrain.py","line":91}}}},{"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":"c23315dab3a2efb5397ff8049d6dd298b1cc9a45a11d654e5e05efa4b6679083"},"properties":{"dependency":{"package":"transformers","version":"4.36.0","advisory":"PYSEC-2025-211","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-2290"],"reachability":{"kind":"production","file":"chapter8/continued-pretraining/continued-pretrain.py","line":93}}}},{"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":"cda360859cd10d1f30989b4cb82fc3ad244623c88019771e4514d40cea41c4e9"},"properties":{"dependency":{"package":"accelerate","version":"1.2.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3804"],"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":"62f868aed2fbe42f629e3e64d1da85708ec9c4b8e7229deffe6992684ec063aa"},"properties":{"dependency":{"package":"accelerate","version":"0.30","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3804"],"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":"b1a94f8ad819c72260a26a07c9dd5da824f223a3f8de15926e822cc511ff6176"},"properties":{"dependency":{"package":"torch","version":"2.4","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2026-139"],"reachability":{"kind":"production","file":"chapter8/premature-completion-dpo/evaluate.py","line":165}}}},{"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":"8b2652122c109800ef54599da91546f7404fd53f7e6cbdca06a06be1ab0ccf5c"},"properties":{"dependency":{"package":"accelerate","version":"0.28.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3804"],"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":"4364e67bb76a5e8bc2949964e880f83c4531d62e99edd8e570492f02bac522e9"},"properties":{"dependency":{"package":"torch","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2026-139"],"reachability":{"kind":"production","file":"chapter8/prompt-distillation/evaluate.py","line":19}}}},{"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":"e5dd74f98890fc5052294378a684c4684e7bb4db9be8331de4bc24af9158e437"},"properties":{"dependency":{"package":"transformers","version":"4.36.0","advisory":"PYSEC-2025-211","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","PYSEC-2025-212","PYSEC-2025-213","PYSEC-2025-214","PYSEC-2025-215","PYSEC-2025-216","PYSEC-2025-217","PYSEC-2025-218","PYSEC-2026-2290"],"reachability":{"kind":"production","file":"chapter8/prompt-distillation/compare.py","line":59}}}},{"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":"0c8afa2f16979fff54d5742116710ffc54b5882a377c1fded0745ce677a38c43"},"properties":{"dependency":{"package":"torch","version":"2.0.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-2148","BIT-pytorch-2025-2149","BIT-pytorch-2025-2953","BIT-pytorch-2025-2998","BIT-pytorch-2026-4538","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","PYSEC-2025-189","PYSEC-2025-190","PYSEC-2025-191","PYSEC-2025-192","PYSEC-2026-139"],"reachability":{"kind":"production","file":"chapter8/sesame/batch_inference.py","line":11}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2524825f5cb47050cabf1b7c87015c956e3ef51d8016c86c4a999f33a0eb3cf5"},"properties":{"dependency":{"package":"datasets","version":"3.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3716"],"reachability":{"kind":"production","file":"chapter8/speech-sft-experiment/run_orpheus.py","line":24}}}},{"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":"31a4626c8a479d5df95800c40726de18cd5967079c672e4107288cbea5492fb2"},"properties":{"dependency":{"package":"accelerate","version":"1.14.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3804"],"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":"91aabcbc80841d7613e48bded99bff95f9e1d6b21e7380ef7837b8a31042afde"},"properties":{"dependency":{"package":"datasets","version":"3.6.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-3716"],"reachability":{"kind":"production","file":"chapter8/Intuitor/evaluate_from_cache.py","line":172}}}},{"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":"1e23cfbb31bced9bd1a5dbc68512b91642a54c540f932346e5d0d90a6f0281a9"},"properties":{"dependency":{"package":"fastmcp","version":"3.4.4","advisory":"[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":"dc5c1bfd5dd64a0e43873b2ccb4243b83e9ae34b86bc7fc11da64b810ae9e5f7"},"properties":{"dependency":{"package":"fastmcp-slim","version":"3.4.4","advisory":"[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":"a4c1c6cdc449165258340d785bf0717bb47ce7c0b28550828b8de1d6598a8e79"},"properties":{"dependency":{"package":"h2","version":"4.4.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":"88539b28437730a2fcdecac83ed6be559f084de2df2b28020f53d2dfc7a50de6"},"properties":{"dependency":{"package":"mcp","version":"1.28.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"chapter4/active-tool-discovery/run_exact_experiment.py","line":37}}}},{"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":"b678504a2ebc68134e9c761e6c62556629e86d5e33761fe7575720aa89577545"},"properties":{"dependency":{"package":"mem0ai","version":"2.0.15","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":"d2f69292b7500f63f60d9273f140d50be816fe0dca2dfb24841c4450b5194153"},"properties":{"dependency":{"package":"multidict","version":"6.7.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4244"],"reachability":{"kind":"not-imported"}}}},{"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":"3b3561b3bde269e229d36f78bc14d6fa7c55db65722539ac2080da513f44a218"},"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":"8873ea4151dc1792017b2b05d53dc1c1f4c24dcbbbe1b15edaa8655322e046aa"},"properties":{"dependency":{"package":"pypdf2","version":"3.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-1835","PYSEC-2026-3008"],"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":"13586fc0c39afd311c8f68b33f2e89fbb1618f43b2d8bc54d4d00cd4d7925790"},"properties":{"dependency":{"package":"setuptools","version":"80.10.2","advisory":"[GHSA redacted]","aliases":["BIT-setuptools-2026-59890","[CVE redacted]","[GHSA redacted]","PYSEC-2026-3447"],"reachability":{"kind":"production","file":"chapter2/prompt-engineering/setup.py","line":3}}}},{"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":"280263fed5c37842baef8ddc8f1615c1fe3539466d708b7560628ae74cd91c66"},"properties":{"dependency":{"package":"werkzeug","version":"3.1.8","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2026-4312"],"reachability":{"kind":"test-or-tooling","file":"chapter9/browser-use-rpa/browser-use/tests/ci/test_browser_event_NavigateToUrlEvent2.py","line":82}}}},{"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":"9573862a140e00cb78e423c2b6380fce6c497b14b79b279fa25ea4fe46d5a69f"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"3b01e7d70815cbf628b9c744512f5113081d26ea8579752ee1c35b6f43590705"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.8.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"24406e1ad4ed517f002f32210acc50956786dc3faa97a4a872c6d0d872a459b2"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"5c61e42be031c7b6ff0fb40755c6f886a91e9a8e58db034c848cbbff69c6622f"},"properties":{"dependency":{"package":"yaml","version":"2.8.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"fc6d95beaaa07941877f0b2ff5b521a04d049575adfd69801dee5d5f7fed15b1"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.43","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"79c198ed9db325f0fce99c61dd3388e5522fd3c1140df2f5e673da07ee8f537d"},"properties":{"dependency":{"package":"postcss","version":"8.5.19","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":"37c3510ee48fdfc0d92a477063fd4c3759cf023e70f64423a226f9465a3ef2a1"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.43","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"dabe7527dc96fa07f354a046a5ad7e37f52e51efd9bf5ae6d6fab4bf5f4171fa"},"properties":{"dependency":{"package":"postcss","version":"8.5.19","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":"2f08e18bba4c3138f2b0f3ec14269a3999eccc2cf7fc3d164f55e84b3f2a478a"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.43","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"aa0d517353275bb6a70f4ebb5079d69cbe2c424dab758cae7a4f3982647e7db1"},"properties":{"dependency":{"package":"postcss","version":"8.5.19","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":"a5b05eef345ebaa2662f3cca36320ce465adaef7e26946952c8110569590f16a"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.43","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":"97bb501285bd5932e0b2775e4ea4bd7bd7cec3c6341344408c368061dd12f690"},"properties":{"dependency":{"package":"postcss","version":"8.5.19","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":"c5d7997a0ab63f47e98898b90479965c2ae1b056ff864f9c0e30a06c26f63113"},"properties":{"dependency":{"package":"mermaid","version":"11.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad3ead5483d23a6c8cd5031eae464c9909306e246ad24ee1061bbc040b986a90"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","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":"5e6862fe656e71157f0226af91ca3a0f6b37e9b34b97c657ef293e8f25b0ac04"},"properties":{"dependency":{"package":"vite-plugin-static-copy","version":"1.0.6","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":"977a2b858fb8afd1a95ef1d646a631b6e8d02ccf226e98951db77f5d9b9b066a"},"properties":{"dependency":{"package":"baseline-browser-mapping","version":"2.10.43","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":"2161c5ac6739f052e20268fb144dea5cdebd0b5f5ccb8962763f510fb1a257d9"},"properties":{"dependency":{"package":"esbuild","version":"0.21.5","advisory":"[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":"085fd40745ba08cc8d695486f03c553febbe1bccc2122a38d8796e8c69ea8945"},"properties":{"dependency":{"package":"postcss","version":"8.5.19","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":"3ef9a1850b21553070fa70b8bf09f12263254437fa7e16fa89b2c7ee88626457"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.4","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":"005072ddf65e1d5569234e813cd7e1a81e7cca1c22eff2da6cf42e3385e51fd7"},"properties":{"dependency":{"package":"unhead","version":"1.11.20","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2de6510b2929dc3a9795ae7080fde8aa505e7e4d519b7c7b7a358654850b4624"},"properties":{"dependency":{"package":"follow-redirects","version":"1.15.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"419ad4400a7da64f52d8cae092d89df71ab38366e6207dc2d5f2808acec20681"},"properties":{"dependency":{"package":"qs","version":"6.13.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"187ab7007a9d944b9c0218e398a24d6b3d6c6979041cacf9d5328dcec3fa2ce6"},"properties":{"dependency":{"package":"@babel/runtime","version":"7.26.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"6439b0df7632168cd05f632af13cf2a5f9897cbc49fe2096d0277924f4cf9956"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.6","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"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":"ca66f9ef2d05860aa8431c356e5b411b2c68a6d1da1140f94f7aec83476ac196"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"1ae223af6cf69903d6a7f70d4365469e96d9096e4ebe886132fd742fbb95c581"},"properties":{"dependency":{"package":"mdast-util-to-hast","version":"13.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"237e9be6b16a2939350a6074fa49c00f98a9968024a6c3a3f292beb3821e32ef"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"e88d3dc6da7bcfd3e14f6f0c386b5bc45a1a611d43746283e94eb72004ee9d17"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.0.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"8f2f71607171a4bb6f9b2a5cd5e16869807ada501044147f78682aa287500d93"},"properties":{"dependency":{"package":"prismjs","version":"1.29.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"5d11d22f62ce64bbf7b11312f14611f5273614347ceec91b830d151818e3e9d9"},"properties":{"dependency":{"package":"prismjs","version":"1.27.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"6cfd6e8ec6a89cd279d0f42fca03c59aac40e32ae5c2daad26931bbe5b643c60"},"properties":{"dependency":{"package":"yaml","version":"2.7.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"c8cf382f6779b026c195ffcaf52d10080269b29bfc4fec2d393def28248842dd"},"properties":{"dependency":{"package":"esbuild","version":"0.23.1","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"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":"0891e6fe795a3933390f01457fc4c61d96d8545eb163b7d594e2a30d930eec7a"},"properties":{"dependency":{"package":"mermaid","version":"11.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"a64f2b67529262aaf3bcc64726976d745d0413169dce5639e4af1bd8bda5fba5"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"f91a4dae39c1ac49c9faa9071fe0a239e4e707cf15f7f352451dd927d4e1da50"},"properties":{"dependency":{"package":"postcss-selector-parser","version":"6.1.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"f16d36c256304a08a94bee6c4801392f49e9b80f15f15655ec7245a32fdbf63c"},"properties":{"dependency":{"package":"unhead","version":"1.11.20","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"6e37f0f66f451946ec4229c83bd44c16000c8312550c11e7089f87844593478a"},"properties":{"dependency":{"package":"vite-plugin-static-copy","version":"1.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"f8def4189197ba6cb0362158e2da0b727337d09e7ed78c467773c12abab1924d"},"properties":{"dependency":{"package":"esbuild","version":"0.21.5","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"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":"f366e19bd69c43720f5b4a61b50a4b344ee075f2a1feac05aa4bcfb6395ccf2d"},"properties":{"dependency":{"package":"astro","version":"7.3.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"test-or-tooling","file":"web-astro/astro.config.mjs","line":3}}}},{"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":"0cbc26091fdf837b470231e2fee0ea7528f05e62ac77ca5dda9c998ad0f6a696"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"d17568178abb76a34f4af2159eb019690e1790993683d91f25f0f606925b036e"},"properties":{"dependency":{"package":"smol-toml","version":"1.8.0","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9958ffb9a1831d3aa4b9a5ff26d13631913a6a56cc5e7cb007bbcdf19046f529"},"properties":{"dependency":{"package":"setuptools","version":"83.0.0","advisory":"[GHSA redacted]","reachability":{"kind":"production","file":"chapter2/prompt-engineering/setup.py","line":3}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d05414ee8122d6266ec6042871788fb12591025725f6e6dc68f052ed39bb5eda"},"properties":{"dependency":{"package":"torch","version":"2.11.0","advisory":"[GHSA redacted]","aliases":["BIT-pytorch-2025-3000","[CVE redacted]","PYSEC-2025-194"],"reachability":{"kind":"production","file":"chapter2/attention_visualization/agent.py","line":8}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"39f23068a2203abfa33b657440d6fba27991414d496a28833eb73e9a9cd1313d"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a86c7c3439a69cf162e81b98d4b4fe3d95fa0eb99d1e005d6580e7388360303"},"properties":{"dependency":{"package":"diff","version":"5.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"940627f5e500df43c586a391ff9278afb1120ca065187211840c82548c4fe472"},"properties":{"dependency":{"package":"@eslint/plugin-kit","version":"0.3.3","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5a6b2258c02a18d24e10d54d0dc21f9f7d1ad9dcffe350d68dd28fa270f8f4ba"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"037f862116a61d114c2b2040e1d453251c036f44785cb0dc95502e6f12eb99df"},"properties":{"dependency":{"package":"katex","version":"0.16.47","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"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":"75b70c375000c243bb1a2180916c6acaf5244418fdab8b8c774dfc4707e08fc8"}},{"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":"da5e0027cd348623022d0fd2bb8b4ea54c01796a926c78ec00393e89fd2ed14f"}},{"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":"ee926044b741b8f74cb16e231361ac605c783ea81d10a20f3440e14e41d56be6"}},{"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":"c1625a2bd89cba251f6b45121b2cd9fb424ed58a4e9c7287ce8636dc2a1a0c9a"}},{"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":"7737ead38ab936689581b05104d6a39a2ab66514f2969cd247af0fe2473a6ef4"}},{"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":"4002b9dea4ec8c281f8b369ca0589480a69c00d616a19c4130c112153975d55b"}},{"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":"f5012443eb4008da013e9f938ad4059b6804c913e98b7fe11104f1e4dadd6a81"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e79ec45b480eb8facb1daec224ccffb07a01916fac0eb0606d61b7d9f80aa94a"}},{"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":"d4f3e000b29a44a05af6b4ffcc906f14b72d5b4b2080e492ee60e48dfd1d362b"}},{"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":"a6a6546f190a543effe38f97ee6c3cc8b1c80b1bf68343e9eb549043d47bb555"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"36366060098beeb2e20b2890f34932f50d2f39e3b2030700c476de34c65300cf"}},{"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":"9eb199aa51e565ab40f5e658c1a9566e8de083dd116350fc294e81ac7432e4d8"}},{"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":"a689ea82dfec66e4ee88497e9cadcb46b750dd1aeef110ac5e74c4b76a765d2e"}},{"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":"a00b78274445628339b42574c9db66b8219e30f10b38efd2860059fe415f6bfd"}},{"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":"cda647840b7d7d95f2b30fe2fcde20119332e86d2006645cf0f7b3978958693d"}},{"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":"cbcf81e0bc86e231b10f8d0884c0a00780d5927911d300a13bd9a0ced421bbef"},"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":"6ed89782ca7178fe2bfaf6513a5f923ceb0eb528e9b54d55c46a3885dd369d61"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"22cc738ca27dadfa9ba7499c617d1c76ecef2c6c6278887a85bea17a8265e1bb"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"65e3cc2d876bcd599bb2e82b270a156b8ccc90aa15248f07281b7d60d253f9b3"},"taxa":[{"id":"CWE-276","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"0234fcefefa2592d5dcc8c33142740116b5b7d1d42ff1b16d2b88bbb45db81ad"},"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":"252e7bdfafc3dfc9a0a10e3b163a02ba8ef8ee6fa706492829f5c2fcacb48b32"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"cda771ce02487fd44804bf84fd52fa6624bc34370099078225abde411df19dbc"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e86b3bde305c915e15160173887a05ac5df0ded64136bf4b95e61dbf661936bb"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"0f923144519d6319d57e520490c538c471325e1fd06039c4c21e23c37a6550c6"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"d0923997529486c6115847a19b5b7149f1a4f754ac82ecd41c56b0161a19e2a0"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"604b38860ce01c9f1c82507d88e34bdec0ec73bef1c4d8794a9249f4d7d61241"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"e6cb962285b1ab44f41d6cc69f1d111bfbd012b4f191ab74ac7b225460075b39"},"taxa":[{"id":"CWE-276","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"13cef64e58c3c35453afabfbdbfaeaa6f38bed79e149c3ce286e99dc5557d2d8"},"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":"a8b08a91aaa9f813d6b9259e29fdf8cfdb3e7344017a1623019f7e774fc6eb59"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"94aa8b187b2b4801f8521b5450e343821cd088392a2e2a7a343eba79c5267726"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"2efd208998d66e5b120ced67d4361c91966f7fbbe27b791f4e97e0e4a806ff40"},"taxa":[{"id":"CWE-276","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"f28cd4eef7f037c66082787c5381552cd9bdf19853052dab05636fe5b529ad11"},"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":"5e5e239473c3b9e105021555891b101652065e406bd23272de3eb0f4bd2a4d1a"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"845a497ea94ce43a78384878ae2202c6e4559fc925c47f34b3fd43ee0b44cce2"}},{"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":"7217d075db062257a18220021492cd85e4f782d74a3b9324b263ea811af3108c"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"9bb8d18bbe823735434aa149e6d34b749c9a824ced6edbcfd3ff4e434bfdf29f"}},{"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":"1a35d8026a72522544285bf42cc6adc6b34651a2f3cbe63e0f7fb61e2eabf377"},"taxa":[{"id":"CWE-1357","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-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"9113a9d8a068044a3c36edd4ec4a235221f9d91d47e9006a0a20bae115707610"}},{"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":"fb8409194424ae17cb35d85d329ef7a762c5a5b9ccfbaa08955b80f21aa57da3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e57f1eaf3e37de3055189fa4bca7906ff5829c9feb5ef9c585856a79d156e245"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f44a390ded3d58fa8cd331440ec85a14451a15661bb0819064702567b08690c"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"835600ffa5484f2197d211ba86b670dae7f52128d5f1b8118aa733588f006a42"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"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":"cc682cd7167c2c692b624e54d299d32b2ea2b5b3eb72f5516f0dfab9c0ce991d"},"taxa":[{"id":"CICD-SEC-3","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":"79aa732380045e9d9a7ac0b30e97af72dc7da6f9503434c37cc8b1d67f61ecdd"}},{"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":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/01-cover.html"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad3384d2d2634b92dbb1fdde9b0643c797cb3a3b6318d0b2503eaa4b2255342"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/04-architecture.html"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9994b10d5ac578c8a46d131a1d48d05e61d95033bb262043d11c35c0cb46784"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/05-attention.html"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3957ee9944278003c65a5fe477de63f97e1b16a897450e194095219040d634"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/09-results.html"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7fd04149c6d0712d8c46095e1114b693dcc2328cc4f18876cac28bbacbdc2f"}},{"ruleId":"AC1","level":"error","message":{"text":"\u003Cimg\u003E without a text alternative: An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt \u2014 alt=\u0022\u0022 if it\u0027s purely decorative."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/12-interpretability.html"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fee42eeb2602d14c54c0861f689c7f65ab954e840a5d43f9eb23dec1d08617"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionModal.tsx"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f919623f1ec97f611d7654e8561e606dd51d33cfb16d9b0e93ce03adc398252"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionModal.tsx"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"8286f29f88075c5c1339942cb065b79545e52eead8d62ddaa027ca5e8ac0cacc"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fc9f30f68171fbce2238d3f6ff659bf293c67d8580468cf097ed454fd106cb"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7129ef1515e5624fa756fe6cec8679025492a61281523bb91727674578a9259a"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label htmlFor=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b86f2e68b6021722236e08506cad7ba31381888caa89d8fb3ae880a601fef0"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/baseline/src/App.jsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee90d7e76e3bea4c12edc2a420032dc8375efe4360be86ed9f8f2021b38c458"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/frontend/src/App.jsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fa48b950e13116dd6f39d06203aca28ff4a2138880f34264280438a369cd21"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/frontend/src/App.jsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bff7bea8c6c40b6431c908ef319729f12f36bec6bde9234e2591253e0b76bd"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/frontend/src/App.jsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e61beee3552a25c1f866ed6658d8bb29423c2dec6464ff7586ad909add1f98"}},{"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 htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/frontend/src/App.jsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27988b4267301164cd1343e43f85e19248b1845d8df92fe9220361159f357e5"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/dynamic-form/validation/runs/20260729T212542Z-5_9-live-browser/generated_form.html"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd59c5b72f38e5d798f0563b83e6786acd630111598cad3d667c40b7494e6b45"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/dynamic-form/validation/runs/20260729T212542Z-5_9-live-browser/generated_form.html"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"313708bfd6b80ba62a1fdf8b5aecd2b2dfcd75882eec9f5cdfd997aa97bcb67f"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/dynamic-form/validation/runs/20260729T212542Z-5_9-live-browser/generated_form.html"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d709552fc64dfdbf7db29a565115d52280ee8ec20aa7e5ba99293681dd4c80"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/elo-leaderboard/validation/runs/exp7-7-arena-20260731-v1/leaderboard_animation.html"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ec09370c33ae9981c1d4aea9261ae37766bae0127789319be144882a987423"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel for\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/elo-leaderboard/validation/runs/exp7-7-arena-20260731-v1/leaderboard_animation.html"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc2168046f9601360d9ff91459c9ba1d8acb0df8f1dd6a2119ad93e4c40b0d8"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/01-cover.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"69443ca48199c5e25250f5213d415f345e7df9b1eb4a7a023fc20160e03eeb19"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/01-cover.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f6f9334bc2cae811d8c165972b4c651340595a6b09b253168d1cfdf42a848a"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/01-cover.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d875142ec823ce4655f073a067c7e06ed16de2be3581607efcae26ca0c972ec5"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/02-problem.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bc964e1b80d4a944cc4f373123818d89bc6191ee842072a0dcefc7e29275c2"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/02-problem.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa948d9d5975adcf80726e129e63387d07abd125fd4992cb9ba00495d1a4cd9"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/02-problem.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"083bb638ba79d2c8c5cdbbacd5a2ae8dd836445e31e1aaa587cb8ba670f4ffe7"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/03-keyidea.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80dd0471841703033bf41f43d79bb3b27465df08382b8edf5a97cb45fad6827"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/03-keyidea.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"269172c499fe545b1112fc3f4acbaa60272236486bf8a15f02e6b564316d511c"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/03-keyidea.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80ff57c41e1b9f4ea6525e2590ec62a1f9a7c9ef2cd31cba737e6b0359603f7"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/04-architecture.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad547bd12f249a2dce2e12b4a50dda1d0020875eab650ad682ebde2e0a0e867"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/04-architecture.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"091958698982d93170853745975f2262191226a9aae8e6ddeb34be4f6dbba4df"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/04-architecture.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa10c2888e2d8409490797bbd9d1645c105277065768bca938b5ad83efa3229"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/05-attention.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86f8fbfa4a8095247ff8c193324305f64f736e5ee608245ac046286a8df65fb"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/05-attention.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dc9781277d9e1ea7c079887c2f2175541f7e4cc83953920f6e0460955afeab"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/05-attention.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f420e98ec461889907743d63c16d8f8b64437bf1903a2efaa7013f79d99d2ba"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/06-building-blocks.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb3afc045048233a1bb438ca88873f376960871e2ec62a037b6028cc80ea9c9"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/06-building-blocks.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c77a7dbc10d9b0f40970b6599aa9b40d96cc862c2a2b3d2b037a8080ed3489e"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/06-building-blocks.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6fb3d7da07842bbccf0455a3a828dc57be283a8775eb9968c743fa93d69e23"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/07-why-self-attention.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6328cd70e407f9e004bc4e89d3757200b90e32a7e6bd60213513f5dde9fab22b"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/07-why-self-attention.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"003828b609744161bde7ca1e17a0c5a92aaa05c4054627b0ecfc052f5111a0f1"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/07-why-self-attention.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae2efb18405f1b2f5b83ee0e476c01e2d450b850ac8599fb821a16d23029321"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/08-training.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d4b83811fba40b40399e48175296c047469bb522f6df1ae52a6e2ab331a287"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/08-training.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad6df9cee5a81a21081534277247c2cc9ef61c25d617dd4671347ca8e3d45ae"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/08-training.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"024b5749ba330f05bc93e4f00ee71ceaf2543bcfbdcbfcaa81b89beed0998e9d"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/09-results.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b98492568bcfdc2929ce9935b23f0c4bea5be1d739a83d8990fe659bb0e48c"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/09-results.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7a7d0a928434a84945ce34c3800589e5bdef3ef7f021f3dae28fd61b0af439"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/09-results.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d5a353e10da6cde4305d72605ed5757f9a0ccce7a77753186ecc0d231322f4"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/10-chart.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b23a1c9816768b9e853392c075cf5123a68a41009f79cf4891765e524c36d7"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/10-chart.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"0131e479c64bbcefe7a390c63cf8e3305efce815cde3a850a81444b81073b968"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/10-chart.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"7207c96145e4f2fdecb733eb4ee7b6822e347c51dda671db76a6e4cf986d1ada"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/11-generalization.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d8e16ca9181b8c42b15e10b0e1ee847f5bb4c6200fdc15f29b7f6b638e0573"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/11-generalization.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"68e39e2404c07017b66c245877b60c735a5e17521e18530be9e68ee93dcca692"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/11-generalization.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97231e0806b0f25a63b794f583f0b5a28963051d6139aff5a502ddd0fc3f774"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/12-interpretability.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc115ae8b9edb5051f4ee21900ff4e03a878b98eb08d3b3224b42974d9d051a8"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/12-interpretability.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0e6c8478bf5f0bee48741383d3b42128aa0dbf4e6e31d019b1583dd73d765a"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/12-interpretability.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"39631b99e7002e78653186d4e80356380399022f811752ae10d4bd916381929b"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/13-conclusion.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b86733d9f0fc58f65a94a57ad32069a17ff3a6e34351cfed03d2703ef911a43"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/13-conclusion.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"47615f4746e94a228dcf03b4971d7be5efd2b3f20c66b30edcae3d860ec29a5e"}},{"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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/slides/13-conclusion.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7584ecb6738d8c0fa53231fcf4f2f94817ab1cd8986b63c3f292c38264a6bd"}},{"ruleId":"AC3","level":"warning","message":{"text":"Heading level jumps from h1 to h3: Skipping heading levels breaks the document outline assistive tech relies on. Don\u0027t jump levels \u2014 increase by at most one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbafd05e93b6172ee78cb4ac7ff88938f10a1d4ff803e6956bf3ee2d8111a782"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/adaptive-log-parser/validation/runs/20260729T212342Z-5_7-live/visualization.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2e785a516555f010666e4ea813bedc153a10b531b3d9252114c7e5f1843e97"}},{"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":"chapter5/adaptive-log-parser/validation/runs/20260729T212342Z-5_7-live/visualization.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a12eb10ffe7a14793ac87f2bf7d966ecc70cbe2bd1e9800ffa9c003cc42ea9"}},{"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":"chapter5/dynamic-form/generated_form.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c14f77b31642bd5a6de6fe98ec4e66cabada0afb5654f9f6e9e84cf92f660e"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/dynamic-form/validation/runs/20260729T212542Z-5_9-live-browser/generated_form.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3236809ecbb9ae7dfc424725fc3dc1d328387590c872218b578ff1fa463f2a99"}},{"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":"chapter5/dynamic-form/validation/runs/20260729T212542Z-5_9-live-browser/generated_form.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04340366a396e41b8acb4f7d74b881c3b648e069aba6008c886c5a3e6368120"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T205753Z-5_10-postgresql/results.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"071ec95639b766a707db5614cd700dd3a733ee5ab152c7c90b2485befc86d087"}},{"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":"chapter5/erp-agent/validation/runs/20260729T205753Z-5_10-postgresql/results.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13184df3e559cfc0780688f0465ea8ed4ce7ce103043b1c1188f3d960d54a7c1"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T205753Z-5_10-postgresql/results.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0dbc3d979e72ac25e2d4dda6e1e4e4e27fbc0a99d4dca8d2e4aac985995500"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T205753Z-5_10-postgresql/results.html"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"0355425e3a81e0be06ca004ff26627236acde5e49e2d42ea5e5dcdf5d1fe6e56"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T205753Z-5_10-postgresql/results.html"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd3a04d300f14d76ea99502f4c71cd6ce4fd8b8e9beabd67aa22b15c48961c1"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T205753Z-5_10-postgresql/results.html"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c5c7580c68e69e599ce6888ca8e3eb8b913966080f767863773df7503088c9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T205753Z-5_10-postgresql/results.html"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b357328491fa92026fb9a4a40b0b89a5bc0758fa7a45c67b76aba0d300c5f446"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T205753Z-5_10-postgresql/results.html"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc86a104415682b68afd10c18cb5dca971b17252318e0dc5eeb7378485b09e11"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T205753Z-5_10-postgresql/results.html"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4e72b9bdf6a508ebbfbac0bebb78c06ccb796054c49bb1b6ecb91e5e2edaae"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T205753Z-5_10-postgresql/results.html"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1d579fd0ebf74a3086f246b9eafe9500b079b3d8df1ae78217f4ef913814b5"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T210334Z-5_10-postgresql/results.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40858e43e8131ab0b0d709b7d862924bb951cc314fb6fb8e9fc30ba1f7ef54ab"}},{"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":"chapter5/erp-agent/validation/runs/20260729T210334Z-5_10-postgresql/results.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4507360ea0eb31e58f31b93170fb8fe64281a3d8fe303335c21b652b037c260"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T210334Z-5_10-postgresql/results.html"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"951acea955495210fc4b089e79d06a76880830101c569bd1749c881a0ccef94d"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T210334Z-5_10-postgresql/results.html"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1a18e9b867d418a7876f3976a5edf993afeb0b58e62dbc1f472befc99839d8"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T210334Z-5_10-postgresql/results.html"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4cf5ab2444281b56943ead463eb6adb4878336ec4b77c9791b381af37a71c5"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T210334Z-5_10-postgresql/results.html"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa39754a10828872533f784e65ca182e8de85a4cabec124e45d0fc9ff3d4fcb7"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T210334Z-5_10-postgresql/results.html"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f5f69ededa6fe685432c443638fb05f703d68e0eb826f4d4f105bfb6651817"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T210334Z-5_10-postgresql/results.html"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd55b66548bfcca70ccac03ab8c7ba35e9e787a2ed61fd65031653632ca75c17"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T210334Z-5_10-postgresql/results.html"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c4bf3939b5e91c5308fad177dda3cd2651ca6014214cc671c0da93853e3d24"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T210334Z-5_10-postgresql/results.html"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cad1c2f6a5caadfed94b8f2c6eb0ab89d1323bff8393a3cc960f81ae62adc9"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/validation/runs/20260729T210334Z-5_10-postgresql/results.html"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"332e54e6c35a79266b83a17cea05baf32a30d74af49bda9fdd03cf5e0acab64f"}},{"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":"chapter6/async-agent/validation/experiment_6_2/real_subprocess_20260730T052500Z/artifacts/scenario_2_report.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b67d6bb93c72bdf9f65cbbb548700640267748a002070a9b758b979b9d9dae84"}},{"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":"chapter7/elo-leaderboard/validation/runs/exp7-7-arena-20260731-v1/leaderboard_animation.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5a7349ad88546802a9d6d176277850fd7b71d98efbdee4414541f361bf4de8"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/agent-lab/agent-trajectory.js"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a0f430ea3f986707a0707815008fa4f0c0dbe416f9d9853f39b329a8e991d97"}},{"ruleId":"AC4","level":"warning","message":{"text":"Anchor without href: An \u003Ca\u003E with no href, role or tabindex isn\u0027t focusable or keyboard-activatable. Give it a real href, or use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/components/Reader.astro"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77d9ae5a7e0344c75571b3e01719ca0347afc5a42bbf7171c705b481120662b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\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":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f8e76e46fa8e60e5213af8ba90b9764844a44e0dfd5ad82be759108e54032f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast Tailwind colour pair (3.3:1): This element\u0027s Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"e418e123cf28591a1ee4189b5a577a3f7b8db0f16755d3a0770971427681a565"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#progress\u0060 moves (\u0060transition: width 0.5s\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":"chapter7/elo-leaderboard/validation/runs/exp7-7-arena-20260731-v1/leaderboard_animation.html"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cad0fa2713c17274fbd8bac719cba87ecda8b671511f51adafba209acc9102"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.8:1): \u0060button\u0060 sets color: white on background-color: #4CAF50 \u2014 2.8:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/elo-leaderboard/validation/runs/exp7-7-arena-20260731-v1/leaderboard_animation.html"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"424a5a875a8391e8d7e61f77d445412442bd1ee6c3c7086ed0501828342d8c6e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toolbar .progress \u003E i\u0060 moves (\u0060transition: width .25s 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":"extras/agent-lab/agent-trajectory.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab5606a9e6df97096582c59c7a654f832c7d2b9b4f8e48cd0af51dc148fff0e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.3:1): \u0060.error\u0060 sets color: #9a6700 on background-color: #1c2128 \u2014 3.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/agent-lab/agent-trajectory.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"303e05c752648848bd4adf6db35dd7f53bbcc39604dac1e341adeed8f66e00a2"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.3:1): \u0060.send-button\u0060 sets color: #ffffff on background-color: #16a34a \u2014 3.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/frontend/src/theme.css"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"440e431765114acbe8c07294b8608e2c7462682743cbc7eebe6cefb98e78de24"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.3:1): \u0060.send-button\u0060 sets color: #ffffff on background-color: #16a34a \u2014 3.3:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/baseline/src/theme.css"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db038bd2be317bd1cf8b164370d60cbe349a38ee7372a9dde166c1bcd3adc47"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/styles/globals.css"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3a1354e34b50c6883f1bd0946b3c7e0255d2ea3eb41a451eb991a324840fdc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.sidebar-toggle svg\u0060 moves (\u0060transition: transform 0.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":"extras/book-theme.css"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5721fb3de5249f2cc064ee17f3738658404ab4d956490a4d186fb34b30b18f6"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Most of the production code is in directories of its own, but 1 application file(s) sit at the repository root beside the build and tooling files (\u0060flatten_epub_toc.py\u0060)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: chapter1/context/README.md names Python 3.10 or later, but chapter9/browser-use-rpa/browser-use/pyproject.toml:7 requires \u0060requires-python = \u0022\u003E=3.11,\u003C4.0\u0022\u0060 (the lowest of 2 declarations): the package does not install on Python 3.10. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/README.md"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2aed3b1575831e0ede12afdee568f417b5a1074bfa7637bd9d97d5346aa8b2"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: chapter1/search-codegen/README.md names Python 3.9 or later, but chapter9/browser-use-rpa/browser-use/pyproject.toml:7 requires \u0060requires-python = \u0022\u003E=3.11,\u003C4.0\u0022\u0060 (the lowest of 2 declarations): the package does not install on Python 3.9. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/search-codegen/README.md"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"009c92f417f69698f494af257a0268f24ecad3a58964efdd059b432231181952"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 28/96 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060chapter1/image-gen-workflow\u0060, \u0060chapter1/learning-from-experience\u0060, \u0060chapter10/autonomous-phone-registration\u0060, \u0060chapter10/book-translation\u0060, \u0060chapter10/generative-agents\u0060 and 63 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 7 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/dependency-resolution.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/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":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a8cbd13f6b9a22441952ae8588dedd0bdb66141498d44e11d28c6451529aee"}},{"ruleId":"P5","level":"warning","message":{"text":"No DR/backup evidence: A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced \u2014 a volume that survives a container recreate is not a tested restore from catastrophic loss."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5daabb38c90b07af65b8738cf94ce884e90a7d8fef810d341de5c186188c8fe0"}},{"ruleId":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 2 versioned entries, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"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":"chapter2/local_llm_serving/server.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"feaa326420e8360fab278b6dc52596719bfbfbbefd3cf123e8ed625b88da7c57"}},{"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":"chapter2/prompt-engineering/tau_bench/model_utils/model/vllm_utils.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e282e1926c7127216aee410f1e7cddaa73ff655c76702c923deca8e1ab4ffcd"}},{"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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"a588c9474af088e9c702be28891553810f95cd27a09797f154c8ab9d6c10e404"}},{"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":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a189902840372ba5882fc5e9853a4d85b4d24f61676bbdc7b1f4bc80893d4d4b"}},{"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":"chapter4/collaboration-tools/src/notification_tools.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bfbc740cc7962fed7caeea292f59c79702cb8eb66fc2bfebb58250a41cd899"}},{"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":"chapter4/collaboration-tools/src/notification_tools.py"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"660fe2e9b66caefe15498ed5ac344a15660683e20209e4debe8f26378dc31017"}},{"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":"chapter4/collaboration-tools/src/notification_tools.py"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b35376893c59ba8fecc846cbf10a9f687e68950ed32a4b9d2201a7a4a1af45"}},{"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":"chapter4/multimodal-agent/agent.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4674472a1afc1b65daf3f5e95a27cbc44e91ceca8875c6cba9e3a096b654865d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.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":"chapter6/live-audio/backend/utils/providers/llmProviders.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8bdee4abb57b41b960bd3650ad46a497f8ee65474b4da6e29ce5d7a7238fc26"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.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":"chapter6/live-audio/backend/utils/providers/llmProviders.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ad5bb7ab4bb53d036f00e36e4c519393fed51dfb7289cff9b1205ffbf6b285"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.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":"chapter6/live-audio/backend/utils/providers/llmProviders.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"245429d51241fc2a88220182438a9453a1d901cab5a1efe970e85c048e8e71d2"}},{"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":"chapter7/elo-leaderboard/data_loader.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf19de57210cf043703778981d195e98e32e569749602acf62d16ac0b6bc6e80"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/profile.py"},"region":{"startLine":996}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff56eb46dc8eeadbfcd09dbad0d886d29832c7c3a65a94d499a664978ddb89d"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/llm/azure/chat.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33728a3f2afb73dd259cd8de5ce7c0f4757bb43ae2eda8e899a88fb613dc802"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/sync/auth.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"455b81cc35a96d114e01e4c8148d4dcb93a685cfa8f2e73b7c968c91ece1a96f"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/sync/auth.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3db6a16f15dedef35d0d307e044df7282678efe1e4ac98645244955276db262"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060virtual_terminal\u0060 is async and calls subprocess.run \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":"chapter4/execution-tools/execution_tools.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a518a56048e932eace278b0d2d40008695faefd6c79d60f46fcdb23a937026b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060excel_create_with_formula_and_screenshot\u0060 is async and calls subprocess.run \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":"chapter4/execution-tools/extended_tools.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5da91958125a56c54a0bab6957ba2eab1a88a4e7a7265fa434d26ac96efc8e3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060virtual_desktop_execute\u0060 is async and calls time.sleep, subprocess.run \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":"chapter4/execution-tools/extended_tools.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecb63cb9550da4b7eb161d2ee85b6593bc7284c5c44b23d33e634f8cfd99be2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060virtual_mobile_execute\u0060 is async and calls subprocess.run \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":"chapter4/execution-tools/extended_tools.py"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29da291f65e9805ff6a8daddf5b94b0979c4dc8f24ad09b32e1945221b5d0d7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060environment_capabilities\u0060 is async and calls subprocess.run \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":"chapter4/execution-tools/extended_tools.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4390348a5dd63b612270f7878959c3d7d1e5dd338d142357cc07d6cfae580d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060execute_command\u0060 is async and calls subprocess.run \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":"chapter4/execution-tools/terminal_controller.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"16532b513de6cefff2050e0799e81c92180fe72547ee26b446db323493e2f600"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060google_search_api\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":"chapter4/perception-tools/src/google_search_enhanced.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e089b619b91b3d5c3203baef5d98d05a62958615533e5f87ae012fc4ba41174"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060_fallback_google_search\u0060 is async and calls requests.post \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":"chapter4/perception-tools/src/google_search_enhanced.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"688f3f45e67060caa0c65dd86bb8de0f704557305072c0315420f1912bb2081e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060read_webpage_content\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":"chapter4/perception-tools/src/google_search_enhanced.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecacb583c42a364c3d51443cce960422b4bd7ce0ffdae2a8a2e388389ffd4fa"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060extract_audio_metadata\u0060 is async and calls subprocess.run \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":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9203a226192ce432f907c5732d16be154b78a86cdad4c7de3f0380842a1305e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060trim_audio\u0060 is async and calls subprocess.run \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":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"0211a8edc7389caf52dab0d68a93d522c264c81e09352461d3e31cae5d891443"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060read_webpage\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":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b02b5b8aa9f785bddbf37107d1e868e81826f40898bf8f096dc6dc8ee9584fd"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060get_weather\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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5df7ff507d1d8b67a091e122be8970497232898500c9ffb9458280c5c89c8b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060get_stock_price\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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6020200605ece0aa24773d64c2bb0f56c15a5730ac0c876171034f2e6772a23"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060convert_currency\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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"295f74c27f33cc7c18d885d661ed9e2abde2ddcbac78007df6ab8fc5db78b81f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060search_wayback\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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd895ebbf933c50927dc247287bffdf6aad729c625832aa1e2d6e5a3d19f4fc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060get_crypto_price\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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"568d745f4cbfa8e3a6718580577327c9e6fbcee67eb74b872cedc83d7c61612b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060search_location\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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"12037c5f018202a8362738dd5a78526e7ce924c7fb77d5b4c1be3af53d6a7a54"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060search_poi\u0060 is async and calls requests.post \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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c74e5ea25e14a3f32ecccce10447ab29279f2e72804b3305703a42d5ff3a75"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060search_web\u0060 is async and calls requests.post \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":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"269fb6abde0ce10034169dc36b966a117a562cbd7ec7d5bdf2d339f6825f9ca8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060get_archived_content\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":"chapter4/perception-tools/src/wayback_enhanced.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c362bbba680b5b49e2de90f4f75ba62145f4558b6762d81ae3248c4e08c05a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060get_article_history\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":"chapter4/perception-tools/src/wiki_enhanced.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3568e97acd45a4247839212aa181e455e2a5c0bd03ff3a67bc69209716bcf969"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060data.on(\u0022end\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c006c4fa390c34f724d32a6a9c4c028c44b2ce8dd2ff18abc77430061585e1c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060data.on(\u0022end\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7db40106b05bdf5e841c728e45d68658d6a9f24c572129e48b15bd72597484"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060data.on(\u0022end\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb236c97dacb0ec8c749e874914aa5826beeeb9136ef6742896ee002bb09923"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060data.on(\u0022end\u0022)\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad7ab352c4cf5e2779088e5a4e3c15c9c0dc384b917494bdecde796aca66424"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060transcribe\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/asrProviders.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b27c9c77347151f29aad7d0c4e85327b6500a03a3a5fafdf3b26ae1584d7dbb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060transcribe\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/asrProviders.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1b074293ac6c101903bca9683c60a274fed87e9ee759076d4c0c5765a2a1d4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060transcribe\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/asrProviders.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9ae3ad45886830ad5cd982c783965ca11a59560a836cda1710b563582dae3e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060transcribe\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/asrProviders.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"193a12f603340da3c08646ed4f32d5f9dbdaa71af731fa12cb4dba3b03e86a01"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060initializeSileroVAD\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/vad.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f877b5bf1ae123fe84fb62b6800affbdb005e16c931262a43712c5bd7728bb93"}},{"ruleId":"R1","level":"warning","message":{"text":"Type Safety: 26 typed \u00B7 126 plain JS \u2014 the untyped files are chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/build.js, chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/make-assets.js, chapter4/execution-tools/validation/experiment_4_4/real_mcp_20260730T062500Z/workspace/valid.js, chapter4/execution-tools/validation/experiment_4_4/real_mcp_20260730T070500Z/workspace/valid.js, chapter4/execution-tools/validation/experiment_4_4/real_mcp_gui_20260802T093348Z/workspace/valid.js, chapter4/execution-tools/validation/experiment_4_4/real_mcp_gui_20260802T093657Z/workspace/valid.js (\u002B120 more)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d00ee7953f55325a823d27e5db9657c80ca9b9861c0c0abf8fe487cd3fa586d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Forked directory tree (6 identical files, ~2136 lines \u00D7 2 trees): chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/ and chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/ are near-verbatim copies of each other: 6 files are byte-identical under the same relative paths (~2136 lines; the trees hold 8 and 8 files). That is one structural fact, not 6 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) \u2014 or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/frontend/package-lock.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"026c598a94c2d01a0236acf416d9f458e22b73cb45d0bfe1208f7c8221a0a0c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Forked directory tree (5 identical files, ~2058 lines \u00D7 2 trees): chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/ and chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/ are near-verbatim copies of each other: 5 files are byte-identical under the same relative paths (~2058 lines; the trees hold 8 and 8 files). That is one structural fact, not 5 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) \u2014 or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/frontend/package-lock.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde43cad0bcc5fe5665d41575c0c36273833d9372daaff7e25ffb128263b301b"}},{"ruleId":"R10","level":"warning","message":{"text":"Forked directory tree (5 identical files, ~2058 lines \u00D7 2 trees): chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/ and chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/ are near-verbatim copies of each other: 5 files are byte-identical under the same relative paths (~2058 lines; the trees hold 8 and 8 files). That is one structural fact, not 5 local ones: every edit made to one tree and not the other drifts silently, which is the failure whole-tree forks guarantee. Pick one tree as the single source and produce the other from it (generated, copied at build or release time, or re-exported) \u2014 or, if the copy is a stale snapshot nothing produces any more, delete it. Check first whether the copy is a deliberately published deliverable (a template consumers copy verbatim, a released sample frozen at a version); where it is, keep it produced from the source tree rather than edited in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/frontend/package-lock.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd76557d29494716eab8974d039eb679bac1a668fd30817968619b2c693cecd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (54 identical lines \u00D7 4 files): chapter5/conversational-ui/baseline/src/App.jsx:1 \u00B7 chapter5/conversational-ui/frontend/src/App.jsx:1 \u00B7 chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/frontend/src/App.jsx:1 \u00B7 chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/frontend/src/App.jsx:1 \u2014 these 4 files are line-for-line copies of one another \u2014 54 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/baseline/src/App.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0553e3ea48acbcc29ffb0d6ce41100ed23d71c447decc723f6d8aa128508677"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2 locations): chapter6/live-audio/backend/utils/providers/asrProviders.js:88 \u00B7 chapter6/live-audio/backend/utils/providers/asrProviders.js:182 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/asrProviders.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"23af3494384eafbd05ce312611072025cf49cfbc08ba6a16502c546cb62ed4d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): web-astro/scripts/collaboration-manager-figures.mjs:6 \u00B7 web-astro/scripts/evolution-methods-figures.mjs:7 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/collaboration-manager-figures.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"98eac267a0ff91b2f040c4c13c076795bea63a31dfa5de0cf225237ff898dc5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): web-astro/scripts/evolution-flow-figures.mjs:7 \u00B7 web-astro/scripts/training-sequences-figures.mjs:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 319 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/evolution-flow-figures.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce073eb04585f931fe637ed01cc94cca0dfc6f75c9ee33ec127b070ea604ffd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2 locations): chapter2/attention_visualization/frontend/components/PromptDisplay.tsx:15 \u00B7 chapter2/attention_visualization/frontend/components/ResponseDisplay.tsx:11 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/PromptDisplay.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce276fd0dd7188f3027752115782c585f1bb08142bff70f4008b97e973e10ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 3 locations): chapter6/live-audio/backend/utils/providers/llmProviders.js:58 \u00B7 chapter6/live-audio/backend/utils/providers/llmProviders.js:110 \u00B7 chapter6/live-audio/backend/utils/providers/llmProviders.js:172 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"chapter6/live-audio/backend/utils/providers/llmProviders.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"58deaf660347c0305c785a12bf404c0e690b6f59be32d0d88cdf3b530efcb3d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): web-astro/scripts/voice-architecture-layout.mjs:163 \u00B7 web-astro/scripts/voice-architecture-layout.mjs:493 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/voice-architecture-layout.mjs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08dd119ab38bf0117d6407be220e01391c276917230b09ba034c86f00f7b110"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 3 locations): web-astro/scripts/collaboration-society-figures.mjs:26 \u00B7 web-astro/scripts/evolution-methods-figures.mjs:45 \u00B7 web-astro/scripts/training-sequences-figures.mjs:20 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/collaboration-society-figures.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c8da01ce56d26b27a2fc642ca123411b73be3811a3230187ccef73611df5bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): extras/auto-translate.js:357 \u00B7 extras/lang-switcher.js:533 \u2014 the two spans are one implementation copied and then locally edited \u2014 215 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/auto-translate.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc07eca358c88083181579a2948021839957edaf4d6cb4a44ad1904bf36c34e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): web-astro/scripts/async-architecture-layout.mjs:37 \u00B7 web-astro/scripts/voice-architecture-layout.mjs:36 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/async-architecture-layout.mjs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fe66974d69d8b385f4b7a51437e571326ddcf20e35b087d4d45a1b7dda235f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): web-astro/scripts/training-foundations-figures.mjs:5 \u00B7 web-astro/scripts/training-systems-figures.mjs:4 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/training-foundations-figures.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e55b5c6c29cf07414d02d5a2f71348ad3dd1934fb455780c93b0f901fd2a713"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): web-astro/src/lib/book-markdown.mjs:15 \u00B7 web-astro/src/lib/book-markdown.mjs:289 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/book-markdown.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dba0f62d91ee34833179349aa1be50129071bf214d472d1f407cc8b9ad43edc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4 locations): web-astro/scripts/evolution-methods-figures.mjs:45 \u00B7 web-astro/scripts/training-foundations-figures.mjs:16 \u00B7 web-astro/scripts/training-sequences-figures.mjs:20 \u00B7 web-astro/scripts/training-systems-figures.mjs:15 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/evolution-methods-figures.mjs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2360a9b37dbf661dec027f343663ac8600466da608179f78e6f26b08ccff44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): web-astro/scripts/coding-production-layout.mjs:87 \u00B7 web-astro/scripts/voice-architecture-layout.mjs:67 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-production-layout.mjs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"1148eef67711221d8d6474e41aa610177bfad86393291e2905c22d20f69e7f0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): chapter6/live-audio/backend/utils/providers/llmProviders.js:30 \u00B7 chapter6/live-audio/backend/utils/providers/llmProviders.js:153 \u2014 the two spans are one implementation copied and then locally edited \u2014 112 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/llmProviders.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff53fe5c83f079e872220f213e0afad49546bc8453fcdf3a73ebdf5aaa0e8d9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): web-astro/scripts/async-architecture-layout.mjs:400 \u00B7 web-astro/scripts/async-architecture-layout.mjs:479 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/async-architecture-layout.mjs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"305e1b70ef6d496e6cc23ec352790465314ec8543b00407c9be7467861ed549d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): chapter6/live-audio/backend/utils/providers/asrProviders.js:237 \u00B7 chapter6/live-audio/backend/utils/providers/llmProviders.js:204 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/asrProviders.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2abea2fc58382a4827ea40bf26c5c7feb5337fccb15d52c1a9c7104a9a40b5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): extras/auto-translate.js:197 \u00B7 web-astro/src/scripts/machine-translation.ts:136 \u2014 the two spans are one implementation copied and then locally edited \u2014 129 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/auto-translate.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bb2ab87f4acd4a430c39a917c55bb3290103b20b797795cbf2c7d9b37293e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): web-astro/scripts/collaboration-context-figures.mjs:6 \u00B7 web-astro/scripts/collaboration-society-figures.mjs:7 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/collaboration-context-figures.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1446c444ba8bd60c2a082db68d0b9b7db955750d7d28ef9514be6fdd954ebec7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): web-astro/scripts/coding-application-layout.mjs:23 \u00B7 web-astro/scripts/coding-comparison-layout.mjs:51 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a0612ee525dec5f80d5a5c51a7a4c7ce6e37eae3d087cabfe9b7104d559cff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web-astro/scripts/coding-application-layout.mjs:387 \u00B7 web-astro/scripts/coding-application-layout.mjs: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":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"7839c7fbd6c247796477aa31b5147416dd81a0954f6947032cc4eb8af34ec987"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): web-astro/scripts/evolution-flow-figures.mjs:28 \u00B7 web-astro/scripts/training-workflows-figures.mjs:15 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/evolution-flow-figures.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"773ece4fe88b1982dfcef88df876f91154d26b908026dc83f1335e45f83c65e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): chapter6/live-audio/frontend/pages/index.tsx:624 \u00B7 chapter6/live-audio/frontend/pages/index.tsx: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":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc815af15e0a3ca6737379273db21c2cda20489e27832c35bcc81d463f1d3335"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web-astro/scripts/async-architecture-layout.mjs:178 \u00B7 web-astro/scripts/async-architecture-layout.mjs:554 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/async-architecture-layout.mjs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36e0e5de9d9a0e2808f4db54af096f59de7f8d5b86eb2331c06970126f0a5b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web-astro/scripts/async-architecture-layout.mjs:255 \u00B7 web-astro/scripts/async-architecture-layout.mjs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/async-architecture-layout.mjs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc27e41c52050cbfc4bfbcd2575d39583daa36fd0f6a6459e067a26ab834bbff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): web-astro/scripts/collaboration-society-figures.mjs:151 \u00B7 web-astro/scripts/collaboration-society-figures.mjs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/collaboration-society-figures.mjs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcb07573ffe511e5e202216e4576fe2958e18bd941d5d7fd1f4a97b7139591b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): web-astro/src/lib/highlight-store.ts:51 \u00B7 web-astro/src/lib/highlight-store.ts:96 \u2014 the two spans are one implementation copied and then locally edited \u2014 111 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/highlight-store.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b33976e3c19b1d89f669cf46b3d666fe6230d50354e18323943e6d3ae25028"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web-astro/scripts/coding-production-layout.mjs:122 \u00B7 web-astro/scripts/coding-production-layout.mjs:142 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-production-layout.mjs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05f51efc26ac63a016ffa9dcc0ad1fbe240110bb181030fad0ba2a96166abeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): web-astro/scripts/collaboration-society-figures.mjs:215 \u00B7 web-astro/scripts/collaboration-society-figures.mjs:236 \u00B7 web-astro/scripts/collaboration-society-figures.mjs:395 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"web-astro/scripts/collaboration-society-figures.mjs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca2e56e4a205a357e958238ef88ae07b05c491429605c329083e9272c34d13d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): web-astro/scripts/computer-use-layout.mjs:14 \u00B7 web-astro/scripts/evaluation-layout-kit.mjs:37 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/computer-use-layout.mjs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d598dd58742758d84a9e82ca6e849b3b68888e9a48ee8fb78e43fc1a0d48e239"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): web-astro/scripts/chapter3-figure-kit.mjs:7 \u00B7 web-astro/scripts/coding-comparison-layout.mjs:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/chapter3-figure-kit.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc28161dfc9c18073dd716a058a22b30a182ca6e6a018d61226568feb84ecdfa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): web-astro/scripts/evaluation-spectrum-figures.mjs:24 \u00B7 web-astro/scripts/pairwise-figure.mjs:20 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/evaluation-spectrum-figures.mjs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23abb146611ce98dac788146c2301bb0b01e6f288b5b9da569b4b4983864ead"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web-astro/scripts/async-architecture-layout.mjs:79 \u00B7 web-astro/scripts/voice-architecture-layout.mjs:78 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/async-architecture-layout.mjs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"615f8096d3222c4ea03eabf57756b75f4a7225dead68dae0b0e5a77e8f5f4506"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web-astro/scripts/coding-application-layout.mjs:552 \u00B7 web-astro/scripts/coding-application-layout.mjs:821 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a191fface2236b6544248ab49c57ead2aacd7ea5aa6b80298a50aa4e25638ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web-astro/scripts/coding-comparison-layout.mjs:138 \u00B7 web-astro/scripts/coding-comparison-layout.mjs:298 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-comparison-layout.mjs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f749d4fc9c6fd4278f20146c3a078bfff91054dfd2ff2c64e6a58406edff7040"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): web-astro/scripts/collaboration-society-figures.mjs:73 \u00B7 web-astro/scripts/collaboration-society-figures.mjs:166 \u00B7 web-astro/scripts/collaboration-society-figures.mjs:291 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/collaboration-society-figures.mjs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b5fd85aa6eb34d31b36014170aac962532fe26a943715c35df1625eca77944"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): web-astro/scripts/retrieval-structure-layout.mjs:342 \u00B7 web-astro/scripts/retrieval-structure-layout.mjs:356 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/retrieval-structure-layout.mjs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc505f2af7556b72d61907258b6a2be05307c96703a60827243d3cfba540a731"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): chapter2/attention_visualization/frontend/components/AttentionModal.tsx:374 \u00B7 chapter2/attention_visualization/frontend/components/AttentionModal.tsx:386 \u00B7 chapter2/attention_visualization/frontend/components/AttentionModal.tsx:424 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it 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":"chapter2/attention_visualization/frontend/components/AttentionModal.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b67380033cc31ec3e6feaab2836c8dbf9f044382d6f51b9a0d8f28eb3ff37ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web-astro/scripts/coding-comparison-layout.mjs:182 \u00B7 web-astro/scripts/coding-comparison-layout.mjs:193 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-comparison-layout.mjs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d6f780b3d61f9fd8a6ba666ddc1088e8ace22afd3864cab71b9051f742586a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web-astro/scripts/collaboration-context-figures.mjs:119 \u00B7 web-astro/scripts/collaboration-context-figures.mjs:143 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/collaboration-context-figures.mjs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6a396325f3dda3342284717464239790949839c22770e9b648a03768afe6f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): web-astro/scripts/collaboration-manager-figures.mjs:78 \u00B7 web-astro/scripts/collaboration-society-figures.mjs:56 \u00B7 web-astro/scripts/evolution-methods-figures.mjs:75 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/collaboration-manager-figures.mjs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6918abcb68ddcb94b35efad3ea75e55e8d6a57bd2fc577d62640e97e1087d2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web-astro/scripts/collaboration-society-figures.mjs:266 \u00B7 web-astro/scripts/collaboration-society-figures.mjs:404 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/collaboration-society-figures.mjs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d59caad677fab539cd4f21f25cce962c8a914d6ab47c10fce0232775799ab82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): web-astro/scripts/evolution-flow-figures.mjs:197 \u00B7 web-astro/scripts/evolution-flow-figures.mjs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/evolution-flow-figures.mjs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"baebc1e3d448e5412c2b61e75c4c94bdc505abbabb333e4d4b681d6574e2cfbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): web-astro/scripts/prepare-assets.mjs:128 \u00B7 web-astro/scripts/prepare-assets.mjs:140 \u00B7 web-astro/scripts/prepare-assets.mjs:168 \u00B7 web-astro/scripts/prepare-assets.mjs:180 \u00B7 \u002B1 more site(s) not listed \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":"web-astro/scripts/prepare-assets.mjs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ea4248564b27d715299f0d79906f26ba05159eb7d4d6e17a44457e34958c72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): chapter6/live-audio/backend/server.js:921 \u00B7 chapter6/live-audio/backend/server.js: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"515065f26ac0a22116fb6596d07a73e2c667d9fc3877cbd9c103704de3979b90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web-astro/scripts/agent-loop-figure.mjs:4 \u00B7 web-astro/scripts/context-window-figure.mjs:3 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/agent-loop-figure.mjs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f2fbe973bf0b2549c0f1d58805911c0e48692b8f2f4588e16944da244f50b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): web-astro/scripts/coding-application-layout.mjs:292 \u00B7 web-astro/scripts/coding-application-layout.mjs:312 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0173926a088823ba9878a77e8ca91fc777727b136c8a271b37a953b6a10a7f6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): web-astro/scripts/coding-application-layout.mjs:714 \u00B7 web-astro/scripts/coding-comparison-layout.mjs:117 \u00B7 web-astro/scripts/coding-comparison-layout.mjs:289 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd50b53286f16fce2ba3a545a815b6709bae4e67285a5d868fd02b0cf20a7294"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web-astro/scripts/evaluation-overview-figures.mjs:170 \u00B7 web-astro/scripts/evaluation-overview-figures.mjs:355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/evaluation-overview-figures.mjs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbf8843cca80e99c346efb414477c7aca36ac59784bbf30086162c4cec91a6ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): web-astro/scripts/retrieval-structure-layout.mjs:168 \u00B7 web-astro/scripts/retrieval-structure-layout.mjs: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/retrieval-structure-layout.mjs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"376007845aa2304a416389829026ca1fd66c7eb0bab452fc05e3bd79ac7dea14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): chapter2/attention_visualization/frontend/components/AttentionModal.tsx:146 \u00B7 chapter2/attention_visualization/frontend/components/AttentionPreview.tsx:43 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionModal.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ea01e67e58f98718cda62f15b2941b46f090065ac5722ab508aade4159eba8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): chapter2/attention_visualization/frontend/components/AttentionStats.tsx:159 \u00B7 chapter2/attention_visualization/frontend/pages/index.tsx:320 \u00B7 chapter2/attention_visualization/frontend/pages/index.tsx:328 \u2014 the 3 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionStats.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"355fbd33bb8062061e6506f375ca42eaab52bf2b2674c338480c02cca35118fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): extras/lang-switcher.js:456 \u00B7 extras/lang-switcher.js:467 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bf2b5574f0a860a802c026ab4c0261aff028fb485a4de2c12f884019b0ec4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): slides/chapter1-pilot.mjs:13 \u00B7 slides/generate.mjs:58 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/chapter1-pilot.mjs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf64bed2e78213c17ab0488147d55a7de1f0c29e2e46e0903af5e8b09d664c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web-astro/scripts/async-architecture-layout.mjs:5 \u00B7 web-astro/scripts/coding-production-layout.mjs:6 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/async-architecture-layout.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb317d947d8764777a22e2c8ed9bfd16aa9fa05e4403b7dfcf7c06198ed3465"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web-astro/scripts/async-architecture-layout.mjs:158 \u00B7 web-astro/scripts/async-architecture-layout.mjs:655 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/async-architecture-layout.mjs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e2ab7eeea67e0ae77594dadf636edae6fb57954b6fbf75be561c270a8dadfb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web-astro/scripts/coding-application-layout.mjs:526 \u00B7 web-astro/scripts/coding-application-layout.mjs:807 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"8663324cf85c89eee7ff65bdb4a88c7d50d0958aabd147c735299f9a7b22faf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): web-astro/scripts/coding-application-layout.mjs:28 \u00B7 web-astro/scripts/coding-comparison-layout.mjs:56 \u00B7 web-astro/scripts/memory-foundation-layout.mjs:227 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-application-layout.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1634113eac3b7c7491b81834a39f2a7afca0c0f0fecfa809c33e248f7790e83d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): web-astro/scripts/prepare-assets.mjs:210 \u00B7 web-astro/scripts/prepare-assets.mjs:218 \u00B7 web-astro/scripts/prepare-assets.mjs:226 \u00B7 web-astro/scripts/prepare-assets.mjs:234 \u00B7 \u002B1 more site(s) not listed \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":"web-astro/scripts/prepare-assets.mjs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3cde0a1e60b16c1a80bf2fad8a1f5d968ac167310c58959d8d53695f60d39d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): web-astro/scripts/retrieval-structure-layout.mjs:194 \u00B7 web-astro/scripts/retrieval-structure-layout.mjs:296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/retrieval-structure-layout.mjs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"146770c7398515f2e468324d133bef34a16a6b2ecc6f830b495884c50769404f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): chapter6/live-audio/backend/server.js:611 \u00B7 chapter6/live-audio/backend/server.js:988 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"f219d6662fa7f4b9e38fc8e3e4e42ccd349c00eb3268fc21a4433e5d078062d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): chapter6/live-audio/frontend/components/ui/card.tsx:5 \u00B7 chapter6/live-audio/frontend/components/ui/card.tsx:20 \u00B7 chapter6/live-audio/frontend/components/ui/card.tsx:32 \u00B7 chapter6/live-audio/frontend/components/ui/card.tsx:47 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/components/ui/card.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92c87f0eba8958f59700dede47916e4a23ea532d8bcd9ab702610fbbd4c74e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): web-astro/scripts/coding-comparison-layout.mjs:15 \u00B7 web-astro/scripts/pairwise-figure.mjs:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 54 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-comparison-layout.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0e17795fe0eacf0b5d6eb0471752b1505c86641172488979219cd723d1078d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web-astro/scripts/evaluation-overview-figures.mjs:65 \u00B7 web-astro/scripts/voice-architecture-layout.mjs:63 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/evaluation-overview-figures.mjs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1030968721d53fa1713e2748b8c3e03d8d07fb6aa25fbd285681b275b2c3b6e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): web-astro/scripts/retrieval-workflow-layout.mjs:81 \u00B7 web-astro/scripts/retrieval-workflow-layout.mjs:104 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/retrieval-workflow-layout.mjs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c212a8b03f3489c515cdaa65e1047dfa8e1e3413ffc526b57b5315a96254afa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): chapter6/live-audio/backend/run_real_validation.js:169 \u00B7 chapter6/live-audio/backend/run_real_validation.js:291 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/run_real_validation.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0367a6ab0e1eebb24df3fd8868d2adcd1485d979cd612114db869683dcdf044"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): chapter6/live-audio/backend/server.js:432 \u00B7 chapter6/live-audio/backend/test_llm.js:39 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5b375c2aaee2542d38da304911b812a600a3c6413df619a521efec26e6217a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): extras/lang-switcher.js:116 \u00B7 extras/lang-switcher.js:124 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2cd58df3c259194f7a9aebffaa7b9bf9414e6d25bae76fed2f67b4d94718da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web-astro/scripts/coding-core-layout.mjs:5 \u00B7 web-astro/scripts/tool-protocol-layout.mjs:1 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/coding-core-layout.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c29235bd3e80d98f52f13736c1f6b3ef705c96422b4b24982ede2c4371a2a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): web-astro/scripts/collaboration-manager-figures.mjs:271 \u00B7 web-astro/scripts/collaboration-manager-figures.mjs:383 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/collaboration-manager-figures.mjs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"264631d960edbb54f193fb0e3a465965276521f390e6ab3bcec12b99745349c2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:third-party-deep-import]: chapter6/live-audio/frontend/pages/index.tsx:8 imports react-syntax-highlighter/dist/cjs/styles/prism, reaching past a declared dependency\u0027s public entry into its build output \u2014 that path is the package\u0027s toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package\u0027s documented entry point instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd206d0ab6865b7b3b5467f8cb0e4dcac4db0bc39134d459378a0ce146aa5bbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 65, cognitive 57): walk has cyclomatic complexity 65 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/book-markdown.mjs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"97eee2683b778faff5ad1934a637271931c7749c9381b35c52592fc071323dbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 55, cognitive 127): (anonymous) has cyclomatic complexity 55 and cognitive complexity 127; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/build.test.mjs"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d637703f66b9ea8d006f248cf6640201dda182bf6d8e259bb03dd7817fadb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 54, cognitive 97): main has cyclomatic complexity 54 and cognitive complexity 97; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/review.mjs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abe31603715a1aee1e1412dd4daf90313de5da9c851fd1b5b1710a49aa15e67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateExperimentEvidence (cyclomatic 50, cognitive 25): validateExperimentEvidence has cyclomatic complexity 50 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/experiment_validation.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c4122fa18943198179cb23c2661dbf01ac60da1a22435c4cca88b3584d24eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onmessage (cyclomatic 39, cognitive 64): onmessage has cyclomatic complexity 39 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"55906f8e5b6918fa5046453fdbffad5199ee2085d933e9aad490c718798796e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function translatePath (cyclomatic 28, cognitive 34): translatePath has cyclomatic complexity 28 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c19fd570c9c14ea1e637b33265bfb1b42d84c83c690bbd32c5399651e12552"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateLesson (cyclomatic 28, cognitive 33): validateLesson has cyclomatic complexity 28 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/generate.mjs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae8970ac052b2f66c7bd3c9f37ca4c9b088bff85106d737f3c5df3f35636cc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 13): (anonymous) has cyclomatic complexity 27 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/annotations.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"3407e5e86e6411583de78e40e90e8b25301450a93a04d2e073eeb69ebf1fa331"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rewriteSidebar (cyclomatic 24, cognitive 58): rewriteSidebar has cyclomatic complexity 24 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09944267c712ca3261b9c8a771f3bdf8e50cba5f4590dd777d0b1ab66452685"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Home (cyclomatic 24, cognitive 20): Home has cyclomatic complexity 24 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e314c6afb60c45c39641c985416827c192e63e4ef9e2f55b9a875a09de9e680d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 23, cognitive 28): main has cyclomatic complexity 23 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/generate.mjs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31c06fe0c48dec145a8a571729b1bc024c34743615ebc93e4b5bc758f515cfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 29): (anonymous) has cyclomatic complexity 22 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce491a564c8f663df653ef9bc831a0ea91555697a4ff3f7edd126cd7f591d21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 50): (anonymous) has cyclomatic complexity 21 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/retrieval-workflow-layout.test.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6dc9a7743f66e0d6d479a6c2884492b3edd6ed522e72d9c46f9de3273cf6b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runLlm (cyclomatic 21, cognitive 28): runLlm has cyclomatic complexity 21 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/run_real_validation.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b9ed22e20ec1d389c838d3e6f7464d556752fe5dfb7e019d66f6b89c161a32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function color (cyclomatic 21, cognitive 27): color has cyclomatic complexity 21 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/figure-style.mjs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6cf42ee706c32a394c129a650f23328eaffd908abf2473e8972fff4af55a8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectLang (cyclomatic 20, cognitive 26): detectLang has cyclomatic complexity 20 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef61096ed760f1ee2cca4342e0ed707403994968df4c6869853ed79d28835f4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCompleteSentence (cyclomatic 20, cognitive 22): isCompleteSentence has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc73ac8b7d2828de70942842c2c47bb23d50b64cec8fe2243153cf8a201bc4e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 15): (anonymous) has cyclomatic complexity 20 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/highlights.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"026ba9a1ed8e0212e334cc2e521dac018b7ea6df5037877232c8ee10129bfaf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slugForPath (cyclomatic 17, cognitive 24): slugForPath has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/search-index-router.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fecfd1006f0bb21d4e3ae8484d45c6620c0a3c6690c3004c7b0c15dc7ea0f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function process (cyclomatic 16, cognitive 32): process has cyclomatic complexity 16 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/public/audioWorklet.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ac6b5f7a75051933fa92970183f7ec6848c3fe9c2d4170a8beb6e98a8d8e02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 16, cognitive 24): render has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42dd6f343266b318e1ee787754f7c19ca7eb50ac77082a90bebd2023bf86fb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 37): (anonymous) has cyclomatic complexity 15 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"631ca89a4fc0e122224ff68954b252f4d506d4bb1f7086d658b6adb149f3beae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 15, cognitive 33): render has cyclomatic complexity 15 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/highlights.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd91b5391c565766d8ef7fe0d9e0c1d99f8e2c438b718ccfca37041bde1b3666"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 17): (anonymous) has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/evolution-flow-figures.mjs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f982ba1f98084d6170d85f108d629fc7c782b0fbe7d905059b52b3aedd889b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transcribe (cyclomatic 14, cognitive 13): transcribe has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/asrProviders.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a03ffcc76261f596a8a4313371d9f48560fbe639260c1b4b186d9eead635df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transcribe (cyclomatic 14, cognitive 12): transcribe has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/asrProviders.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d882c53c93c7dfe371b636e0c2bee011076822259d33f2178edfeb500977c55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 20): (anonymous) has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d508de1029e7a9b77a1d378c99b44e1b96f974cbf5c472dabf352f5394351b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadTrajectories (cyclomatic 13, cognitive 18): loadTrajectories has cyclomatic complexity 13 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c974c26a1cd5999278dc290df87531ac94dad368837945e857e4f5997e2505b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 17): (anonymous) has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionModal.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"040f28c727559775bd1e37130347adf73fd423de2fba9f32c8e7b1576c8e43b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 13, cognitive 15): walk has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/book-markdown.mjs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc97331d33f15292ab12cd91a7e6a8ea5e21edecf42e4ff8766905b448f43ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 20): (anonymous) has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac14b577028aed616d5b4d65f552410cf1dc917b66be8ef4f709e959787f5ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitSlides (cyclomatic 12, cognitive 17): splitSlides has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/review.mjs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1843f16e7b13da152d8fc66d2d8e3ae6b3935c3c272a06d7705998d3fc3cf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setSidebarCollapsed (cyclomatic 12, cognitive 13): setSidebarCollapsed has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/nav-collapse.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbaa3e7c90b8fd7244485e049f84cf7d0b8ffb91a04222108108336b49c8cd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderLesson (cyclomatic 12, cognitive 13): renderLesson has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/generate.mjs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ca7780486df47983b5baa15a70df7fb86a4a1334971423b3a22eb85016640f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 13): (anonymous) has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/chapter3-figure-kit.mjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"295c94a45d6ac4e0fd9e3c60ffd6c5b8e9ef9bb3226331e5b81a2f6cefdcd503"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function siteBasePath (cyclomatic 12, cognitive 12): siteBasePath has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e524af1a8fd40fed859b5a3a04d1aa32645d1ca9b695f000e6d82b4fb85144d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function synthesize (cyclomatic 12, cognitive 11): synthesize has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/tests/test-tts-providers.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ada879d9ac1bcd6f43894f26bab1faee524fc84cf462443612b700060634b91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startRecording (cyclomatic 12, cognitive 11): startRecording has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bc8d36b3555eed4cffbfae7c38dbaebe6a1cb02dabf67160df586eec61fc35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/memory-foundation-layout.test.mjs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"32be83d4656792ea45450d97b94043501563b2ebca8f18631e14ee5a09d2eb35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function activateMark (cyclomatic 12, cognitive 10): activateMark has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/highlights.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"67de0432976209fefbe5313a1252356f0c4631ef0d27504b2811aaac1cbd0aad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processTTSQueue (cyclomatic 11, cognitive 17): processTTSQueue has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd01e6dc488c9d66ef9fdd781ee59957693458a4f56ac5cd99b1ef6135a0bec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processSpeechSegment (cyclomatic 11, cognitive 14): processSpeechSegment has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"478967943041e969141540a48ca15880e5e01b353c51007c2e324708019afd14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/tests/test-llm-providers.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f3dc38e6374c8ab73b703e79502c29ca47bbb8a549e3be62a0bab1a6751344"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/phone-agent/static/app.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"71969f36f186bd6fcf43134dfe97d1900ed93157cfa5a7b82064b92ba9442324"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAsr (cyclomatic 11, cognitive 9): runAsr has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/run_real_validation.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b590ed3702112a5bdde0a86b52efb1eb1c756b415f4928c5b81e333fa67493dd"}},{"ruleId":"R3","level":"warning","message":{"text":"chapter6/live-audio/backend/server.js: 884 lines of code: chapter6/live-audio/backend/server.js has 884 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c4262a780a3b41928732046774ad3d3e909045d31150c57d9c8d0d44d9e353"}},{"ruleId":"R3","level":"warning","message":{"text":"slides/chapter1-pilot.mjs: 708 lines of code: slides/chapter1-pilot.mjs has 708 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/chapter1-pilot.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe1adc2d45a1fed69d6896b60dc07a5b714444c51da358bc75658c638b5391a"}},{"ruleId":"R3","level":"warning","message":{"text":"chapter6/live-audio/frontend/pages/index.tsx: 667 lines of code: chapter6/live-audio/frontend/pages/index.tsx has 667 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20cbf58c1545a2b5fa2112678bd03509f066e78b191655a6e4c1787382d3c49"}},{"ruleId":"R3","level":"warning","message":{"text":"extras/lang-switcher.js: 641 lines of code: extras/lang-switcher.js has 641 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"594be66f2f0898b20988feb7f16c3a60ae83f5a9cccf85978245aec62082b91d"}},{"ruleId":"R3","level":"warning","message":{"text":"web-astro/src/scripts/highlights.ts: 529 lines of code: web-astro/src/scripts/highlights.ts has 529 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/highlights.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a121acdf0900c5531f2a1fcd9e3f4c4c49f144f9746c0cc780a01d3b864ead"}},{"ruleId":"R3","level":"warning","message":{"text":"slides/generate.mjs: 507 lines of code: slides/generate.mjs has 507 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/generate.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b81961f7021acf83b0a9720539544307b5ed5075f8eee0fc9fb93f8659c43e"}},{"ruleId":"R3","level":"warning","message":{"text":"chapter2/attention_visualization/frontend/components/AttentionModal.tsx: 420 lines of code: chapter2/attention_visualization/frontend/components/AttentionModal.tsx has 420 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d6964e90d5cd06742d236ec5a183895d32205acf0f94b38c380866cd306e9c"}},{"ruleId":"R3","level":"warning","message":{"text":"chapter6/live-audio/backend/run_real_validation.js: 420 lines of code: chapter6/live-audio/backend/run_real_validation.js has 420 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/run_real_validation.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b880e0c05cd6a0c4bb3ba6ee3def1589f503e8dbaee8a34444feb1c84a89d8e"}},{"ruleId":"R3","level":"warning","message":{"text":"extras/agent-lab/agent-trajectory.js: 419 lines of code: extras/agent-lab/agent-trajectory.js has 419 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/agent-lab/agent-trajectory.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea294bc8724d7792356de4b8b5c6312f690e6d177efb21e49e3dd77101d43861"}},{"ruleId":"R3","level":"warning","message":{"text":"extras/auto-translate.js: 410 lines of code: extras/auto-translate.js has 410 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/auto-translate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbb9d4c8bc727b33e0952d7820b644825c228203bc77d577a608510ab42397e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb829cd72c66396c823e7da6de61c18f0979b3bdc688a0414c0f4e3bb274320a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/chapter1-pilot.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8800b1fe06878a0a326dcf84984f7fcd745924049d9fec19702dc69d6522751"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/pages/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d37bf615d04de2cc0c8bcf693a7c0046eaca3abf6ec1620ed027ed4ccd3aec"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf0dc75f3824e3c1a9aea077113976957133a4fa99abb139282080e2fd6a3cc0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/generate.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c37fc8b8229ba8ffa3114c8011f46caa6cd8fd88aa4e773a48b2afd388ab42f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/highlights.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d56a59fcd2333db93eb9a64000c19e3f7545fcc88421777737e27478b7118e8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionModal.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac827c629bd11f8881d405526741d58060ad7e3be7fdfe859ed5709defa246f9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/agent-lab/agent-trajectory.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8689f1efb95561a0a4bbc9675a68566f96de068282a3a00234e0e5dc9c967b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/run_real_validation.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f80cee3ea025304c8c32ea1207779b69bbacead9721467e176fb10da54a1a45"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d92a8a4d46ffa4b38b502234acf8de6ccfdad3cdab3913889ab28c6b8d3998b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/prepare-assets.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ba963a5636ebdbc7aa7a3cb4cdc6a84ba4b63e9cbe60690593bcc05fbb96e0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/vad.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"281ce2bdb314d9c9a5bfcb24bd5525f03e89f67c19b9f4b6dabc421a77e3d86a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/phone-agent/static/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7bff5e910cafaf589aae0d1b073f59aa4ff0b3fc0ed18d88604f4871c0e437"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/review.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd137b82151b126ea97c5140a798c9ea3bbe732248a9d9cceac843825eb4bf6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/textProcessor.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf6a582c06fa674ed34fa8c37630ca5769e96ca64f38fbaac8f71d425435d29"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/note-editor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a66406e8d002ccaeb05b0a1f8ce103dc4b74d2bfdf52678beaa72e5e54a416a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/nav-collapse.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"750b04b3d0adac99aac1345173d9475871f0bebc3777c0b1afdb4b35a2544324"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/machine-translation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da0e891420b17f153d208c8fd21ee4be6a300d3a52fe78ffae85830bbaab905"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionStats.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b1e0ac8f23dd7235f1939c87d8c581af4627cbcd8b765a49d2d9fb0aabdf0b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/context-flow-figures.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f58b40323bedb5b8b8946ca65992b247f64b5236b5d955848f65c5a4c8ab96"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionPreview.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9de81fec0de24e3c05d0bc985dc17431117bf0c7b97eba49dee814a85e376cf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/public/audioWorklet.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f761bbe3a7274789095460fd66a825a8a888cf3e7968ca21fb5ea29280d0733f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/reading-position.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"669080b73277fcbe418bfd000e5f1694fac5f8b161cb3900a75c3f62476e30b1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionHeatmap.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"240d9b377f3479ff4a23130859d2502886581f700a3d25bc5b430dbb45a25e4b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/highlight-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c06ef898824cf88cec0c9226ecc8ed1df6b5bcd5a36b250dcd4e33696aec95a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/figure-viewer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42d03c03510b74ac5c7f5c65614244c9cec57f57ebd163e95c44f2bd533625c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/check-setup.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d70e1c767cd4336f03fd1a8f89c4018c331e986ed292c484f2695642ca1ec75"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/check-deployment.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb93a2b193d1d6a8421a27aaf356c34376b052cba93f0c4cf0e7f2670ecbeb2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/run-tests.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fa9102c96d5b2fbb61aca0d801f3292f27de9a2561d44172468fac0c90fbdf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/search-index-router.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb8c51180be8b84f74f3bdb23a391213987f91b259c9e699315b9caeee28d92"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/trajectory-figure.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"356c60d71f701b681cc9bf674c3a56a200b613f7a3004801fce3566bf5217d63"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/build.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e12dec464304b7531ae8eeeddec9767534b303909354787ff20639cc88e288"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/test_llm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73aa129612718089a7c29a35933e71f3142d98944b8f9db99ceb32b8510c3ec0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/components/ui/card.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d13c78547f53cd75cb616399a208bfc853d15babe42d39d6e69b4af85626848"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/baseline/src/App.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b084820f3e186f31f3bd9fe66accf0a5848827190c3083276c7541fe6aca994b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/frontend/src/App.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edec95f1ae4fddd2e4c2cecab1ac8a699356c9b594163ad1e0c3fad51afa9dd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/frontend/src/App.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a2ac4a4ad8c972dd40f3691e6fff30ec8b67e2a206f2f4f09f048d1b2c1c9bf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/frontend/src/App.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7360e600ca317f9de61e225fe4d72e8d54cb463b598a7dc644df2c2f2983a1d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/TestCaseSelector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1050b891d9b2362347ecb3a1bd3c39bd292cf0fbe7f15f2a148f88ed76e0ff9f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/agent-loop-figure.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f01dd2d9c8765c2eec821a894c05525ad05ef82941fae939845fa626421adc4"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/book.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b3396ca8ccd6e96aa68a960fd669e40bee665ce4dcd4c6d5fa80b659b058d2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/PromptDisplay.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a2f108ba3af4c57428dba93b635a819d3ef3dc8a7d36358de82b6f12636c9a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/ResponseDisplay.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a133e60229178ff091548a07ac298b3a41b85e9c61523736490e491f76279212"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/components/ui/button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5d76e547a84dccf7c68af5636bf53118e37ba76ed73db9ecda6e599bf327d2"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/mermaid-init.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a3eb5222aa760b447f5d44c0d8364b6e671f517ca2bdc93d02181c7c9769fb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/context-window-figure.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e7bc34f53c82389866160db36a42cdfc04c1653db6a09b330ef8b274e0f8ad"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/i18n.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"883ec4fe3d78dcbb2125752ba63299c4e508204e431f3094ab49aa552ab1a91d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/mathjax.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fedee7e0d1de6615b1311938790d62d4dd07af7bbe1107adf8878ba6b27d217"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/build-all.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a59c447ec76d7ae8d3c6380150be44360fa90d9f29ed7d0bff0cbef99f4d1f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/runs/exp2-6-kimi-pptx-20260731-v1/workspace/make-assets.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33cadad14f7c4c45f6ac8930338aba211cf1bbc82bb64588c859afb2f9e10c1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/test_number_to_words.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d84b3d8ae170cc78c344dc159364d757d8d4ede3878d8af2b700dd64a896727"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/test_markdown_snake_case.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1866e8bfc57519f151e31956784f8205168d753c9a4d83a3e741b04841e1733"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/frontend/src/main.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4535cfcc70ce872e724827c58f0524b24742ac39249d068a757c76d63d1c5e5e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/frontend/src/main.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f2e88dcf96a756f742ed22413dd908ea4af16396f07abbfcf96a9dd4d47562"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/frontend/src/main.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d625045b5baae3a3c0212705de6c5a7b4d57b00f97537a556a9e24c5bd87dd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/pages/_app.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3982401a4f8154fe12e09fd87f570c43624488a25952cfd9b0de6d37e44046dd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/lib/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"105a3dd7bfbff777285e71810b9e20a81e7709faa7de2325eaa45efdc81e4cbb"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/pages/_app.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa227ce82f2263e5560b230d7c816b362a8c86d520bd03922714ad99ac3b0002"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/validation/experiment_4_4/real_mcp_20260730T062500Z/workspace/valid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edc82fc99756857014859daca0a3df0ff666d08b75605304c0ea1f48b1912ee"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/validation/experiment_4_4/real_mcp_20260730T070500Z/workspace/valid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c77facc87bc799b8f228199e9a6e74323d1d45be2221b115915f033ca1649ab"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/validation/experiment_4_4/real_mcp_gui_20260802T093348Z/workspace/valid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c35df2e34354122e9e1293804512f16694bf9d0852e9aed24ecefd4726e6f378"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/validation/experiment_4_4/real_mcp_gui_20260802T093657Z/workspace/valid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3366e940ccecdf2b798e2840334500fdcc3c496d46c615027a7dec82c1319fcc"}},{"ruleId":"R6","level":"warning","message":{"text":"This package\u0027s lint script runs in no CI job: The package in \u0060chapter2/attention_visualization/frontend\u0060 declares the lint script \u0060lint\u0060 (\u0060next lint\u0060), but no step of this repository\u0027s CI runs it, by name, through another script, a Makefile target or a workspace runner, and no CI step runs the linter over the package itself. The rules it sets are enforced nowhere a pull request can fail. Run it in CI: a step that runs \u0060npm run lint\u0060 in \u0060chapter2/attention_visualization/frontend\u0060 (or the workspace\u0027s task runner)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/package.json"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6fb0bcf82c954ac70018f9cb4e255909a51bd8639e5d3922f2eeba1325c5c2"}},{"ruleId":"R6","level":"warning","message":{"text":"This package\u0027s lint script runs in no CI job: The package in \u0060chapter6/live-audio/frontend\u0060 declares the lint script \u0060lint\u0060 (\u0060next lint\u0060), but no step of this repository\u0027s CI runs it, by name, through another script, a Makefile target or a workspace runner, and no CI step runs the linter over the package itself. The rules it sets are enforced nowhere a pull request can fail. Run it in CI: a step that runs \u0060npm run lint\u0060 in \u0060chapter6/live-audio/frontend\u0060 (or the workspace\u0027s task runner)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/package.json"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"24df451e7cf79f65c84263e7a7f383c79bace077c75725c674e6de4044603fa9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~706 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/lang-switcher.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4315fb1728a7a091ec5c521d1507a2ea53c446101ea67f58c411870b1f1f9317"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~531 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/highlights.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24acd119e27a7f0b551100cbcf1db5872a53e38012a4c20a1c63b7b92c991b42"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~472 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/auto-translate.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c76b7204d49c8b6a897ca347e5403189301fd218a0d027d6028781be18838df"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~453 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/agent-lab/agent-trajectory.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3280e53bf4afe8d06f3bf2bf38925d78159e48aa936b1fce9d45506d36447e91"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~194 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web-astro/src/scripts/highlights.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/note-editor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2aa648ab0523dbae064bd0afa5cdd006a774fbaefefaa2290c15719a6a3fdd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~176 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/nav-collapse.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a1cd9a07f75721069e389feb540ea75dc3d8576cb4d36cd68b944989bbff60"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~174 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/machine-translation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5c8670f12de0bbe6e6958052101d0cf0a949613d6fe1407bfcf208d9a68918"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~161 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/reading-position.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec3880fed5ac68670cadc88520e3053b85d9496ea5ef6d6bb1f1a4f18b4141a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~158 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/AttentionHeatmap.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9b8055a527c181cc463ec5ba543402f1ce5e77f058f02640426c7bb1fe31d6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~120 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), but 2 in-repo import(s) from 2 other file(s) do name it (web-astro/src/scripts/highlights.ts, web-astro/src/scripts/note-editor.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/highlight-store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25938ad36ad854935cfd84f865dada90caafa75a0ab2b11bc8292d6bce1aa56e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~115 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/figure-viewer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3c50724f94d9cdebf351647f48f5c30ba8d1c91e92327bcb147d3b4159fe46"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~89 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/search-index-router.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1296f51e5079956bf9c4975966c771ac1844de624e7a0342283dee82e21b05"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~83 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/test_llm.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a8469ac380ab8bf4af30de21cee02d19bcb194e99fb41c11f6210ef186ee43"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~78 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/baseline/src/App.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"109dd5ea2d09e771bbcbb5fec592608d211e78bd5e8afe80320cfc35018a66dc"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~72 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/components/TestCaseSelector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01299dbc5179ae85f1f68323408ccc5479ec97418933fbcde0ec570b02d5d079"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~63 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/book.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e823c8e0ba9a842bb68cfa187320d0c670043b3bce70fa6291a29ae7190c7f75"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~41 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/mermaid-init.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed5d87410f2f8517358ffe95efd81e6d85f781853aaf7f7d29b6e7d944949db"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~40 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), but 3 in-repo import(s) from 3 other file(s) do name it (web-astro/src/lib/book.ts, web-astro/src/scripts/highlights.ts, web-astro/src/scripts/note-editor.ts) \u2014 every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/lib/i18n.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ea977de6fe9ce932aa50a55c56cac9f0f22be50e0979f50eec7c80fae19763"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~37 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/mathjax.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9287775847fc9f50a1098b6a3fb3d2349a8cf2cacfd3c27787531143a6b6e4ef"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~13 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/test_number_to_words.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"016ca5d3d7e5463169a174af43aa321718e03adc2fafc75be5f965d2a9b730ed"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~12 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/test_markdown_snake_case.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3892527339968f34eb99870c7c9307b90f856d3621761d883cd6bc68d1a2bb5f"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/validation/experiment_4_4/real_mcp_20260730T062500Z/workspace/valid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5756c4995c18fb006b7b48eaab042add02546bd98cd89fc6d0c1e38e649be048"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/validation/experiment_4_4/real_mcp_20260730T070500Z/workspace/valid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d443b932e4bcd1216a279a0fb50e356bf6ff11736943cec368cedda11c885e5c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/validation/experiment_4_4/real_mcp_gui_20260802T093348Z/workspace/valid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07c6e795b1ce9d85bfcb51440d5270c7b819070ed11191cfb805bf736d3a20d"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~2 LoC): no import path from any entry point (20 application, 15 tooling, 40 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/validation/experiment_4_4/real_mcp_gui_20260802T093657Z/workspace/valid.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"143931614652db19045a29ac96130b8862f652ed98da7f265b93c14f0e524065"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027initReaderNavigation\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/reader-navigation.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"c871ac54711bb2ca98ceb8d4d1f4d68c524b1a0140504861df8fc05589eaa8d2"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027escapeHtml\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/chapter1-pilot.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e788a92282cb5ab928bf2f6b792be6524fe9b74db2dc141a70be9368ab4dcc"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027mdast-util-from-markdown\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/build.test.mjs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5274df3d3c17a3ec7b738526a004a77a6caeb106e0684f2ed78a7c2b30c800c"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027rehype-stringify\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/book-math.test.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbcf438d0790a83463f6d619eb336f467275400e254dcd5bd70b929c68b4741"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027remark-parse\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/book-math.test.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2e3d1b7794afa908cc98aea0eba434e5984b7f68f06bca1ff267d3f9da022e"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027remark-rehype\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/book-math.test.mjs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad43d5e79c4d919f4175ff73e4c69a9e06a8154262d78ed5c511fd517f264c7"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027unified\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/scripts/book-math.test.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edc91fae72777debbf1ff0833dddd55bb326f86a108bbd23a9b2ba26b263e25"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027clsx\u0027: Declared in chapter2/attention_visualization/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":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/package.json"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"18331462e45511b88c8d90cb9a78259a8fb7e2909fc190c85169a580990456de"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027tailwind-merge\u0027: Declared in chapter2/attention_visualization/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":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/package.json"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3090b2221ea716c05f472df125acba98b756c01534175d140fb752f1eb43d9"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@slidev/cli\u0027: Declared in chapter5/paper-to-ppt/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":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/paper-to-ppt/package.json"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c41bcd6dc2170c84b500754811e5c8193496bdfc5433ba55fda2b3bce20864"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@slidev/theme-default\u0027: Declared in chapter5/paper-to-ppt/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":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/paper-to-ppt/package.json"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed6c722077541698bf46ab311a632f20d4e9132a2a210a1bb8dd5526b8a12bd"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027node-wav\u0027: Declared in chapter6/live-audio/backend/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":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/package.json"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ad2969560f9397adfa1519969f1a2c502e78a7aed29311671850afd35e6fba"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027wav\u0027: Declared in chapter6/live-audio/backend/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":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/package.json"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a63d6932fed781ded2485ca233ebb1c1becbbb3832b2e5748c4e95e89ae095e3"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027web-audio-resampler\u0027: Declared in chapter6/live-audio/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":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/frontend/package.json"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b430a143b8c5da0aa04dc2e4519f4b6de2f59ba641f423eeaf2d412fee8a67"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@slidev/theme-seriph\u0027: Declared in slides/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":[{"physicalLocation":{"artifactLocation":{"uri":"slides/package.json"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1803a93c485df42d1bf58511e9eb58f02f5294df26fe350a46eee22a7c5abfc9"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@fontsource-variable/manrope\u0027: Declared in web-astro/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":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/package.json"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"919599df693424b03ea1a1e4884f01b03952fd456cb95b1c29ed02fd2c120931"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@fontsource-variable/newsreader\u0027: Declared in web-astro/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":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/package.json"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6971e564265c00afaa198bd72d8b099205401e73a825efe0b13caabae9798b8a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027katex\u0027: Declared in web-astro/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":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c1b2bb55d630af96afefb80798ad92d849444dfed4548e53624084ad96d499"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://d3js.org/d3.v7.min.js\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/elo-leaderboard/validation/runs/exp7-7-arena-20260731-v1/leaderboard_animation.html"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6fcc24f9648bd7d0d5f703c725fd40e0c746dfaf58e0eadc7f2809e4cdd398"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"993c19ce54316f66c57ccff16c4b27289dbdfdf14f7776d8bac5703af7e4646c"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"69feb6671fc51e9f9d2e1e7b0fc7399f25f7aaa34d7c9e6d575c0183910ae612"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"24889e4eda942e5cc468c32f7df48caca61faefd223fce5e48708665afe1547c"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1465}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e6697c5684bc6ad7e15ab50212d65a9ac2d6b5af6a310567b4a418c87d64ef"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5bd56062d9ce08e862b44dd897b80648729cc7abfa473174913fecdc32897bd"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/crash_watchdog.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce12ed4ea0f7fbbf335ea766b46e21790837bea7f8c758d5a4289aca43b35443"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/recording_watchdog.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"deaacc23452d91686b0f348c1d4988d16a466265fe5e79a533fc1865377d4963"}},{"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":"chapter6/phone-agent/webrtc_app.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad9ceccade57e23d2691fa5855813a89e94c7a26ed9a86a08213676c6362221"}},{"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":"chapter6/phone-agent/webrtc_app.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c9f74edb9f62af1d698ced2605925f5748d239ff6a161e251eba84ab982517"}},{"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":"chapter4/execution-tools/extended_tools.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69098aec26e412a57f479c3a4c850d4c6506463220ec223352b9343499474c4"}},{"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":"chapter4/execution-tools/extended_tools.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3333c22a504a496b8d7eb6cb9413c1e4c638b3bbd5223ff896ea2467c8f8e9b1"}},{"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":"chapter4/execution-tools/extended_tools.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5eb91b64a293f1f799be58c7defdd7d7cd9060a5dc1e82a728cf35eac6ace6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060jsonData.choices[0]?.delta?.content || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 chapter6/live-audio/backend/server.js, chapter6/live-audio/backend/test_llm.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/server.js"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad7d08b0389b8e539999ac2390895cf69b39a5db374e99be79b671b8573d33f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lesson.experiments.length \u003C 1 || lesson.experiments.length \u003E 3\u0060 appears character-identically in 2 files \u2014 slides/generate.mjs, slides/review.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"slides/generate.mjs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6373ee495499a0b822e532518c11ca3200ea2d4d02280fc671c96c5f0063c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.headers?.[\u0027x-request-id\u0027] || response.headers?.[\u0027request-id\u0027] || null\u0060 appears character-identically in 2 files \u2014 chapter6/live-audio/backend/run_real_validation.js, chapter6/live-audio/backend/utils/providers/asrProviders.js. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/run_real_validation.js"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e42834ecc09e0c70809d419721a726506ff3db01906cb7600b04002d826233"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022average_analysis_recall\u0022 in agentic_metrics and \u0022average_analysis_recall\u0022 in non_agentic_metrics\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag/evaluation/evaluate.py, chapter3/contextual-retrieval/evaluation/evaluate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f0d0bdcf2e0cd1e602aef117e625a04fa75c6b0164878b495ab794d09260aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022average_keyword_recall\u0022 in agentic_metrics and \u0022average_keyword_recall\u0022 in non_agentic_metrics\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag/evaluation/evaluate.py, chapter3/contextual-retrieval/evaluation/evaluate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"52724224e067295c2f5747f65904793e4e8f02adaaa9ba2f2338e7ba8bf93ad2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022average_time\u0022 in agentic_metrics and \u0022average_time\u0022 in non_agentic_metrics\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag/evaluation/evaluate.py, chapter3/contextual-retrieval/evaluation/evaluate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa68cc1ee735f9444ecc5e914bdf02032729030cd148c95bc985bd504399c287"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022cases_with_citations\u0022 in agentic_metrics and \u0022cases_with_citations\u0022 in non_agentic_metrics\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag/evaluation/evaluate.py, chapter3/contextual-retrieval/evaluation/evaluate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d46b35a70d74ed0ebc195ccbc325fdcd22760976e05e8a82331823794649420"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022import\u0022 in error_str or exception_type == \u0022ImportError\u0022\u0060 appears character-identically in 2 files \u2014 chapter2/system-hint/agent.py, chapter6/agent-with-event-trigger/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":"chapter2/system-hint/agent.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f42395786ce4ba7e45c55ed1f43a55921f5d7c01e83ba188b4227702f2c3ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022not found\u0022 in error_str or \u0022no such file\u0022 in error_str or exception_type == \u0022FileNotFoundError\u0022\u0060 appears character-identically in 2 files \u2014 chapter2/system-hint/agent.py, chapter6/agent-with-event-trigger/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":"chapter2/system-hint/agent.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"10fd0263787a525b21eff1adb1341188a91b0f8619b77c57a06d49fb109ad603"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022permission\u0022 in error_str or exception_type == \u0022PermissionError\u0022\u0060 appears character-identically in 2 files \u2014 chapter2/system-hint/agent.py, chapter6/agent-with-event-trigger/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":"chapter2/system-hint/agent.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"9244e13872218ee3acf1399148095407ce6bc67ab173c649379c7ab887d81b7b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022request\u0022 in call and \u0022response\u0022 in call\u0060 appears character-identically in 3 files \u2014 chapter3/contextual-retrieval/campaign.py, chapter3/memory_rag_campaign.py, chapter3/structured-knowledge-extraction/campaign.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/campaign.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"182596e06e094d4d871904bfdf817ce9624e39c1a29a0096e4c14333e7ce56a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0022syntax\u0022 in error_str or exception_type == \u0022SyntaxError\u0022\u0060 appears character-identically in 2 files \u2014 chapter2/system-hint/agent.py, chapter6/agent-with-event-trigger/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":"chapter2/system-hint/agent.py"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83233ec87eb9dbdad01ecabb1c62650b4aa935e991d18c301926d99d2cfdafa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(step \u002B 1) % args.grad_accum == 0 or step == len(loader) - 1\u0060 appears character-identically in 2 files \u2014 chapter8/curly-quote-sft/train_sft.py, chapter8/exact-copy-sft/train_sft.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/curly-quote-sft/train_sft.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"40621ee3c9ba6c1ead1792dd0ed190d39f852d563a909e553c1c0860fcbdc7c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u00600x1100 \u003C= o \u003C= 0x115F or 0x2460 \u003C= o \u003C= 0x24FF or 0x2500 \u003C= o \u003C= 0x257F or 0x25A0 \u003C= o \u003C= 0x25FF or 0x2600 \u003C= o \u003C= 0x27BF or 0x2E80 \u003C= o \u003C= \u2026\u0060 appears character-identically in 6 files \u2014 book-ar/svg_lib.py, book-en/svg_lib.py, book-es/svg_lib.py, book-id/svg_lib.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc8357270b461d338abdb4272e1b1d7b0695d90840e19bc5999608086c5f8b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060OMIT_TITLE and size == FS_TITLE and len(str(content).strip()) \u003E= TITLE_MIN_LEN\u0060 appears character-identically in 6 files \u2014 book-ar/svg_lib.py, book-en/svg_lib.py, book-es/svg_lib.py, book-id/svg_lib.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f352a0727eea9c15e814c4a2952436359797af5b35c3860c201ec2c4cb3c884"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_DELETE_FROM.search(query) and not _HAS_WHERE.search(query)\u0060 appears character-identically in 3 files \u2014 chapter9/harness-safety-gate/evolution.py, chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py, chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/harness-safety-gate/evolution.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d6c8e20049a3de9fa2e1cf8862d635a3c55065444a2a92021bdb2df84a34cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060all(response_ids) and len(set(response_ids)) == len(response_ids)\u0060 appears character-identically in 2 files \u2014 chapter10/multi-role-transfer/package_comparison.py, chapter10/multi-role-transfer/run_official_experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/multi-role-transfer/package_comparison.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a8de3262b3582c055cf14499b0e7f756cd5542f0972f31144ac493ea6e676e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060api_key or Config.get_api_key(self.provider)\u0060 appears character-identically in 2 files \u2014 chapter3/user-memory/agent.py, chapter3/user-memory/conversational_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":"chapter3/user-memory/agent.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdb1c29ea9b43611dd31b9a805e84ff0f5fef1cd843513961400c58f0a5a96f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.model or default_model(args.provider)\u0060 appears character-identically in 2 files \u2014 chapter8/premature-completion-dpo/build_preference_data.py, chapter9/ai-style-skill/evaluate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/premature-completion-dpo/build_preference_data.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad50cd2e143b2e97aeb95601a89ee40ec340f157d435a7205c1219cffb343466"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.out or Path(__file__).parent / \u0022validation\u0022 / \u0022runs\u0022 / datetime.now(timezone.utc).strftime(\u0022exp6-14-%Y%m%dT%H%M%SZ\u0022)\u0060 appears character-identically in 3 files \u2014 chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7cc469c8166889c8ae3ce15f36e8902e36e4eb1869a8c61b88aa9d67a8d1f4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.output_dir or Path(\u0022validation\u0022) / f\u0022real_{stamp}\u0022\u0060 appears character-identically in 2 files \u2014 chapter1/context/run_experiment_1_1.py, chapter1/web-search-agent/run_experiment_1_2.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/run_experiment_1_1.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"5071074da5290aed776009feec41de0b88197e2db2024c07fca87e2ffbde6916"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.output_dir or ROOT / \u0022validation\u0022 / stamp\u0060 appears character-identically in 6 files \u2014 chapter9/browser-use-rpa/run_experiment_9_5.py, chapter9/harness-safety-gate/run_experiment_9_7.py, chapter9/prompt-auto-optimization/run_experiment_9_3.py, chapter9/self-evolution-eval/run_experiment_9_9.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/run_experiment_9_5.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f018eac7fff69819fb708bd74285690b0395cf61b4072d0f960539dd72e969"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060args.repeats \u003C 1 or args.tool_delay \u003C= 0 or args.timeout \u003C= 0\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b47d92bbc156aad42fdd4d7fdb17894168228e2ff1d2decbd359382175c1c49"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060argv[1:] or sorted(glob.glob(os.path.join(IMG, \u0027*.svg\u0027)))\u0060 appears character-identically in 6 files \u2014 book-ar/fit_svg_text.py, book-en/fit_svg_text.py, book-es/fit_svg_text.py, book-id/fit_svg_text.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/fit_svg_text.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2b8deb6359a0cef1ba045bb0109e43dd405c6cebdd6c8f439f88eb3c72af37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arm == \u0022async_steer\u0022 and not steer_target\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86710b896b96c96a715d8c6e18c33a340579f999144062a104409c0c2cf38d2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arm == \u0022steer_reasoning\u0022 and not steer_target and event[\u0022item\u0022][\u0022type\u0022] == \u0022reasoning\u0022\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d7f27b3ff88c99ec04cec66422b8fddf0d578dd8904d7e735d5e1d72386eba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arm == \u0022unsupported_steer\u0022 and not steer_target\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c5cf08869427f50dae22f250932a29bca959aada8f40a8ca15972d66b90090"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060arrow_labels and i - 1 \u003C len(arrow_labels)\u0060 appears character-identically in 6 files \u2014 book-ar/svg_lib.py, book-en/svg_lib.py, book-es/svg_lib.py, book-id/svg_lib.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ac71dee5a4f41251c89c8f6ac448ecd1b1c2e6c17b287eadd46ebcc5257dae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attention_matrix and attention_matrix[0]\u0060 appears character-identically in 2 files \u2014 chapter2/attention_visualization/agent.py, chapter2/attention_visualization/main.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/agent.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"f575b99144f5d789b7ed1eb0868285e27bd61ef8d2c770362fec792c98f255e7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060avail_w \u003C= 0 or _text_width(s, font_size, bold, mono) \u003C= avail_w\u0060 appears character-identically in 6 files \u2014 book-ar/svg_lib.py, book-en/svg_lib.py, book-es/svg_lib.py, book-id/svg_lib.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f191b0076a3783d471e4f83105a1a3a57fa6d9a95c81a4b145bb5ef65182477"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060begin_line is not None or number_lines is not None\u0060 appears character-identically in 2 files \u2014 chapter2/system-hint/agent.py, chapter6/agent-with-event-trigger/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":"chapter2/system-hint/agent.py"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c2eadfa55ddd9d9bdc897d7aa0c49e3d6e71d982ef2698405cf8fce1138d8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bool(answer) and answer.get(\u0022receipt\u0022) == result[\u0022receipt\u0022]\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e5bd6d28b2ea92e95708d82f0326b6833744da3fa39f58c10a86fa85c74d1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bool(first_attempt) and len(api_records) == first_attempt[\u0022steps\u0022]\u0060 appears character-identically in 2 files \u2014 chapter1/learning-from-experience/finalize_experiment_8_2.py, chapter1/learning-from-experience/run_experiment_8_2.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/learning-from-experience/finalize_experiment_8_2.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1851e035ef78fec3eca6ad3635c3dbd55072820925e136a873283a30cc017a46"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bool(orkey) and model.startswith(\u0022gpt-5\u0022)\u0060 appears character-identically in 2 files \u2014 chapter7/agent-cost-analysis/config.py, chapter7/tts-quality-eval/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":"chapter7/agent-cost-analysis/config.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"877ee0807f2993a4ee5cf87ba22e5809307a8d360a55cb7fbe0781f7edd4be89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bool(parent_end) and steers[0][\u0022index\u0022] \u003C parent_end[\u0022index\u0022]\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b106c3956bff8c6bd9c29fa45c5e8dac9e8184da5db2a07ec43b07e28dceb789"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bool(prior_responses) and ( sent[\u0022event\u0022][\u0022previous_response_id\u0022] == prior_responses[-1][\u0022event\u0022][\u0022response\u0022][\u0022id\u0022])\u0060 appears character-identically in 2 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"88851e3ed6a07676105913b0d131d738bf0f6507496305c407ecde4ffe99514b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bool(progress) and progress[0][\u0022index\u0022] \u003C terminals[0][\u0022index\u0022]\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc227ac11ddec53b8e708529fbbc19fb5316b2c5923aee5002ca0d1846a8494"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bool(reasoning) and reasoning[0][\u0022index\u0022] \u003C steers[0][\u0022index\u0022]\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dc5d48adf498244ca7a5201b95ef8cecf426518b7e992a2fa0791361e0a2ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bool(steers) and starts[0][\u0022index\u0022] \u003C steers[0][\u0022index\u0022] \u003C ready[0][\u0022index\u0022]\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50d00663eb6bb70ad5069c8765f106acdfad4bd4bca71f851a69b933d8a873c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060by_name.get(str(item.get(\u0022name\u0022, \u0022\u0022))) or by_label.get( str(item.get(\u0022label\u0022, \u0022\u0022)).casefold() )\u0060 appears character-identically in 2 files \u2014 chapter10/autonomous-phone-registration/decision.py, chapter10/autonomous-phone-registration/validate_acceptance.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/autonomous-phone-registration/decision.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f24ee48fbf6b4cf57eb9fce37765f3ca1a1544f8cec01d4417e4253a6b260e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060c0 \u003C 0 or c0 \u003E max_code_value or c1 \u003C 0 or c1 \u003E max_code_value or c2 \u003C 0 or c2 \u003E max_code_value or c3 \u003C 0 or c3 \u003E max_code_value or c4 \u003C 0 o\u2026\u0060 appears character-identically in 2 files \u2014 chapter8/orpheus/inference.py, chapter8/orpheus/orpheus_sft_unsloth.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/orpheus/inference.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79f16b2bb7b59423ffc1e498b732b3567a9e4a724c4a8070b14a7532d9f2fce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060call[\u0022call_id\u0022] == ready[0][\u0022event\u0022][\u0022call_id\u0022] == item[\u0022call_id\u0022] and json.loads(item[\u0022output\u0022]) == result and ready[0][\u0022index\u0022] \u003C sent[\u0022in\u2026\u0060 appears character-identically in 2 files \u2014 chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dbf4270a88ce8d5665fa3041cd44487d0604e45cccac797efff87a2c2ea4ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060call[\u0022call_id\u0022] == starts[0][\u0022event\u0022][\u0022call_id\u0022] == ready[0][\u0022event\u0022][\u0022call_id\u0022] == item[\u0022call_id\u0022] and json.loads(item[\u0022output\u0022]) == result\u2026\u0060 appears character-identically in 2 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6d598422789ad042138543288344c4cd76f76f236904cfe400e15256b62ad3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060call[\u0022function\u0022].get(\u0022arguments\u0022) or \u0022{}\u0022\u0060 appears character-identically in 2 files \u2014 chapter10/multi-role-transfer/demo.py, chapter2/system-hint/run_experiment_2_8.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/multi-role-transfer/demo.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebec2fbdd8365fc77f6db364b81e77a6fcbb0fec65c42e4d6dab3525ee8c47e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060candidate.get(\u0022changed\u0022, False) and bool(checks) and all(checks.values())\u0060 appears character-identically in 2 files \u2014 chapter9/harness-safety-gate/evolution.py, chapter9/self-modifying-agent/evolution.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/harness-safety-gate/evolution.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8f42a10a52289c38938737852491de78b98f381d4fe6134f9853ad6f61ac36"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060category in self.categories and card_key in self.categories[category]\u0060 appears character-identically in 2 files \u2014 chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py, chapter3/user-memory/memory_manager.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"856cd89179df8797a25507f589aa4244fc1c66eb3c37550e64b594cdc3de2cd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060category not in self.categories or card_key not in self.categories[category]\u0060 appears character-identically in 2 files \u2014 chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py, chapter3/user-memory/memory_manager.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b043146ec0331b038b773a6d867224b25a1640f92a1254ab14c2dac64e2caf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chunk.choices and chunk.choices[0].delta\u0060 appears character-identically in 2 files \u2014 chapter2/local_llm_serving/agent.py, chapter3/user-memory/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":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f43031db68a2f51425e6de42971183ad7b7cf596d77ecc175ce2d68960eef7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chunk.choices and chunk.choices[0].delta.content\u0060 appears character-identically in 3 files \u2014 chapter2/context-compression/compression_strategies.py, chapter3/user-memory/agent.py, chapter3/user-memory/conversational_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":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8453881bce1477547e23268532427d45a943628ed26214c100136ffd4a6b7866"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chunk.conversation_id == conversation_id and chunk.test_id == test_id\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/tools.py, chapter3/contextual-retrieval-for-user-memory/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":"chapter3/agentic-rag-for-user-memory/tools.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c978da43f543cfe02d92d537177a8e97e4297755a932f09d9d9ba18d971c6d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chunk.conversation_id == target_chunk.conversation_id and chunk.test_id == target_chunk.test_id\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/tools.py, chapter3/contextual-retrieval-for-user-memory/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":"chapter3/agentic-rag-for-user-memory/tools.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e4c8891d95e22ae92c924ff7e131d52cad0c71e4f271c33e5d1e016e54a429"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060contextual_results and non_contextual_results\u0060 appears character-identically in 2 files \u2014 chapter3/contextual-retrieval/demo.py, chapter3/contextual-retrieval/quickstart.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28de83c961cba5e653e0728ee0066df2dab98b4947e6b675b6c2d9850575c9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060credential_scan[\u0022actual_secret_hits\u0022] == 0 and credential_scan[\u0022credential_pattern_hits\u0022] == 0\u0060 appears character-identically in 3 files \u2014 chapter10/multi-role-transfer/run_official_experiment.py, chapter10/parallel-web-research/run_official_experiment.py, chapter6/streaming-speech/run_official_experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/multi-role-transfer/run_official_experiment.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"585e7cb8cdab85c66bf3c7725353973553e99b547ff7cd3b6ee401864a23b0df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cur == \u0027\u0027 or _text_width(candidate, font_size, bold, mono) \u003C= avail_w\u0060 appears character-identically in 6 files \u2014 book-ar/svg_lib.py, book-en/svg_lib.py, book-es/svg_lib.py, book-id/svg_lib.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefad88696f896c6a3912eb9810623adc69c3db4fe8290f60a1f5474cf6697aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current_size \u002B para_size \u003E self.config.chunk_size and current_chunk\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag/chunking.py, chapter3/contextual-retrieval/chunking.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca2d509a2eb8ee836bd29d4d903400e66fcf61a2ae13605f1f4ecdb4053e6e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cursor \u003C len(required) and item == required[cursor]\u0060 appears character-identically in 2 files \u2014 chapter10/multi-role-transfer/evaluation.py, chapter10/multi-role-transfer/run_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":"chapter10/multi-role-transfer/evaluation.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1edb0c3e1ee6e9842e4f78c264a67c7cdbc00e9ea22e0488c3abd765dd32f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data.get(\u0022reranked_results\u0022, []) or data.get(\u0022dense_results\u0022, []) or data.get(\u0022sparse_results\u0022, [])\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/indexer.py, chapter3/contextual-retrieval-for-user-memory/indexer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e032b6120b98d837d8ff0821004cba1ea19726d484722bdd7a04ce6fa436ffd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060detail.get(\u0022evidence\u0022) or detail.get(\u0022boundary_case\u0022)\u0060 appears character-identically in 2 files \u2014 chapter7/user-memory-system-evaluation/build_73_evidence.py, chapter7/user-memory-system-evaluation/supplement_73_missing.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/user-memory-system-evaluation/build_73_evidence.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfa1dc2898cd022a3f8a5000212e1485f80b95ca3985438ce3198a404a07da2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060elapsed_time \u003E 0 and self.stats[\u0027documents_processed\u0027] \u003E 0\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag/index_local_laws.py, chapter3/contextual-retrieval/index_local_laws_contextual.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8f2e7f79de6c28837003509bd44b4bd041bf4bcebcd8d5ffb21d753f41e0dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060encoded and isinstance(encoded[0], list)\u0060 appears character-identically in 2 files \u2014 chapter8/cot-distillation/train_student.py, chapter8/prompt-distillation/run_experiment_8_8.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/cot-distillation/train_student.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfacc95e5df768eb384e524067e8a4a5a59494c6fdd68c861ce3f7d72e713c42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end_idx - start_idx \u003C self.config.min_chunk_size and end_idx \u003C total_rounds\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/chunker.py, chapter3/contextual-retrieval-for-user-memory/chunker.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ce2a987555583f0076990e78fa1d52c3109362c030f7bdba079956e53eb503"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expected is None or not hmac.compare_digest(expected, _fingerprint(tool_name, args))\u0060 appears character-identically in 2 files \u2014 chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py, chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f17766ac80b45a0f862cc3ee756cabf3160366e956211ba92d448b3d46c72e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file_path.is_file() and file_path.suffix in extensions\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag/chunking.py, chapter3/contextual-retrieval/chunking.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c45078a10489ceb46e008d45ebb6a94b00c6ee1591e5a2fa2c657ee4c4b90e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first_attempt and first_attempt[\u0022victory\u0022]\u0060 appears character-identically in 2 files \u2014 chapter1/learning-from-experience/finalize_experiment_8_2.py, chapter1/learning-from-experience/run_experiment_8_2.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/learning-from-experience/finalize_experiment_8_2.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6549c380f26e5fc8b656a17d390e04c83875fa0f71bcda72ca0b7bb7d4a48f9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060from_currency not in exchange_rates or to_currency not in exchange_rates\u0060 appears character-identically in 3 files \u2014 chapter1/context/agent.py, chapter2/attention_visualization/tools.py, chapter2/local_llm_serving/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":"chapter1/context/agent.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df67edd95c738e906aea4e71e309fcf63630ebb2b03095233a57a97cb2205ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fs \u003E min_size and _text_width(s, fs, bold, mono) \u003E avail_w\u0060 appears character-identically in 6 files \u2014 book-ar/svg_lib.py, book-en/svg_lib.py, book-es/svg_lib.py, book-id/svg_lib.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"009570d88910254704a0db5d37235f1617cb286d4b26c5f73294793f14af9e72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fs \u003E= 20 and y \u003C 60 and anchor == \u0027middle\u0027\u0060 appears character-identically in 6 files \u2014 book-en/strip_titles.py, book-id/strip_titles.py, book-ta/strip_titles.py, book-tr/strip_titles.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-en/strip_titles.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"400d68410467e0fed1e364ef1b713269fd5d7cff6541aead9a95cc4c645ae4f4"}},{"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 chapter7/agent-cost-analysis/tracer.py, chapter7/model-action-threshold/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/agent-cost-analysis/tracer.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03574d2bacc0676c54df5a2c516fa892087d042b3728320c6c72026a381ede3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(m, \u0022model\u0022, None) or m.get(\u0022name\u0022, \u0022\u0022)\u0060 appears character-identically in 3 files \u2014 chapter2/local_llm_serving/demo_streaming.py, chapter2/local_llm_serving/ollama_native.py, chapter3/log-sanitization/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":"chapter2/local_llm_serving/demo_streaming.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcd58a4b900e0dddcc92add17deb257a6de6ab4be18c51516fbcaf8176ed595"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(prompt_details, \u0022cached_tokens\u0022, 0) or 0\u0060 appears character-identically in 4 files \u2014 chapter5/agent-creator/creator.py, chapter5/agent-creator/reference_agent/agent.py, chapter7/model-action-threshold/experiment.py, chapter7/user-memory-system-evaluation/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/agent-creator/creator.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68cb2a0cd0e6dd929284e62c633ab32d5cde5b04f225d2149749b65c7b21cc3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(result, \u0022isError\u0022, False) or getattr(result, \u0022is_error\u0022, False)\u0060 appears character-identically in 4 files \u2014 chapter4/active-tool-discovery/run_exact_experiment.py, chapter4/collaboration-tools/run_experiment_4_5.py, chapter4/execution-tools/run_experiment_4_4.py, chapter4/perception-tools/run_experiment_4_2.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/active-tool-discovery/run_exact_experiment.py"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e92bd06fdb120393351a1e3cd35fa1066f9d3a485ef8e5fba17e8465aae6ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(result, \u0022structuredContent\u0022, None) or getattr(result, \u0022structured_content\u0022, None)\u0060 appears character-identically in 2 files \u2014 chapter4/collaboration-tools/run_experiment_4_5.py, chapter4/execution-tools/run_experiment_4_4.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6094ef944b20959f741580f8938f98cea2310c9d70ecd0135246dbdf63656121"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getattr(usage, \u0022completion_tokens\u0022, 0) or 0\u0060 appears character-identically in 4 files \u2014 chapter5/agent-creator/creator.py, chapter5/agent-creator/reference_agent/agent.py, chapter7/agent-cost-analysis/tracer.py, chapter7/user-memory-policy-eval/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":"chapter5/agent-creator/creator.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bbb9f6d3e0fa7e8a709f814ee57b9f967cd31fa73be95a4a2cd5ced43bad5f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(delta, \u0027content\u0027) and delta.content\u0060 appears character-identically in 2 files \u2014 chapter2/context-compression/agent.py, chapter3/user-memory/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":"chapter2/context-compression/agent.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae09e074ae2d6c96dcfc8131b9c22a8700d09cd6712e98d9101eb8c281710e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(delta, \u0027tool_calls\u0027) and delta.tool_calls\u0060 appears character-identically in 2 files \u2014 chapter2/context-compression/agent.py, chapter3/user-memory/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":"chapter2/context-compression/agent.py"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4c6dff303633fbfabeb5aa32112788c2a766b4f3db55b1fabaed57bc308540"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(element, \u0027attributes\u0027) and element.attributes\u0060 appears character-identically in 3 files \u2014 chapter9/browser-use-rpa/browser-use/browser_use/browser/python_highlights.py, chapter9/browser-use-rpa/learning_agent/agent.py, chapter9/browser-use-rpa/learning_agent/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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/python_highlights.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"6123908d398ea78d8177ac71daed73ea57279b1d24cdde835b815fd86de9a0a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasattr(message, \u0027tool_calls\u0027) and message.tool_calls\u0060 appears character-identically in 2 files \u2014 chapter2/context-compression/agent.py, chapter2/kv-cache/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":"chapter2/context-compression/agent.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"2709481f310d1d746d7ed38745fd904a03fc1d1b55c8976dd7cf9f99c0176d56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(encoded, dict) or hasattr(encoded, \u0022keys\u0022)\u0060 appears character-identically in 2 files \u2014 chapter8/cot-distillation/train_student.py, chapter8/prompt-distillation/run_experiment_8_8.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/cot-distillation/train_student.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a685e4b8b7e437aa0c47ab08a3c6163f998e66034493bd3e45f142aa1ed699"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(item, dict) and item.get(\u0022type\u0022) == \u0022function_call_output\u0022\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f655b882ec741d0af23d0531dc2c6dc6080f7f7dd5b1e978cbe60b4c2ceb924c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(msg, dict) and \u0027role\u0027 in msg and \u0027content\u0027 in msg\u0060 appears character-identically in 3 files \u2014 chapter3/agentic-rag-for-user-memory/evaluator.py, chapter3/contextual-retrieval-for-user-memory/evaluator.py, chapter3/user-memory-evaluation/framework.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96ec7ee349542d76ad64a1244ece8dd784600b6a952f54b061800b9c415e7dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(score, bool) or not isinstance(score, int) or not 1 \u003C= score \u003C= 5\u0060 appears character-identically in 2 files \u2014 chapter10/book-translation/run_official_experiment.py, chapter6/controllable-tts/evaluate_audio_quality.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a9bf70ffa0e8aedc8fb643f9cd9c029938ae7eb617e70214372ba4b2b3a40b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, dict) and \u0022venue\u0022 in value\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd67fcbaf94f33a6903470e29b6833e5561512826670969aa6d6a4bceaf68dbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isinstance(value, str) and value.strip()\u0060 appears character-identically in 2 files \u2014 chapter5/agent-creator/creator.py, chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/agent-creator/creator.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae07465b50010d2201d1a2e5a041ec2049440a26934a2bfc7b9d5174f9fcaa0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.get(\u0022kind\u0022) == \u0022response\u0022 and isinstance(item.get(\u0022body\u0022), dict) and isinstance(item[\u0022body\u0022].get(\u0022model\u0022), str)\u0060 appears character-identically in 2 files \u2014 chapter6/computer-use-open-model/main.py, chapter6/computer-use-open-model/validate_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":"chapter6/computer-use-open-model/main.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61fc16fd7a3bdbcd978f443773fc3758a4f816d71be20c271e8dc9338950887"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.get(\u0022request\u0022) and item.get(\u0022response\u0022)\u0060 appears character-identically in 2 files \u2014 chapter10/multi-role-transfer/package_comparison.py, chapter10/multi-role-transfer/run_official_experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/multi-role-transfer/package_comparison.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7adaab419d0e693df7d17fd2e006edf1a2fbe6e4c3fe9975c176806baf0faf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.get(\u0022type\u0022) == \u0022tts_ready\u0022 and item.get(\u0022speaker\u0022) == seat\u0060 appears character-identically in 2 files \u2014 chapter10/voice-werewolf/evaluate_audio_run.py, chapter10/voice-werewolf/validate_simulator_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":"chapter10/voice-werewolf/evaluate_audio_run.py"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a299010fbde420be8d3a089ff6a6d3791d8dbcff32e2dfc6d08ad037a95c9d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key == \u0022strategy\u0022 and section == \u0022chunking\u0022\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/config.py, chapter3/contextual-retrieval-for-user-memory/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":"chapter3/agentic-rag-for-user-memory/config.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7553291d5d4cf861f20ab647096f98a5d2d59f583c221ab319dca3397434f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060key in agentic_metrics and key in non_agentic_metrics\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag/evaluation/evaluate.py, chapter3/contextual-retrieval/evaluation/evaluate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f58d70f094978677c8e20f1e6a7a6bd879f12315a665edaf222c3e048165ae8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(steers) == 1 and steers[0][\u0022event\u0022][\u0022input\u0022] == UPDATES\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"1183edbf4f01767d3828787155dc0b33b76872feee9422a2fe9cd050e08e542e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060line.startswith(\u0022\u002B\u0022) and not line.startswith(\u0022\u002B\u002B\u002B\u0022)\u0060 appears character-identically in 2 files \u2014 chapter9/harness-safety-gate/evolution.py, chapter9/self-modifying-agent/evolution.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/harness-safety-gate/evolution.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8566911ed05f36eee797ff5e03a4071322710f0f2eb8074c6b21e979b3a14e96"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060llm_evaluation and \u0027reward\u0027 in llm_evaluation\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/evaluator.py, chapter3/contextual-retrieval-for-user-memory/evaluator.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"952e24de5fc3350aaad9627dcf284ed7e35ba9143745e17e6ec697cd3e63bb0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060m == requested_model or m.startswith(requested_model \u002B \u0022-\u0022)\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa72c5743068effe31fce90dddf00496e32d691b06a8cda1701e566be888691"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.content and \u0022FINAL ANSWER:\u0022 in message.content\u0060 appears character-identically in 3 files \u2014 chapter1/context/agent.py, chapter2/system-hint/agent.py, chapter6/agent-with-event-trigger/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":"chapter1/context/agent.py"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32634095918f4952186e6c4ea4e5c28f6973e16e184fe1f23c1e37b6f681f2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model or \u0022Qwen/Qwen3-235B-A22B-Thinking-2507\u0022\u0060 appears character-identically in 3 files \u2014 chapter3/user-memory/agent.py, chapter3/user-memory/conversational_agent.py, chapter6/agent-with-event-trigger/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":"chapter3/user-memory/agent.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fee85478123e1271dcb5574f98cb3e16b5770c3a7417130ff83a9f1a838bf2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model or PROVIDER_DEFAULT_MODELS.get(self.provider)\u0060 appears character-identically in 2 files \u2014 chapter3/user-memory/agent.py, chapter3/user-memory/conversational_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":"chapter3/user-memory/agent.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"689703c57a2cb831b9ca29a776f7a43928bcb2d51bda9753dc4108f1cb6c7520"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model or PROVIDER_DEFAULT_MODELS[\u0022dashscope\u0022]\u0060 appears character-identically in 2 files \u2014 chapter3/user-memory/agent.py, chapter3/user-memory/conversational_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":"chapter3/user-memory/agent.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"065d7583c3e7bc87f04520ef581c24bafc037a8200f42306af12834edb804391"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060model or os.getenv(\u0022ARK_MODEL\u0022, \u0022doubao-seed-1-6-250615\u0022)\u0060 appears character-identically in 2 files \u2014 chapter3/user-memory/agent.py, chapter3/user-memory/conversational_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":"chapter3/user-memory/agent.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7037f55e4ebf4ee91452c3c3dd61aebf55a45cfb57ada92dba0a4779b9995876"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060msg.role == \u0022assistant\u0022 and len(current_round) \u003E= 2\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/chunker.py, chapter3/contextual-retrieval-for-user-memory/chunker.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"58246ad3ee4d8e2185c15ed8f85797658d90b13138c9e22670179fd9d7db2a00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name == \u0022web_search\u0022 and self.tool_receipt_sink\u0060 appears character-identically in 2 files \u2014 chapter10/multi-role-transfer/orchestrator.py, chapter10/multi-role-transfer/skill_orchestrator.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/multi-role-transfer/orchestrator.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b38ea03cbd74b0022d2e0859c492ab3a55caf3ac9c52ce14b06992369dc463a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not Path(\u0022.env\u0022).exists() and Path(\u0022env.example\u0022).exists()\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/quickstart.py, chapter3/contextual-retrieval-for-user-memory/quickstart.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/quickstart.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e644c411336e9b963dc8f0c9922208e378c402a97b74e493135254f73c92ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not active and latest_id and not awaiting_steer\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a0a4891528275346f56baaee803987848456ddfd72ef4f5590981378f825cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not api_key and not os.getenv(\u0022OPENROUTER_API_KEY\u0022)\u0060 appears character-identically in 4 files \u2014 chapter1/learning-from-experience/demo.py, chapter1/learning-from-experience/experiment.py, chapter1/learning-from-experience/quick_demo.py, chapter1/web-search-agent/main.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/learning-from-experience/demo.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f4712483d4d2adc2bf2f6cc6f95eeb923b92822d2dd3bad52e798f41bf7aa4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not api_key and provider != \u0022openrouter\u0022 and os.getenv(\u0022OPENROUTER_API_KEY\u0022)\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/config.py, chapter3/contextual-retrieval-for-user-memory/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":"chapter3/agentic-rag-for-user-memory/config.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a734d9a7ce3d53e3400c59bd9a4ae78a5d181451cb269eb05b2ced0d0213075"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not api_key and self.provider != \u0022openrouter\u0022 and Config.OPENROUTER_API_KEY\u0060 appears character-identically in 2 files \u2014 chapter3/user-memory/agent.py, chapter3/user-memory/conversational_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":"chapter3/user-memory/agent.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d620faaf609ad3f3796844db1723bfeeed6564c75496eee999d3cf4957adf86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(candidates, dict) or set(candidates) != set(LABELS)\u0060 appears character-identically in 2 files \u2014 chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py, chapter8/continued-pretraining/validation/run_report_audit.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01c07bf4eba40d0d044f8f7418c4aedf0ae54ed6d2dad90ce1dde6359764e2b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(evidence, str) or not evidence.strip()\u0060 appears character-identically in 2 files \u2014 chapter10/book-translation/run_official_experiment.py, chapter10/voice-werewolf/werewolf/strategy_audit.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d139c5c69a647d97b6dd20864cb6bf0622333d2176991ec71ef80e23694296d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(reason, str) or not reason.strip()\u0060 appears character-identically in 2 files \u2014 chapter10/book-translation/run_official_experiment.py, chapter6/controllable-tts/evaluate_audio_quality.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/book-translation/run_official_experiment.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2ac1bf39fba51768bd54265728148a862678d1e43577629c2ad70cc886c0b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(response_id, str) or not response_id\u0060 appears character-identically in 3 files \u2014 chapter8/MiniMind-pretrain/validation/run_training_report_audit.py, chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py, chapter8/continued-pretraining/validation/run_report_audit.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3d04e4bdf308d0f134fc26427010689a5e9f68feaab18ead50da3fb34c93f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(response_id, str) or not response_id or response_id in response_ids\u0060 appears character-identically in 2 files \u2014 chapter8/MiniMind-pretrain/validation/validate_evidence.py, chapter8/continued-pretraining/validation/validate_evidence.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/MiniMind-pretrain/validation/validate_evidence.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5569a59bccecfbdf9621f09d41648658ee5676197d22153c8c6960ab5045ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(row.get(\u0022rationale\u0022), str) or not row[\u0022rationale\u0022].strip()\u0060 appears character-identically in 3 files \u2014 chapter8/MiniMind-pretrain/validation/run_training_report_audit.py, chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py, chapter8/continued-pretraining/validation/run_report_audit.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5a7b62346f3ed6e2253a48128fcf198b0fb5921dbce35894d1c75171013eb0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(score, (int, float)) or isinstance(score, bool) or not 0 \u003C= score \u003C= 5\u0060 appears character-identically in 2 files \u2014 chapter8/MiniMind-pretrain/validation/run_training_report_audit.py, chapter8/continued-pretraining/validation/run_report_audit.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"251cc6cf8eb3c184f487b127d03ea2f9629407d53bbf5d2b195227988e08bc38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(usage, dict) or not isinstance(usage.get(\u0022total_tokens\u0022), int)\u0060 appears character-identically in 3 files \u2014 chapter8/MiniMind-pretrain/validation/run_training_report_audit.py, chapter8/MiniMind-pretrain/validation/run_vlm_training_report_audit.py, chapter8/continued-pretraining/validation/run_report_audit.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"9091bda0afc65ce5aaeb176ac8ee09066afd2351f005bf35401a210ed342765d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not isinstance(value, str) or not value.strip()\u0060 appears character-identically in 3 files \u2014 chapter4/perception-tools/src/filesystem_tools.py, chapter5/agent-creator/creator.py, scripts/site_i18n.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a37848cb09d0676bad7eca7ef16cc579a86f99d78f90d7ca29cd8073f1c8478"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not line or not line.startswith(\u0022data:\u0022)\u0060 appears character-identically in 2 files \u2014 chapter1/search-codegen/agent.py, chapter5/provider-failover/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":"chapter1/search-codegen/agent.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a4c6c900e1f36887a04c08a94d68f938b62678d6ce5a3acbf7a77bba6e2d29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not os.environ.get(\u0022OPENAI_API_KEY\u0022) and not os.environ.get(\u0022OPENROUTER_API_KEY\u0022)\u0060 appears character-identically in 2 files \u2014 chapter10/book-translation/demo.py, chapter2/agent-skills-ppt/demo.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/book-translation/demo.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de83cde6bf4211323f943f964aaf94b6c19ed3bf2580dc888a102b02f168ebf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not os.getenv(\u0022FISH_API_KEY\u0022) or not args.base_reference_id\u0060 appears character-identically in 2 files \u2014 chapter6/controllable-tts/build_reference_library.py, chapter6/controllable-tts/voice_library.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/controllable-tts/build_reference_library.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a24f05175efb278175ed1bd445ac31aa85c7b32adfe875eeaec1526f457fed"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not response.id or not receipt[\u0022usage\u0022][\u0022total_tokens\u0022]\u0060 appears character-identically in 2 files \u2014 chapter5/conversational-ui/campaign_browser.py, chapter5/erp-agent/campaign_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":"chapter5/conversational-ui/campaign_browser.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d7d6df05ba9f6b7a1570fc03e3a30eb4ac139ab98b9e1c83945c11cefb2615"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not retryable or error_code in NON_RETRYABLE_CODES\u0060 appears character-identically in 9 files \u2014 chapter9/self-modifying-agent/validation/real_20260729T171050Z/candidates/deterministic/retry_policy.py, chapter9/self-modifying-agent/validation/real_20260729T171050Z/candidates/real_llm/retry_policy.py, chapter9/self-modifying-agent/validation/real_20260729T171050Z/candidates/rejected_control/retry_policy.py, chapter9/self-modifying-agent/validation/real_20260729T171118Z/candidates/deterministic/retry_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":"chapter9/self-modifying-agent/validation/real_20260729T171050Z/candidates/deterministic/retry_policy.py"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"43eea72487567425794c106329e0b32002cc28274b93ad4a548d88d437dbece7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not timestamp and \u0027metadata\u0027 in conv_hist\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/evaluator.py, chapter3/contextual-retrieval-for-user-memory/evaluator.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"3533b5ea47577c691f8dbd779429713bbb44cccff83f9626dbfffce653599add"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060or_key and model.lower().startswith(\u0022gpt-5\u0022)\u0060 appears character-identically in 2 files \u2014 chapter4/collaboration-tools/src/llm_fallback.py, chapter4/perception-tools/src/media_processing_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":"chapter4/collaboration-tools/src/llm_fallback.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"34bcf6d4c40b509762694e9fd64f7ea3ec835b8c926c42b36b1b8609f53cc68d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.environ.get(\u0022OPENAI_API_KEY\u0022) or os.environ.get(\u0022OPENROUTER_API_KEY\u0022)\u0060 appears character-identically in 2 files \u2014 chapter5/erp-agent/demo.py, chapter7/agent-cost-analysis/demo.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/demo.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c6dccdb7bedb02bac137b189a2bb3861c8a999ce0f03037f3004174adc3028"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.getenv(\u0022ARK_API_KEY\u0022) or os.getenv(\u0022DOUBAO_API_KEY\u0022)\u0060 appears character-identically in 3 files \u2014 chapter3/structured-index/campaign.py, chapter3/user-memory/run_evaluation.py, chapter4/multimodal-agent/campaign.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/structured-index/campaign.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"516316cceb20989c0ababe005fb774b34d8b0b3ee43d3c8b1c0436de68256461"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.getenv(\u0022DOUBAO_API_KEY\u0022) or os.getenv(\u0022ARK_API_KEY\u0022, \u0022\u0022)\u0060 appears character-identically in 2 files \u2014 chapter3/user-memory/config.py, chapter4/multimodal-agent/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":"chapter3/user-memory/config.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3009cb713105b9017154fba5f7b3c27438b302506100438b10d1c6f38f5a309c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.getenv(\u0022KIMI_API_KEY\u0022) or os.getenv(\u0022MOONSHOT_API_KEY\u0022) or os.getenv(\u0022OPENROUTER_API_KEY\u0022)\u0060 appears character-identically in 2 files \u2014 chapter2/system-hint/config.py, chapter2/system-hint/main.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/config.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c331d64a42310d08447f3057f001c1cc36fbb8c857031df81e356273598cf9d4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.getenv(\u0022KIMI_API_KEY\u0022, \u0022\u0022) or os.getenv(\u0022MOONSHOT_API_KEY\u0022, \u0022\u0022)\u0060 appears character-identically in 2 files \u2014 chapter1/image-gen-workflow/config.py, chapter3/memobase/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":"chapter1/image-gen-workflow/config.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff43903b9e65ecf327358076320e9f7964f8597039b1170b2cca3675cfbb9880"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.getenv(\u0022MOONSHOT_API_KEY\u0022) or os.getenv(\u0022KIMI_API_KEY\u0022)\u0060 appears character-identically in 12 files \u2014 chapter1/web-search-agent/run_experiment_1_2.py, chapter2/prompt-injection/run_campaign.py, chapter2/system-hint/run_experiment_2_8.py, chapter3/agentic-rag/campaign.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/web-search-agent/run_experiment_1_2.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"da75b30684b10fea483b04ff34d5716fd8993143ad8a82e23ed8efac1038f79b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060os.getenv(\u0022OPENAI_API_KEY\u0022) or os.getenv(\u0022OPENROUTER_API_KEY\u0022)\u0060 appears character-identically in 3 files \u2014 chapter5/dynamic-form/demo.py, chapter5/log-diagnosis/demo.py, chapter5/video-edit/demo.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/dynamic-form/demo.py"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"3339f2ef4dbf08a291064f9810af9355a9d360d2209d368ad1b6239503a26385"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p.is_file() and p.name != \u0022manifest.json\u0022\u0060 appears character-identically in 5 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"337576b7df4b21bd4cf30862c8ebe3e552cf1774b9e646faa01a62afce33ef68"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060path.is_file() and path.name != \u0022manifest.json\u0022\u0060 appears character-identically in 9 files \u2014 chapter4/collaboration-tools/run_experiment_4_5.py, chapter4/collaboration-tools/validate_experiment_4_5.py, chapter4/execution-tools/run_experiment_4_4.py, chapter5/adaptive-log-parser/campaign.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3db173528ccc340b9879f7753fecdb606c144cfe63079f0ef378e1e9515057"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pending_required is None or pending_required \u003C= available\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f081fc1588f44caaa30cd61b30fdb39feb8323a0baba7afa6cf7a11d50c35d89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060policy.get(\u0022distributed_with_book\u0022) is not False or policy.get(\u0022acceptance_artifact\u0022) is not False\u0060 appears character-identically in 2 files \u2014 chapter8/MiniMind-pretrain/validation/validate_evidence.py, chapter8/continued-pretraining/validation/validate_evidence.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/MiniMind-pretrain/validation/validate_evidence.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"6123a62a6eeca93fc445feddb8eb18e1c5106364f61e0a213ab26a01a26ac803"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060predicate.description or predicate.predicate_type.value\u0060 appears character-identically in 2 files \u2014 chapter9/browser-use-rpa/learning_agent/replay.py, chapter9/browser-use-rpa/workflow_validation_demo.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a4caa5e430d96435e400e47f78e1452e2e9fca8f64a840156b9e18f4f9ef0c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060protocol_copy.exists() and protocol_copy.read_bytes() != protocol_bytes\u0060 appears character-identically in 3 files \u2014 chapter2/prompt-injection/run_campaign.py, chapter2/system-hint/run_experiment_2_8.py, chapter5/paper-to-video/campaign.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/prompt-injection/run_campaign.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d0132f1c72efd26180d8c7b6f9d08000cb6eb7605df56a5f9bc5718f638571"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060query_lower in category.lower() or query_lower in card_key.lower() or query_lower in card_str\u0060 appears character-identically in 2 files \u2014 chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py, chapter3/user-memory/memory_manager.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d3c8a266419768d62f8f74fb49e36f462e8c3e683ecbf05bf3038dbb4edf91"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r.llm_evaluation and \u0027reward\u0027 in r.llm_evaluation\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/evaluator.py, chapter3/contextual-retrieval-for-user-memory/evaluator.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0057f4d6411977f270e098211338db3073ed68360198c1750bd0dfef8d71ddc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r[\u0022index\u0022] \u003E starts[0][\u0022index\u0022] and r[\u0022event\u0022].get(\u0022delta\u0022, \u0022\u0022).strip()\u0060 appears character-identically in 2 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a358c42e02437e87102648d1f78aeda9191d6aff86b87ccac6e965483caea5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r[\u0022response\u0022][\u0022id\u0022] and r[\u0022usage\u0022][\u0022total_tokens\u0022]\u0060 appears character-identically in 3 files \u2014 chapter5/adaptive-log-parser/campaign.py, chapter5/conversational-ui/campaign_browser.py, chapter5/erp-agent/campaign_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":"chapter5/adaptive-log-parser/campaign.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8a34924036119c7ac4c294b2da7a55c7088d353d65a53482fb5b6f2ea61a31"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r[\u0022sal\u0022] \u003C r[\u0022smin\u0022] or r[\u0022sal\u0022] \u003E r[\u0022smax\u0022]\u0060 appears character-identically in 3 files \u2014 chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py, chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py, chapter5/permission-embedded-data-objects/pedo/eval/benchmark_harness_focused.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_application.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fa0dc7d57b6d9efd1ccda12d35aad1eb02a850ea69e32c546890540b372b55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060r[0] - 1 \u003C= x \u003C= r[0] \u002B r[2] \u002B 1 and r[1] - 1 \u003C= y \u003C= r[1] \u002B r[3] \u002B 1\u0060 appears character-identically in 6 files \u2014 book-ar/svg_lib.py, book-en/svg_lib.py, book-es/svg_lib.py, book-id/svg_lib.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"055dbf762f98f453a6790d0dc76aaaadc560e2379283006ef54710da07c5c84d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060re.search(name \u002B r\u0027=\u0022([^\u0022]*)\u0022\u0027, attrs) or [None, None]\u0060 appears character-identically in 6 files \u2014 book-ar/svg_lib.py, book-en/svg_lib.py, book-es/svg_lib.py, book-id/svg_lib.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"book-ar/svg_lib.py"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6fc45fd6376dada073c424e68913fe021073a3a2c7c32bd27e48083a9f30d5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060receipt[\u0022response_id\u0022] and receipt[\u0022usage\u0022].get(\u0022total_tokens\u0022, 0) \u003E 0 and receipt[\u0022latency_ms\u0022] \u003E 0\u0060 appears character-identically in 2 files \u2014 chapter8/MiniMind-pretrain/validation/run_training_report_audit.py, chapter8/continued-pretraining/validation/run_report_audit.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter8/MiniMind-pretrain/validation/run_training_report_audit.py"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ef9cb67969d6922273789f394a98fe01d63897e5ab1b633dcaaaf5902c619b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resp.choices[0].message.content or \u0022\uFF08\u6A21\u578B\u8FD4\u56DE\u4E86\u7A7A\u56DE\u590D\uFF09\u0022\u0060 appears character-identically in 4 files \u2014 chapter5/conversational-ui/backend/main.py, chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py, chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py, chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/backend/main.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53efe0064d35725d99a1700eff9ca73b1d47dae6bc468b844f6b51ffb5bbc94"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.choices[0].message.content or \u0022\u0022\u0060 appears character-identically in 21 files \u2014 chapter10/autonomous-phone-registration/orchestration.py, chapter10/book-translation/run_official_experiment.py, chapter10/multi-role-transfer/judge_comparison.py, chapter10/parallel-web-research/llm.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/autonomous-phone-registration/orchestration.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6750954717d42588135224dcccb2e965ccff6f17df35b91ca5da7e9462b7886"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.choices[0].message.content or \u0022{}\u0022\u0060 appears character-identically in 8 files \u2014 chapter10/autonomous-phone-registration/orchestration.py, chapter10/voice-werewolf/werewolf/strategy_audit.py, chapter3/agentic-rag/campaign.py, chapter3/memory_rag_campaign.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/autonomous-phone-registration/orchestration.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"413d2ae6b56ebcbd5ac9dca814cf9976784f6a823e18de21f6568e7f9c9fc481"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.llm_evaluation and \u0027reward\u0027 in result.llm_evaluation\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/evaluator.py, chapter3/contextual-retrieval-for-user-memory/evaluator.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dcdc15fcbb695f4544482d1ebea8d97f548424d1c1a05d780825b9254441f5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060run_dir.exists() and any(run_dir.iterdir())\u0060 appears character-identically in 2 files \u2014 chapter10/staged-system-prompt/run_official_experiment.py, chapter6/computer-use-open-model/main.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/staged-system-prompt/run_official_experiment.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e705519c2d439dca1371c3d0ce92ec7ae311722e3d52d9f7f17c22e80cceec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060search_mode == \u0022dense\u0022 and \u0022dense_results\u0022 in data\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/indexer.py, chapter3/contextual-retrieval-for-user-memory/indexer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cff9af5d1c304126915d5573b28ef2ecaeb467c38cd2a99b9651e850330d1c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060search_mode == \u0022hybrid\u0022 and \u0022reranked_results\u0022 in data\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/indexer.py, chapter3/contextual-retrieval-for-user-memory/indexer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86ec7bab7f491d4ad72d097cf42f1e69bdfd7ed01b954759e3bcbaa0ac89e00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060search_mode == \u0022sparse\u0022 and \u0022sparse_results\u0022 in data\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/indexer.py, chapter3/contextual-retrieval-for-user-memory/indexer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"c807d290d470c92bfaa9eb55215f0a467f6c84fd406442468139ccf70f3ad332"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.api_key or os.getenv(f\u0022{provider.upper()}_API_KEY\u0022)\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/config.py, chapter3/contextual-retrieval-for-user-memory/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":"chapter3/agentic-rag-for-user-memory/config.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b22ad041e2410b75294fd8d489284e91da9e41e0472e8fa4abab31edc194669"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.api_key or self.get_api_key(provider_lower)\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag/config.py, chapter3/contextual-retrieval/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":"chapter3/agentic-rag/config.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc43b6996811d660941e3d116adfeeb3b5204ecb0b4a7501198992e6a03b4d42"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.chunk_texts.get(chunk_id) or self._prepare_chunk_text(chunk)\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/indexer.py, chapter3/contextual-retrieval-for-user-memory/indexer.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eeb9b9e7d0bfb54fcaf3a63b05fe9d5eec45a2f1c6e07d3084e4e94debb1953"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.config.chunk_overlap \u003E 0 and current_chunk\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag/chunking.py, chapter3/contextual-retrieval/chunking.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a718d4b63d4bb8631a7dd36fcfeb451c85646a66209ca0f2f8c7c8c1fb242c50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.config.enable_todo_list and self.todo_list\u0060 appears character-identically in 2 files \u2014 chapter2/system-hint/agent.py, chapter6/agent-with-event-trigger/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":"chapter2/system-hint/agent.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"1848feab1b5447676856db190fe7ddd21bb9e453a4e23fe283e58d12a743bf82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.config.evaluation.save_trajectories and eval_result.trajectory\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/evaluator.py, chapter3/contextual-retrieval-for-user-memory/evaluator.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"c257ca84f118e7eaefd839e164b630900e2491d9e7ef7d663b7ee4c5b5ebad56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.model or defaults.get(\u0022model\u0022, \u0022gpt-5.6-luna\u0022)\u0060 appears character-identically in 2 files \u2014 chapter3/agentic-rag-for-user-memory/config.py, chapter3/contextual-retrieval-for-user-memory/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":"chapter3/agentic-rag-for-user-memory/config.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a26de8f6df6cd89c1ee6ff5dbf04d38e2fd2ed2222b2bc3a76a50efbf107f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.provider == \u0022kimi\u0022 or self.provider == \u0022moonshot\u0022\u0060 appears character-identically in 4 files \u2014 chapter2/system-hint/agent.py, chapter3/user-memory/agent.py, chapter3/user-memory/conversational_agent.py, chapter6/agent-with-event-trigger/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":"chapter2/system-hint/agent.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcefbe4311c9f619ae2bda59f96fb635c403f6343f30952c549267ed3cd9233"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.valid_from and now \u003C self.valid_from\u0060 appears character-identically in 2 files \u2014 chapter5/permission-embedded-data-objects/pedo/core/models.py, chapter5/permission-embedded-data-objects/run_live_security_eval.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/core/models.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b95fb56cece7601a296f3099c0386029328b4d5e31c1df4cffafd41b92f4ea9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.valid_until and now \u003E self.valid_until\u0060 appears character-identically in 2 files \u2014 chapter5/permission-embedded-data-objects/pedo/core/models.py, chapter5/permission-embedded-data-objects/run_live_security_eval.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/permission-embedded-data-objects/pedo/core/models.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cdd7cc7d09e87eec91788bbcae8d91953c28686e207c5f46fb34f75845b335"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060shutil.which(\u0022espeak-ng\u0022) or shutil.which(\u0022espeak\u0022)\u0060 appears character-identically in 3 files \u2014 chapter10/autonomous-phone-registration/webrtc_channel.py, chapter10/voice-werewolf/werewolf/simulator.py, chapter6/phone-agent/speech.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter10/autonomous-phone-registration/webrtc_channel.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"96dcdbbb3c89e8a4c1319245a84b405c28fe3a2f9bfc3b7e783f326c85baacbe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060steer_target and latest_id != steer_target\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c1073eb714563b9a70346f35d41fd5157912008232d5c1c7a79247b259ea7e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060steer_target and not steer_committed and pending_required is None\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c415028a5c744b320c869d71320f0e50ff10884285b8fed1a1c2d1550181931"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subprocess.getoutput(\u0022git branch --show-current\u0022) or \u0022unknown\u0022\u0060 appears character-identically in 2 files \u2014 chapter5/coding-agent/agent.py, chapter5/coding-agent/agent_new.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/coding-agent/agent.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2297e45306b4a4170851a97e88cfb709f19a3b5cba081ed5f7dd170aa18a99f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subprocess.getoutput(\u0022git log --oneline -5\u0022) or \u0022No commits\u0022\u0060 appears character-identically in 2 files \u2014 chapter5/coding-agent/agent.py, chapter5/coding-agent/agent_new.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/coding-agent/agent.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a603ad85f61411d463be570d64327e925cbade47fb8339387266684c71ded16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subprocess.getoutput(\u0022git status --short\u0022) or \u0022No changes\u0022\u0060 appears character-identically in 2 files \u2014 chapter5/coding-agent/agent.py, chapter5/coding-agent/agent_new.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/coding-agent/agent.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"016208af7d4e2e50d1b1ef2c281496482c9443df3d47ab916e1fab1feba4789d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060t[\u0022name\u0022] in USER_TOOLS and m.get(\u0022role\u0022) != \u0022user\u0022\u0060 appears character-identically in 2 files \u2014 chapter9/tau2-escalation-experience/analyze.py, chapter9/tau2-escalation-experience/build_evidence.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/tau2-escalation-experience/analyze.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa73c46c5e6d1496d1db4dc2ed56acc4d6d36a1a269d220c29a970f42072e52a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool_call[\u0022function\u0022][\u0022arguments\u0022] or \u0022{}\u0022\u0060 appears character-identically in 2 files \u2014 chapter3/contextual-retrieval-for-user-memory/contextual_agent.py, chapter3/user-memory/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":"chapter3/contextual-retrieval-for-user-memory/contextual_agent.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f37d2b1692d2791624a4be935acc28a777c5977fd2789a962a12f23c52d484"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool_name == \u0022git_push\u0022 and args.get(\u0022force\u0022)\u0060 appears character-identically in 3 files \u2014 chapter9/harness-safety-gate/evolution.py, chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py, chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/harness-safety-gate/evolution.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c1f5ec5bd139b04a32b1061fa282900f61f00a4995c62b867dc7f79e9413c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool_name == \u0022run_shell\u0022 and _DANGEROUS_SHELL.search(str(args.get(\u0022command\u0022, \u0022\u0022)))\u0060 appears character-identically in 3 files \u2014 chapter9/harness-safety-gate/evolution.py, chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/deterministic/confirmation_gate.py, chapter9/harness-safety-gate/validation/real_20260807T160109Z/candidates/rejected_control/confirmation_gate.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/harness-safety-gate/evolution.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2033371c2808fd474fd9df48609c5d712b1557f32893d76f2ad44b317f56be4a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060trajectory.final_answer or \u0022No answer generated\u0022\u0060 appears character-identically in 2 files \u2014 chapter3/contextual-retrieval-for-user-memory/contextual_agent.py, chapter3/contextual-retrieval-for-user-memory/main.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_agent.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"2850a8075148ec77220d6dda11d96b013431cbf212b2d63c2892369ff5c9f10f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typ == \u0022response.incomplete\u0022 and reason != \u0022steered\u0022\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"964c376865625b6e428434c838c41716d6501cbe7516fe1353c1860c9068fa00"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typ == \u0022response.output_item.done\u0022 and event[\u0022item\u0022][\u0022type\u0022] == \u0022function_call\u0022\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ed3307bf68d259c3b87657b3b6982a8e846e1f82a08dc14bbc0a1774d69303"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usage is not None and hasattr(usage, \u0022model_dump\u0022)\u0060 appears character-identically in 3 files \u2014 chapter1/learning-from-experience/llm_agent.py, chapter2/prompt-engineering/ablation_agent.py, chapter2/prompt-engineering/tau_bench/envs/user.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/learning-from-experience/llm_agent.py"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5582b18f8915e79735ca4dcaf99b28bfb1220f02cf325eebb9e3d3884a41c52"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usage.get(\u0022completion_tokens\u0022) or usage.get(\u0022output_tokens\u0022) or 0\u0060 appears character-identically in 2 files \u2014 chapter1/context/run_experiment_1_1.py, chapter9/trajectory-verifier/evidence_client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/run_experiment_1_1.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"1032f7fdeb76a18f612dd7a78494f09358f109267907bd8d2bd94a07e5796037"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060usage.get(\u0022prompt_tokens\u0022) or usage.get(\u0022input_tokens\u0022) or 0\u0060 appears character-identically in 2 files \u2014 chapter1/context/run_experiment_1_1.py, chapter9/trajectory-verifier/evidence_client.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/run_experiment_1_1.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b6fe0989224100ad8c501cb3f8b2e0328c1f19303e15bb5d50396974c283cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060v[\u0022cost\u0022] \u003C= budget and v[\u0022capacity\u0022] \u003E= attendees\u0060 appears character-identically in 4 files \u2014 chapter6/astra-async-steering/experiment.py, chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py, chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/astra-async-steering/experiment.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"170bfc61a049b0f4c51ac976920107ec5c27a5465a0ba1c78a44fd4807078f47"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060record_completion\u0060 is public, takes a document from its caller (line 139) and hands it to \u0060_jsonable\u0060, which calls itself at line 61 (\u0060_jsonable\u0060) with a piece of \u0060value\u0060 (and at line 63, line 65) \u2014 and nowhere in \u0060_jsonable\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_jsonable\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/prompt-auto-optimization/config.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e7026354077f4cfd091b6c1d97beb712740884d7fab85ef98e7e8428c729dd"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060inspect_path_traversal\u0060 is public, takes a document from its caller (line 194) and hands it to \u0060_extract_string_values\u0060, which calls itself at line 188 (\u0060self._extract_string_values\u0060) with a piece of \u0060obj\u0060 (and at line 191) \u2014 and nowhere in \u0060_extract_string_values\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_extract_string_values\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/harness-safety-gate/safety_policy_gate.py"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"502b125f01e91637c4653f49fafa83997aa5f64a401efdf3c71ddc942981bc8e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060expand_env\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 45 (\u0060expand_env\u0060) with a piece of \u0060value\u0060 (and at line 47) \u2014 and nowhere in \u0060expand_env\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 \u0060expand_env\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter7/model-benchmark/campaign.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac76755cd55eb53db6514fe274a3e3ea37d25436bc518890d58fe8710c2723c6"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060scrub_value\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 69 (\u0060scrub_value\u0060) with a piece of \u0060value\u0060 (and at line 71) \u2014 and nowhere in \u0060scrub_value\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_value\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/computer-use-open-model/main.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9776f8dc8fe450f53bf86129d90e251bcca949fe9fce7751162031075557268"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060json_safe\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 52 (\u0060json_safe\u0060) with a piece of \u0060value\u0060 (and at line 54, line 56) \u2014 and nowhere in \u0060json_safe\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 \u0060json_safe\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/claude-computer-use-native/run_weather_task.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"909c9795b242f6c709d0c0d9f11b96f812e053a951a6ca34d084e932a5ec576a"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060redacted\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 91 (\u0060redacted\u0060) with a piece of \u0060value\u0060 (and at line 94) \u2014 and nowhere in \u0060redacted\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 \u0060redacted\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a208a49d3c4db7adba7e15375d9a5558a0ee9f78a51144062fbd8f57ffea8937"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060account_email\u0060 is public and takes \u0060account: dict[str, Any]\u0060 from its caller, and it calls itself at line 273 (\u0060account_email\u0060) with a piece of \u0060account\u0060 \u2014 and nowhere in \u0060account_email\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 \u0060account_email\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9e510b59ae6fb3ab0c7fa06824c05e3431605abf1b76ef0309772df2e872ed"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060jsonable\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 73 (\u0060jsonable\u0060) with a piece of \u0060value\u0060 (and at line 75) \u2014 and nowhere in \u0060jsonable\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 \u0060jsonable\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/erp-agent/campaign_postgres.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c630ea24b978f401d35a67477da74cdeb138fd33741b1a1f687d7ee644f17379"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060convert_expression\u0060 is public and takes \u0060node: Any\u0060 from its caller, and it calls itself at line 63 (\u0060convert_expression\u0060) with a piece of \u0060node\u0060 (and at line 68, line 69) \u2014 and nowhere in \u0060convert_expression\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_expression\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/code-for-logic/build_hf_puzzles.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b34d279caf727ea73676b3b70843bf81fd4c384b945ac7d76cdd3b9336a5ad"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060redact_material\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 160 (\u0060redact_material\u0060) with a piece of \u0060value\u0060 (and at line 162) \u2014 and nowhere in \u0060redact_material\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 \u0060redact_material\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c916cfc240419d0893eaf908772ee8af984c5fd3655ca42fe64a76cdaef9241"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060parse_value\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 198 (\u0060parse_value\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060parse_value\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 \u0060parse_value\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd4899a436d5a9cce8065c84fdfd424fec864816d1363f4d8e4f78ab203f372"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060jsonable\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 53 (\u0060jsonable\u0060) with a piece of \u0060value\u0060 (and at line 55, line 57, line 59) \u2014 and nowhere in \u0060jsonable\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 \u0060jsonable\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/experiment_utils.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c010ce49479b6109962f0024e59a87de79a2303c4d023bdcbfa15d0692e85f79"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060hash_item\u0060 is public and takes \u0060item: Any\u0060 from its caller, and it calls itself at line 52 (\u0060hash_item\u0060) with a piece of \u0060item\u0060 (and at line 56, line 60, line 63, line 70) \u2014 and nowhere in \u0060hash_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 \u0060hash_item\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/prompt-engineering/tau_bench/model_utils/api/cache.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89306c13f1e443b84d08682e185e84b87521df3cf7ea56a6bea635032842eaf"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060dict_equal\u0060 is public and takes \u0060d1: dict\u0060 from its caller, and it calls itself at line 35 (\u0060dict_equal\u0060) with a piece of \u0060d1\u0060 \u2014 and nowhere in \u0060dict_equal\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 \u0060dict_equal\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/prompt-engineering/tau_bench/model_utils/api/datapoint.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f7e179931a5a2fe906aea291e5b5741166b96b6df5b0795717ced3300692d2"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060prep_for_json_serialization\u0060 is public and takes \u0060obj: Any\u0060 from its caller, and it calls itself at line 20 (\u0060prep_for_json_serialization\u0060) with a piece of \u0060obj\u0060 (and at line 22, line 24, line 26, line 28) \u2014 and nowhere in \u0060prep_for_json_serialization\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 \u0060prep_for_json_serialization\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/prompt-engineering/tau_bench/model_utils/api/logging.py"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6964640d931cd5eda930f29766f7675f2d39011dbf947cd5692029f9b8a3e249"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060iter_values\u0060 is public and takes \u0060value: Any\u0060 from its caller, and it calls itself at line 31 (\u0060iter_values\u0060) with a piece of \u0060value\u0060 (and at line 34) \u2014 and nowhere in \u0060iter_values\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_values\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/agent-skills-ppt/validate_official_run.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9d86af5ff6afd1a6dd0325c17588afc3067f84cf676908f10be3d2d6114d0a"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 5/11 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: _load: \u0060_load\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"extras/agent-lab/agent-trajectory.js"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22eec42ec0b39af06f41d3a9b31d4eeeb5c326fc24adc686bff2ce1684540be"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: startCall: \u0060startCall\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/phone-agent/static/app.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8479cc3eecff5e6474e43c35f95075c28894b62911a9ecbf939ee09ea60dd652"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: runTts: \u0060runTts\u0060 awaits \u0060axios.post(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060axios.post(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/run_real_validation.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a9a9fba66a0cc822452a984b5f3e66bc0d801d9eeaef5c5d6e8a9991388c14"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: transcribe: \u0060transcribe\u0060 awaits \u0060axios(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060axios(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/asrProviders.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"58804b64248019742c554f7bb4c09143fa30f4b74c102d60d9cee147a7892039"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: transcribe: \u0060transcribe\u0060 awaits \u0060axios(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060axios(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/live-audio/backend/utils/providers/asrProviders.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b4747faf69d3902b734bf4e5b655c570c51ffb4a849d66f7dca1f15f78ae56"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadTrajectories: \u0060loadTrajectories\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c567e973f5fb2ca77683226fcdf84fd1daea0c940b12a0b9d8f27227393ba1a8"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 921 is called with an argument built by \u0060\u0022\u2026\u0022.join(loaded_extension_names)\u0060 (line 921), 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/profile.py"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"e287f51994cfeb8055b8d3e6eeeaf30309010b24f999f4395f8b085dcce13b55"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 336 is called with an argument built by \u0060[f.name for f in files_before]\u0060 (line 336), 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/downloads_watchdog.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"8950bdcc19ed813a188030c4ae554f843a91875a3758308fb96b6e654966321c"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 2042 is called with an argument built by \u0060[t.name for t in threads]\u0060 (line 2042), 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0088ee6065e79a2202a4c0aa67772ce37b1d300efadd1fc736822e5a2b970c"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 240 is called with an argument built by \u0060\u0022\u2026\u0022.join(changes)\u0060 (line 240), 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":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8d5ed183f62a3eeffd80f0e2d5fafda1e31ba2526190ea38f60967debb9ad1"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 72 is called with an argument built by \u0060list(metadata.keys())\u0060 (line 72), 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":"chapter3/dense-embedding/document_store.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fede0f1b9a1db907a8eb6103e26a24a131e35911bf2f0ecfee99faee56f9ef5"}},{"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":"web-astro/src/scripts/reading-position.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c938ede63bc6ba41fd7fe865f41c0548e24f3798232772adefdd8021e7a2543"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"web-astro/src/scripts/reading-position.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b238987f5299c466ee8334fd7289da05ae885db214933861c87ae69d661df5"}},{"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":"extras/auto-translate.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ca7536d9f83b5fad86eafc90f7788b34d88d909abf33ce11ddb189ca3f54f5"}},{"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":"extras/lang-switcher.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbfbb0041b2323872f9017694964477ddbcd9418e9c4f8dd1af849c3a37b1e9"}},{"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":"extras/lang-switcher.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a001fe601d8b37be5372160b1e6ec149a70c4334fc62a133fe2178d0f398c985"}},{"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":"extras/lang-switcher.js"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2946ddb8adb2bb162eac9b927a084764c7c93f2bc406e5591dadab25f775a58"}},{"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":"extras/lang-switcher.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"d69bdbb6be70cabe5f9063db5defaf1fbac7a5045503d9e61df066cfb0066583"}},{"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":"extras/nav-collapse.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"189ca5d2182aa1e1485497830d77277fecc19b33954f1447e14efc4b498133ba"}},{"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":"extras/search-index-router.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ab147320e30fdc0fc4dc40739b592b7589b025ab481352637683368dadb3f5"}},{"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":"chapter9/self-modifying-agent/evolution.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"360916f55291832d9487c196bf6caedf4764a0a129f47f389f49733b784ff376"}},{"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":"chapter9/self-modifying-agent/sandbox_runner.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb295aa4290fe1e214c4cbd78b36a8836398469bee5032f8819f931ca4e8777b"}},{"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":"chapter9/self-modifying-agent/sandbox_runner.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b5993dfb2fbd81617fcefdcaf737517f18b9bb320b3ad5b62874d5741b0955"}},{"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":"chapter9/self-modifying-agent/sandbox_runner.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4b2a78b828bcb279a5bacfd4549a531e994a036e0d092a850ac96890fe8c73"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060except (Exception, SystemExit)\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":"chapter9/self-modifying-agent/sandbox_runner.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7aefa9cff259a36bc7433e17060f93b5b0dd6f66276dcabb11a23c3e4dc2b3d"}},{"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":"chapter9/self-evolving-tools/tool_manager.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"770ba3ead8331e492ed31d19b3e6dc3b8f1804c46af346dadf27f42cfe3b0173"}},{"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":"chapter9/self-evolving-tools/tool_manager.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ccef7d6f19f63111bfaf5833c30accd0ad240e88b6c463dcca032a60b8dd20"}},{"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":"chapter9/hermes-self-evolution/run_downstream_ablation.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05d57e8213b3efc0846c1f4eda6dcabd61229d74f77e90affc70f26102b1cf7"}},{"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":"chapter9/harness-safety-gate/evolution.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ddc5118a2eff0494b68062b20167be232cfcd57211a2f31fff71af762e2e094"}},{"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":"chapter9/harness-safety-gate/evolution.py"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdf9893d1c3b98820424da2878bcbe3c25fc34a5342af9091b7b7236bc16f605"}},{"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":"chapter9/harness-safety-gate/evolution.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cf84e28edd4638310b5a30e72ae0f3b98b77bb916869ce314c6dc3c2d490a6"}},{"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":"chapter9/harness-safety-gate/safety_policy_gate.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b9825b5e750bcbb78560ba8cbe1c4e3fe5120515649d1df41c1229d3f32d13"}},{"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":"chapter9/harness-safety-gate/safety_policy_gate.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c744d39a566f8358aac0ee0a72f5e8ed4bdafec698ab63cbe66913ca87e86f30"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"077b0ffa0b9b525b95f762063e0101db5d0b39a0966a0f311c036160befdcbed"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/config.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"015ba76756a818d6181e00c0ca292d7c7535b28752850be60a9e3cf1e53a6beb"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/config.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"864c00e0b5e5b84fdbbb5a9733a0dffefc3a328909e58302baed720ffb8a1e3c"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/config.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15f6154317b8ade341ba10ee6389b28ce31efafadde132cb44520f18973802e"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/logging_config.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7542ae3d44b2a0886c0b9f46b0d2659fa954531efbe50ca2b46590d63e271a46"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/logging_config.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61887b6898dee209182d9ffaed11d8feb855e067d91e0829ab5369f32386286"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b77bbaab161d5249e80269c058407ae3e1f8d07a600f0f84d0f801beffdfd86"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"897bd8e1659263464a86ac837502c55a4dd805147ca8a2df8dcdc22d325e7c31"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/registry/service.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a5f29776ec729e2d3e6ff647b4f0aec25b651a0a4d46f8f09b49dbce370343"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/registry/service.py"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bf682d03480976b5791c2fc282ba5c18d8e0aeb100aea23771da8f1beceb5a"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"594ba7752c67b91fe7037d57936a366d6d82a4a4fdc773065aa1dc8de9961098"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dbf2ce1f033e675bc89aee63a3dd128757fa9ccd6ff383827dd64137edde6c5"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea3bcf654fccb3c6ad47e85264633740432676ec94ca1c9c281fdbc9f95c34d8"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"3471cd38be337eca4fe230b0c54e1b78861d67d3b27bb15e94854360475edc92"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/telemetry/service.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6297f7936ff62d405ef1c9e17fa9f28c5627cc3e9975859e8aaadf795ce0b874"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/llm/openai/chat.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5411ecee4d8aef2b114ab32b8a85feed91e20042c895e349ce04df6d0d92a27f"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/filesystem/file_system.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53bcfa2e2f2cb10fb1ed611228a9d9956d3a9e2228d0dfac0be55805f6d4e4a"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/filesystem/file_system.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"7486d4d011547632284c5b1d10f7f8cd7b77bf5de23854051e08e27a5d20f480"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/filesystem/file_system.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cfb35ad1cb3a49e5369084708dcb84ddf31e9c1d12aad9aacf1c570978db46"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ea51e5c5739d79562832f9debe1a457027c1e1fa7c7044b0e0b875ccea56ba"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"786b2d4ddf060270c92dff5b78cdd56818089f9718f5c775c2674616c72b9c8e"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9874d222617645de609380779dc6f861ad296a76d0175f5bb21f8b79f91dad0"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"40461ab5a41cf78acdf1f904b1dc59247465f1e35f1e162ab248b76e8e2d7cdd"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/profile.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88f6ceb6d1d12bb61cf83a6433e4868f0bed40482c6858f89b5a9ac631880af"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/profile.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dd04cd959a36d26dba4ffabc188173d47e2b23bcf1dad09253f81bf99d80b9"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4abeec51b3e143ba0dbb13b2467c15d79bbd6dc1fbae06d989ff2c1ac86499"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ac4245ad7bf7602c381471a41be03a737835224a14c12919417e7836f3eb34"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/views.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"05418656b0af039191e4e2f5b3e9d743a9b8159abed006b10f48ff5c421d485b"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/default_action_watchdog.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"783d954e8fb3c56cfa3992051e4becbeb64eb4ff84cd815cdbb3403f5ea30dea"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/local_browser_watchdog.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e490b7c1054c83fbe21a0585baca74f03da4762112443c0355d9e4b217d4180"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/local_browser_watchdog.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce494158747e7ca8a6457652deece32e0b796928bbfeff83effdc3e9f4b7d2b8"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/popups_watchdog.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6e425e5292fcac5e7d1e57572dad9221eaa5eba55d70a3f6fd7d81fa6f0955"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/popups_watchdog.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"106a18845c01ea0811dc59967d5ede00f9888114312dfd6c22cb625c80700ebb"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/screenshot_watchdog.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"16be1d42257a6fc98961ec7e10403f84a68feee5986193910f248d73f417a2e7"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/actor/element.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcd6ac8e928f22ba4d5c40ef8757831380f65224d979e4a81b40148eb1e5ab7"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/actor/element.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c02eb680e7c15b56afbe69ecb39b604db9b88d87b986f5b4d03ba85ed16c8b4"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/actor/element.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fdc8aa56fe7945cfd0db832f28d086570291e15d834e3168ee5df4679b7780"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/actor/element.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"794faf7548ec4b2bff11250cadba2253f0f6fdd59ef3c5c9f4a20d0349f41360"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/actor/element.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38f9853dec0a8008401d278d6c539fb44a08566cbf0c76245857210b7e1d535"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/actor/mouse.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3af117033cacd8d2e3f79a321aa05ffcd48bb3c49b048a74bd638942ab154b"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/actor/mouse.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ba5095285e0207fe586878ee91b03a5d27ee0fc0035d74608ad726b0cca371"}},{"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":"chapter7/tts-quality-eval/pipeline.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d78ea7d89fbeb0de6569bec93b65bb01335423618621d84a3d52a5ff10f71c"}},{"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":"chapter7/model-benchmark/demo.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbee2b01d32410e02b634fad05de3dedb98bb602e1da1f45c109456dfe8f5b3"}},{"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":"chapter7/agent-cost-analysis/demo.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"25349ab4155862742fba39362f6b4e6c438c101e34eb01779d5aa1dbae1f9d6e"}},{"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":"chapter7/agent-cost-analysis/demo.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abcccce01ffcf9a2b94c19d12c20eb11d1ba8a006860ec3fa207d31004357ad"}},{"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":"chapter6/claude-computer-use-native/run_weather_task.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af929e948c29620da564c77c99b7d55aa00e43932cac42aa50179a84dba8439"}},{"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":"chapter6/async-agent/demo.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"68492d1b6321c232694c706760726c74bccac2b16ef23921557ea713d59b6660"}},{"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":"chapter6/agent-with-event-trigger/quickstart.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27df3f3398ae1ec988c051e226ed37c959b94465641fb43a050e94fef7e322b"}},{"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":"chapter6/agent-with-event-trigger/quickstart.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a452a6ad8e7eeb0e25aacf3513fe506a7dfbd597b67bde2e3e896bfb6b4d27e"}},{"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":"chapter5/permission-embedded-data-objects/run_live_security_eval.py"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"c603c90a2ba5e4ca8dbd3c060dc5278e42131d3df2f400d6c6b2bf8645dfe542"}},{"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":"chapter5/permission-embedded-data-objects/run_targeted_eval.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16c85d80c18ff4bb63e7cde347e07fb27fa735bf3076be7f6e57a831fa7c7a6"}},{"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":"chapter5/permission-embedded-data-objects/run_targeted_eval.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1765ddc973f9537be506084554e5cf3451286133b8f0616d2028d3c3893072"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_final_comprehensive.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd5b0a50b3fd71a1e069eb20a8a193681d9b2734346286b2e6c503ec574d0f5"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_harness_focused.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3f6882ba361eebf945bc08dffb4cf84fe248d5f9cd36d579c7b6d4c29a08c0"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/benchmark_safety_v2.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac76dd13bafd5f728f908e0bd6a23401de01959ff50b592c2a05fff532002c6"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/regeneration_robustness.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"994fcfe48e522114a482f395390288d6771a36809578a1749fc22205fd6eca28"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/regeneration_robustness.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"79705c9bbbabfb3c0e7ebdb285b0ff2ad58137f5fce55e72c7d3902910866df5"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/regeneration_robustness.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99d92c1ad21e57247e3553ca21d7e7b2f1a6751bead3e2a529ca419657b7fa7"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/regeneration_robustness.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ce9499fd1f3d1ffd6f95deb246eac5b6a345a442b6112d5820202611d9bcd1"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/regeneration_robustness.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c2d2c64f1020c3f9246d374155671b9ae99dedb79b91c46d0ddd7d3d9d126f"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_baseline.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c9c7094e98a2e62ea335b2a1c76815fa68e61520747112b9c268561ac2032a"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adc42e6e59856d0f68db0c5d8bf245a52e31d7ee50a89bed0a252084513d15b"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee2febe2ecb65aa2a2d9fe1edb5aeef45a9fd365024ca4c068b826fc89ee8d0"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/harness.py"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"a118a0be1eb446ff9fce9f033536cb34580cf2f4a18fae2feec26e8b1f534668"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/oracle.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2aeb949bd85ab13888600d324474b2a6fa1f28e5b12c1a2400e0a8f419195a"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/oracle.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b442579b57bb00a3a55d4dc2fe4d738b3a9dede1fd78cc3afc6f72279f6d2567"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/oracle.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f646edaddcad5c2a63dab05e583385822fabf904d4fccb81595b7a17a29d1b"}},{"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":"chapter5/permission-embedded-data-objects/pedo/eval/baxbench_adapter/reference_impls.py"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27c74b071947dc315c9dd9d901c779bce4011440cb0ee239b3ea258bc1fd4c1"}},{"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":"chapter5/paper-to-video/demo.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0c7a9d7dfd5038326b72dc304e5a78485cbd9cf8126ff65054d80502afadd8"}},{"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":"chapter5/paper-to-video/demo.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f90b0c703305e57922c53109269df062da9d2f01369531da65cbd48915667be"}},{"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":"chapter5/log-diagnosis/demo.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8768f47028ddb69d04121a245d64e196814c5550dfe33af965c18e1d35f287c2"}},{"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":"chapter5/log-diagnosis/github_mcp.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bfbbdc3fbeded1d614f40acf23077ec5f4eb8e8b4c0f4dec04afe30e1c632d"}},{"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":"chapter5/erp-agent/demo.py"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"150a678b6c299f45f1c63fd0c7352129427b31b377071cff211ad53311913369"}},{"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":"chapter5/dynamic-form/demo.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12b5ff4d558cdaaffd5f11595d335bb315139dddff0c139cc29d3d6c03f9464"}},{"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":"chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"269ced6d283da8970658c1f8fab4155729e9ed77f4edcfa4a11cb274e39e54d3"}},{"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":"chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8459fb2ba685b0f9cd4364a2df47c98b1de49e96b899bf636d2726bc2f5d7a"}},{"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":"chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"089bca8cc9432018a8edd13b5811f507538eaa1132edc6a38c23d0df7aee769f"}},{"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":"chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc8eeb93499c210db0c30ed403c63781ad45721583d2f6c471dc98370ca779e"}},{"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":"chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fceb6520af4fd99802b91a6d846732a211d4dd9fa5d4e560389e12fafc72ac"}},{"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":"chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca3889ecf186fa393a34b471d157e42ab0adc2df0aef730968d0ef3cd6a0711"}},{"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":"chapter5/conversational-ui/backend/main.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd5d01bde3da39c3319f5fb24a407dd5f8fbdb577366213c2acf3fbf59f3a25"}},{"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":"chapter5/conversational-ui/backend/main.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"550f8ac9a452cd2ee1c0ad0f39c942492083bc09b71091b841f6ede45ed071de"}},{"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":"chapter5/coding-agent/agent.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a2074c7f0f133617a14f902a0035f862ecae3e46893e6c310a067ae021bf84"}},{"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":"chapter5/coding-agent/agent.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df01ae70ce123488df205a038a48c898e873e0278ec08693d5d6243fc6c21fc"}},{"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":"chapter5/coding-agent/agent.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6179b66bef897e3b44f484cc25e64b11bc8c54561875161468f5316140f859d"}},{"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":"chapter5/coding-agent/agent.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63eed5d05022145b7ccca047fe35b6e95fbaa0ec6f2e3aff855f50dbf7d57ff"}},{"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":"chapter5/coding-agent/agent_new.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b379a561573ed1eae17aba90d6adb33a4bcc70d00ababdccbdf92f470317c39"}},{"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":"chapter5/coding-agent/agent_new.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c667e4ad7b9b3725f2b9c2cf8cbf9fc226f4e99ad0d720962f24d4d1dbf2f288"}},{"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":"chapter5/coding-agent/agent_new.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"305c9e1d547df4c4c0420acc5640c1ca383d60b1e0dd9f2b78f36411d3f645cd"}},{"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":"chapter5/coding-agent/agent_new.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9600ce9ace775ffe716fc768bd3c756649463db650022465a286cbb4704e778"}},{"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":"chapter5/coding-agent/tools/edit_tool.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"58149fbc872af4afb94065d10b9517f6cb32993e64049c0ff95dd9ca9fe998a6"}},{"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":"chapter5/coding-agent/tools/multi_edit_tool.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee43d52db5ecd3c1c221ab38d8e048cc80de22e83e06f454b7de677d0f0834e"}},{"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":"chapter5/coding-agent/tools/write_tool.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad16eac4aefe6393e15dad3844b898fa42c6f0622a14f8855e9fc1e65607ac48"}},{"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":"chapter5/cad-vs-diffusion/measure.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3180765a7936e5fa88cd2b5cef326ff9b05671bd652ba6d5e893d65a2a149c36"}},{"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":"chapter5/cad-vs-diffusion/measure.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"160fada8daaf75c15c4d6a9b1e944077a7f19da2a05736d3f734d070e2ac7ea5"}},{"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":"chapter5/agent-creator/creator.py"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"756bda59946b49820f2b4b94b4f194ea69c0fded3584682421ccf32e5034626f"}},{"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":"chapter5/adaptive-log-parser/agent.py"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9b8edebb0b18a2a1534e3094a45196384b20a1fb023ca0c001b4ef1623e01a"}},{"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":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e90c0cc4a6b1e56e615c71717d368f6635df0dd85a80e3d64719bcaa22d3d4"}},{"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":"chapter4/execution-tools/filesystem_enhanced.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5cf19a45ec312f41d8bab1b47d619308475889d79025067aba6118a79489541"}},{"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":"chapter4/execution-tools/filesystem_enhanced.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae1a780e469995a8d812dda6c60566e7904b6a29f95648b288cf03521cc47a9"}},{"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":"chapter4/execution-tools/filesystem_enhanced.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"02831b4ce4ee6dd19cfc4f715c5fde0b431abedc45a16694c9372da0bb4e24de"}},{"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":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ae6744deb8041d4e5ede78c41154754630c67d6515d9f5627cb21860354e69"}},{"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":"chapter4/collaboration-tools/run_experiment_4_5.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca11a0f19c2e45efad064117af4d1be9711645ad137e2b7d9698ff54566185a"}},{"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":"chapter4/collaboration-tools/src/browser_tools.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"0751d639517ad8ad27a43112d57765939a8aa177d34f558d11034bd46dc0d1b2"}},{"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":"chapter4/active-tool-discovery/discovery.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dba125e1988a663d0365b3ff6adcf7af156d14e29ddd55cb1b6a4715cbfe98"}},{"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":"chapter3/experiment_utils.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66c3e0f00dc947db7cc2bb9c4d07293a19e975290a34dc83de78c1e3a3a5627"}},{"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":"chapter3/memory_rag_campaign.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7f9c7c74f01b4150039fba4c3eeba5a6bcee73490da6c917a3e4ce336ea8fa"}},{"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":"chapter3/structured-knowledge-extraction/campaign.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9a9504b2977ae8f2f27545739d8c45e9fe9f9f20ff118fefa6755f5a7c9193"}},{"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":"chapter3/structured-index/hybrid_retriever.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb27bd3a605ae5ddb4f4f984250925a5cf8c0c89b4bb7d6683cc99167930d9cc"}},{"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":"chapter3/structured-index/hybrid_retriever.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29eb4be607626cbe6151fe8912e1783bc9cc9ae18cbf6cc6241609b6e0abfcb"}},{"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":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b084a7c371bad1ca2a7b670e5b00c2847722e4c70f16808bb5bc9a68445e84d8"}},{"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":"chapter3/retrieval-pipeline/evaluate.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"817b5c8b11fd336af7fcb15c5ed00d3914d3c1c575e26965c637a7fc6946a06b"}},{"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":"chapter3/retrieval-pipeline/evaluate.py"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edf0a55eb9ffd00f699b04ffcadce251087f6ae5b33974c9ccf5572b3b14eaa"}},{"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":"chapter3/agentic-rag-for-user-memory/offline_demo.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe9b9fd75bd69ec652dc7cf7134fd12027fbe04074f8fe7b971ce98d0322f30"}},{"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":"chapter3/agentic-rag/campaign.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b468dc0bb3934121d5bf6854abd593f25b31c620008156ad10ac561a8a6dc7d"}},{"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":"chapter3/agentic-rag/quickstart.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7402d0e2c67e5fe49288fff20c4d7c668b0a6b0240a651474973a190c18c32"}},{"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":"chapter2/kv-cache/agent.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5813d893c505e707eb336533593f66bd8cfc49a6402c541bbfc89001f7c8055b"}},{"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":"chapter2/attention_visualization/agent.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"82770af758625dba66372a5120edce17cbcf962d56c53b150cc8874d8bbdeb9b"}},{"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":"chapter2/attention_visualization/attention_cli.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4addaddfd7f87086ee4cb95acb2087cb7e3417ce5dc33c0b1274c35e710f30b"}},{"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":"chapter2/attention_visualization/main.py"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df32a5d64ece7b3b5a845caa6948e8f4f33bb9976834544422e59faf47863cf"}},{"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":"chapter2/attention_visualization/frontend/pages/index.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7265f4a529240f43b74e9b942c79f911eb702d4430b20eb58314390c3af809bc"}},{"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":"chapter10/voice-werewolf/demo.py"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3142df3da567addbfb30218e6ddb9817a174e1175c7f9fe04a290086c818b3"}},{"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":"chapter10/voice-werewolf/werewolf/agent.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8b29689b275e6212b143840973f8cdca9c16d19959ad4019f25c1044c3083e"}},{"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":"chapter10/parallel-web-research/demo.py"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14fe786b780b6871bd6ddb04659153b44f9945aaef2d10de411f2186d95a9f9"}},{"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":"chapter10/parallel-web-research/run_official_experiment.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"066f013a2f21398dfb8293de55db4bcc963bbf525b0eeb8014322179f0a5bb1d"}},{"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":"chapter10/multi-role-transfer/run_official_experiment.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"197c3cac06ed0879a6ea7e92236ee10cf71653fb94f181feac70426ccaa82052"}},{"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":"chapter10/autonomous-phone-registration/webrtc_channel.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cee2d9190593e0f58d20772b927299750faec1b25c8b117d7d8b83543049565"}},{"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":"chapter1/image-gen-workflow/evidence.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc6d59f576b365576fa3444886f449622a6fafbd7857f80632d4fb8216d3322"}},{"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":"chapter1/context/agent.py"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf402fb3be26dd373eb97fca1acbb3daaeb876e1f81a61c484366d9ee69557d"}},{"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":"chapter1/context/run_experiment_1_1.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb017e2ac8b8418efe2d5a6491315f93c4f0840f3b3f98206faacada4aa48d5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"355a2635f28d30a86371de7260a5d7339f846071cf3da689bb5712facd99443f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 145 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b65042ccef5887f26702125ba61c5c037dbb3a3653e1e9067e6e247093d4da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 245 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c0a8eb922d31dc03e1e719642f3fd1b9fa7d22363231b8f9940a459a6e0eae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 279 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec13547690391a37b0951d51f5c42ca212e62396f051d600a9131301145ea006"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 301 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa3d1c378614ab1f40cc0d5e796a8fbc9645712d37cd6d3ad4c7114b9cc3874"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 303 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f6e16cf7cf76e49a3bf3a9b11b544e72549ff6f89df70d91bd15f310b719a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 343 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"e726daf2768e21dd8bb2c9d17a284c66f96775ee7183c61a125f237dee7e9b2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 344 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe587421e7135d4ee034e5038075e4df088c1ef49983aba3574d3c3a43ce197"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 346 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca4870d7eb082e5de5e2c2c965a60eeac263cbb420b6879641d5ee7b155ebf0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 347 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6455d2d25a154aa13664535c4daa563ebc75bfaf2342978bca3fbf440755ce3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 376 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dae455598afb7b88d1f08003814c7e198843553d9b03f13e363b4c48fca147"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 563 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/learning_agent/agent.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"146887e3b166bb47aba282269104e3243324b901ca5e679435db9ef8a2cb67ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 90 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/knowledge_base.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae252ba66e816e2b2f61506b33173a683a91011fdf544c9d87fb85f7b5b3201"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 144 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/knowledge_base.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d5fe879294edea0edae0340beb17259375d1a736ff65c161f0080746c72240"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/knowledge_base.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c517454fafbd5c31ca9f4a6a60762689dbffcb67af9ac51dfa1c53d28463809"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 299 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/knowledge_base.py"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"799422fec95b3fa98290d789ea644120e9185fc2b7827cd8370460b38f42b285"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 115 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ef854dc45c6e88a501fed2a61987414b34d8e54c2b6bf58373c549351eadff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e22468243b569b4321dd2794411c09f3e4bc3a0b29afd55f414ba25a478e05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 152 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71142c554b956f67af5119ece1fecc0c7919cb09f48e8e59f5f7cdc38de20d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 160 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"508e8745e83027bfcb509eb8a04a0f02aadbe15c886cfd9ea6b4b5147e7e07d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 247 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11eb73dc50d5df498fbde98d7b1d6281a558024b73d1b5198fd232e7ecb6dc6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 271 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6b91039927b1dbc2df59d49a4287bbe89b7b3eef7e657c993a3985c4c1dd5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 281 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99bd889893bf5c4bdffe5e8b67a776ebd2abf2a48e389465b2145336521a5f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 304 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a18156f64c987e9d5364f628ea88e175ac99c2208c1646f3b7467092d661ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 319 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/learning_agent/replay.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"725513f7c81221061b7e084c3a8751adb805cc07acfd3850e3ce46092d5e4497"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 582 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6e0cefa7c39aa2f9c35870ddbd43437b8123026d97b8d93620bea2fca5b94c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 591 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f556fa0fcfc4708b9bf81c84ef8640626e0854b81d1ebe3a34b1f0de12fb96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 595 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f7d92c9ddeb9c397c8c908fea06c26292dfceeb707530178340d842b98e647"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 605 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f0c2fb02f761af1a7524e261b09e0590468755ea94728ece60bd4dbea7dfa6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 616 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae156265847d3e46008e13330d7e8b7cff8a4ffd00ea42f8e607fb8e61b9d30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 742 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1e778bb04a465c676b0c140d8d66811c9761a3539246c62f24f9514577858f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 759 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cce8290bd99293dc913935635bea5eb60adcc6f5491589683a4201711cc1c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 761 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d9b8c93333cfa8d4e60c9b7fe9cc886fa07a435861cb9602320cd7d82ce271"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 802 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"389a6b473e7dd1e363a505e4508002aeacb7884621bed0175ba1f3d01306577d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1091 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"722dc51116c5f410897695e556fc77d256afe579ab73404d26e970b7d7b584c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1504 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12e26e0401ee0659280f2760474e73946e4731fa4237a7ed7a881fe20eb40e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1525 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"709626721c46088bffa487eb3e2053e665bceecf5ee3f4621d9dc5d81300208d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1527 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc6836f015305063934d4a28fa75fa7fbce006b654872fb5de6999079fcdd81"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1531 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab35d34d13613d90ebf326b2ce32033d9d22030ac82f8b35961d5d4c11da69cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1540 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e223c7547ffdab095f90c9bf004c893d53acab4880dffc380428a490b175b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1553 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9602c9903891889b7c395b9c0d1663478409482e10683f99a5f6111ec627c54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1554 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb0a4948220488702511730de4438268549432739bd073de2cf120877ece265"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1556 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e34a8fb9ab19c0b246b66c227bed3d25efbbf00d189e4b9f00cc99c53d3d7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1580 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"752a1a701def21394bf2e13c200311be48d5b51078f56e63634c3dfede15035f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1586 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef1068814f6d444c860c17e64b277f30f0cc61071239b60ea4af5f870edea3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1928 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e23671bf06dc5502960d41995ac56e0976b8af3854cebde2b3b0571685496d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1940 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1940}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79ef8b788c1f174802689e1c8326ac02db10f78ffd082f408e6eea76ab6eacd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1950 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1950}}}],"partialFingerprints":{"codehealthFindingId/v1":"075533c0d74517b775d22b46f830d94f55707ae6654a2b7a2e32b4a9a308a901"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1960 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1960}}}],"partialFingerprints":{"codehealthFindingId/v1":"e624568ea3dd5df9fbfa81f73012e9c92d4612f74a6079295104469d454d0c9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1973 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"a425c66536c9b03664d4210cfc682cea4d4fb4f042c1f527e714bd08117e5f6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1986 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/cli.py"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d66aca5f204e8462a616219c95a1e2679d1e7ab1aaada69bad26bbe68420664"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 322 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/config.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8506636cd03a110646afe37ad947938497bddb3610104cfd4086f5218f6b7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 329 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/config.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d949e4db6e767a0116bcfefb319298639c21c747003c9737276f31e00e970856"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 333 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/config.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"665d5eb48567c094d4dd3220f69b38ef67bcf014d66109e7ffbc3ffa6543642e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 340 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/config.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"70975df5315773a25920101c330b22eac8ca825d94a962ee02e4dc6cae482a5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 145 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"df310fc82502f351d66d1d6f3ea2be4b1fc14664cfa7527854b2d657c80f994f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 162 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d55445f2ca2e1bf1a4c0a185aadb90c1cf8af5d882e5636d5a25247e75b2c23"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 229 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14c79337a11aa1c4a0229fc1fc6d31d4e954d3f13251c79003b71280e86c3a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 259 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"c482802eac7fe775cac58a7552c664a03e86b9a2100943c28d79457b35ccd714"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 268 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10461abfbc238c7a6c8b484737a48f2f7a47169c08fcacc67a8727e685e84e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 348 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f471c2c60485b356ea4d5a4a6f7ec1882c9d1eb3fd67249e6d43b98efc5dd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 377 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa9ba8dad9a178ebde0c2fef209f85b2dcf1c28e6e092010c8b3f40756bec0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 502 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90a2081822d61d605e0323c9b24e524736a709002b343dc78a5d9465b812250"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 509 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f4ee6310e15a593ebbbb4452fb93e9a76e046301421e6a19ecf16e43150e3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 517 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad8124d393ffefad3531107b160c3eab497faa3fbdcaa79801eca4bc610a678"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 533 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"c388067d952bd6b891e4532658f03bb9bbd6ed61e10f265a172bd8c80e6fd361"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 578 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fcfd6a259408723a7860f123ba0c60e88e1fcf559494b70e4b231a711077551"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 639 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/utils.py"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"df87467c7e5db0bd2df2033d7d673d6041c21ad2317fe2d226cc3ed4512669de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 130 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced23c705621c9a1a8bebf83c359cad845498de79b0b500a09956b3dd28edddf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 133 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1b7b3ef656326d2222aabe839a7133c06a47f12bb02f1f9582cce14ecf6cf9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"49af7354849c174d9f8f1213e7507c460ddac327f53355d60403ff4d099a6e88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 148 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"43157538fefa65884849c344ad47a0552d540916d4a90bee3efafd52ffa8f02a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 160 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"11298e03fbdf15f596356ff1f6c7c1277945611813891a51a06755061b38c7e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 171 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"30a98ffa2e9274d3365a9f592722961e585e5aaf14737ff2f193129fbbd288fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 177 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee45c8d3f5e58743527f414ebbdb386404d64a8c425c5c4d2c6446fcb0d9d0e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 194 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d3eaf6e4eedb4dc14463752434dbf12f4e6e8876f4b5076366812e27464c1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 219 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"1492dfb7f16d83a00054ed549638e6ba1b313030a4298e7cb3a9ae996afc1355"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 237 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f829fb5ec6aea1a0703b2ccdcf0e7531d5df22d2a2205d28a1355444499feca6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 253 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf55bafc6ec21ff17942eba38bfe07b2f68fb98fe28f204a3d8b3ec70ca928cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 268 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba72e91c0a2bcbe167dc13b5ada80552a6ba00b9fedd1fcc7eacb52a9befc5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 320 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d44d93e33ecfd50947cbc39a069b14f1687bdeab462a17e1386b574cd4bd5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 388 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9463c1026c8f503ef0bbb768074887858c4c3b14b2c217666d4150f71211aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 417 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bde6bbe3c4679329e04a4b5d83c591f74aa26ccf077a3bf6d28d262298bee1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 487 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6c4b3b0b15b16cd39b6adf045be52b218798c63550743fb2631fc8f4dd2222"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 517 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bcf3d056d6f60f6d9b8840565dd7e155bfefbe2cdd0dfe0523311aa0ad3887"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 530 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6770381b5f170a6a98f263fc2c2d365915d0ddef7689a315ba9f194c32929c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 536 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee7a2bbade4537a1ccbbed7e00de82c18ea556242af2cc94f5ad7e8cf98de42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 552 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"571419ed0917137ac5a5c8785f2a3cae0310b4cb5868b7fcb68b53292156a399"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 555 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"237d4e4f808a572efa791210dbe73978592a3a310c97938b2697c098a0be3c3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 572 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab8685a922e209c76e28c23bd9ae6b827fe437b47faf717456dd2b739701f3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 578 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6502bb83eec44a5967e0a99f3ab8f6a0a81becb30049d9e7c87afd00e6f367"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 709 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61817781adeec148cc291be25d7c317b986e715d88c120010f1b9b26b1697cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 716 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d210b5c756a722125e36597ca7ac1a933fe09f062b28c0cd946465a9fb9b42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 766 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4be1dfbfd8a98b3ceb0d660f1a30cada6bc22bebcfd723bbb85a89330ab93c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 785 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2d7d60042760f9c2f83b761f44797bcd2f860c548946d5559792b3e37352cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 903 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbcf86c2227c54bea5d655902fa0671077747a24649f213ecd58833f6ccbd7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 911 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b3186e140b54a547ab8cef2a669ed8c6e1379abb13c2349629e9c51c8ff41d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 936 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"1583fd3d8cb589bdc2c7e980b2d7df305bde8fe68448ab63ebb4d097bdd143f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1286 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":1286}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e5df0896e2d86259d9d2cfd722efb3fd0e3a893393ed1ef20525b7b773d9ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1289 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"29742d4fbd55b054195828fd55f71ca8acb6d913e117f7726659bcda608daa2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1293 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52ef5dec7d904ed4b06834f72f384d22b7133ee2ae43573956bfc0efbbe6bfa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 396 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tools/registry/service.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e02a76774211a4554b08533feea4267ad45464ceb911857837e82740055e8bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 473 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/tools/registry/service.py"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"5917d26b726837b6ec1416a4ca541a888689c7f0474d9b8973e24ac9fb4d1a2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 133 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2354018f77e4d27d2213e0e1da8a4e7a10310dfa2400fe04f7960783a7d80eb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 160 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ea8506a44e55a9ff4be708586956fce42d73e8192783a0f848bb777df3aa27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 257 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7004538235a9d1954cf3b5fa8dd7544f7357f5164d852295b6803c4c55661628"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 314 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef79c6444e879aa74bac2c5ffa02e3341bea34e9b980b5be5e1b3ffc38d8883"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 333 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4393683b10b86ed6dbd09f2f20b0ea6d18342165fa1569ee03603734c9cc50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 478 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f921014dbd3e73ebcb55ee75b2998f0050beb0bc26bee16633e638e7b6fbbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 523 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"736e7824837eac71f22e92317264b3afefce6d80d098931f9f60e3a8d9c0ea61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 562 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2feb73044f67d41ede873f0c691fa30af00032af80c0e643a7643968b585a75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 81 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/telemetry/service.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9add58edff256eebdce64bbff90fbffe442609eda171242e7d248089c546c96e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 89 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/telemetry/service.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"35101a7202dd9be19e9c657a747d866712f6d389a19da42eb6afd82654376867"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 303 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/sync/auth.py"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88bb773fa0753ae05ec6c160dc777b039b178d96f09ae23c171dc4c3e9dbbb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 331 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/sync/auth.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"082e0ca174133d619ef1f318ba4ca376bbe4dd9d5b6a9400fa85a9b6ffcdccbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 338 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/sync/auth.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf00a2d7c27d33061891063476f1492fb23902c7964fa9e2da2c97642a6c373"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 67 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/sync/service.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbe1b72dd3a2594c70ce5d4a49f54fbc07e0b37717ed5dfde964b659e08211a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 70 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/sync/service.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3890eef9364c3e2b573683bda617409eeaa953301a66568b00bd320f058e08df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 73 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/sync/service.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05b2e36bea4aa07e5f62bf0c9a8a980a0d02108e139ae6d1256dcb77b4fc548"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 112 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/sync/service.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb8b2bae2e4fb35ed09e2b758054c121dd589a57f1f3753afacf68e848729aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 116 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/sync/service.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"02eaf91fb7a22c05445b06da0a389a8e51b7798a233446cab33805f496a32f83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/sync/service.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a348a385e1e925de59d44e588b06e77c2c3a0df44d6e482a9c7379529ac09d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 123 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/sync/service.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3704eac368bfadc75ed3f6360f362dae4ee9627f98518056899b72df0d99aee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/sync/service.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"989516a285edf732fab8d135b34d4c4b268ac91d0bf65700a04dedde8046480e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 154 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/sync/service.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf737a90f069dc76c8d9a8dd8bb6bb87650763ce4aafab7bae75fdd892d38c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 83 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4769ae0a992d111ba62c3c79a5227aea3ecd540a840b97b5105a2c2ca0e4a545"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 90 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5bbdf28e663cee5f2b53c867029c2840d43dfb0779cd21029bb34bfe5bb515"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 109 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"821dec0d9ae0da6f0c20bb259ea64f6c27601a8a281731ab916d3beb322c8000"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 154 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"336497ec163b3615826523b09095824ef73bde82bfb62452077fa3dd6d9b9717"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 170 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"83334f5001dac1d6cd9f7127b887b72a6ece0266c1405102e1b99bcf1e6af70a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 181 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d463ff4c48f22caa211dd55865079beb75444a6e8629c3ce781f1c6c61c5406c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 193 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5794ea4253043b9650950b55afaa9101943c870c3b08e345503f855eec49fa5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 244 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1af60036f877f6ed03e7cb7a809d5e9a383aa414a8a39607841854a9ecccf17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 315 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"7635cd54aca12f92b14782c2312362dea67cdde9dacfa64e90cc7e93b87a6a11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 358 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2af1907433b6e353d87b9f8f313b277dff9f73fb78ff6dfa6cca089a7e27f4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 405 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eab3efdfb8e0bd47557dff7a5e70bd76138d781e4633f72b159020b2611f8d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 509 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f2f652be28671a2dd6f75d7cb1f1b9db199f9fe7b82c38437a3f1fcb14afd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 510 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e70f95edbdf1ed6d902dd5c561dad64c919d031ca096e4feeeaae674f76fd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 56 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/controller.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"244a50a92c06c248a4ff8a082cbed99dfe889eaed22ed42432d1c65c8cdde842"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 73 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/controller.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bf3fcc92c7ef3ee156729c71ca95650e1f7d45ce70eca276e7d8b06f8631b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 155 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/controller.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"519a246d9108404aa6cc28370e3865d999dbce213e1c5b882712bb8d8c7bff29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/controller.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fbfaf26f6a1cf49500c392b109d4be318e0cc6f8eece51599d072267693e9c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 199 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/controller.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80493e86e1cddec4a8917be04d471282ee7069ca9340ed131e733348de520d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 427 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/server.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"8064c5ed1bb5dadda520a9740d44072f84707f5d596abb5fc95d06c0f825eed2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 577 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/server.py"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54c509f4de40c1fb0052237a471608167c8e65dd8b574d774c1f0b9f028d0a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 644 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/server.py"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9e93dd8467476f20edc87b446c968b8644a1c70982e13a65c0fb65b440f498"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1022 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/server.py"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f7d99094a2e3bf35efb56bb5d65e93c4fadc0470d2a4ab8e3ec683bdb936ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1024 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/server.py"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0611987dd49c2da08d5191d98238a12044785d7c9144a0ca9ba583a473518c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1036 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/mcp/server.py"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"702c7140cce029f27c5c77b2d82abf1e83ad8b31b6119e2e9213f1a83ff69aec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 130 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/llm/groq/chat.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b60e743e0ea54984520cb02df5f7015e83473bd2b31dd4a9fc694f9fc50fa1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 81 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/llm/groq/parser.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b2568846ee508f9a78e40553f79a6a22fc0eb16034bcdc6689d585b97c8751"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 88 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/llm/groq/parser.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"43de3221da29b38e7fda87bd0b5b1dc8f68a07d65d29a69786385eb4908b5877"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 213 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e32233cba0bec2e72a29d01acc2fa11b142aa67c8610069b6183faf52e40d4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 227 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1aaefaea81a72f0bf3a2df8059a964eedf7a2d9eb555b6870a0490ee005baa2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 245 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"feae3f99297242e629e7232aca7ec1cde2f5c21b980bca7639934cae845c4941"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 260 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"857772a7fe496b4baba9f1be197b1398fd926de15c0bbe8c391737590bc9ac3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 286 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"9490435e41fc02404b79894ec6aeeae9a7640a18d4e8322ebdc14813127835e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 287 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"65086728bb8af772a6abce0389ec048284733bf44ada6ae2e3633089facb2266"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 315 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"505aa133f6a816d1df7294b71a9332fe8a130902d354af65cc742d31364f0b00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 341 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7aa6ba6107d928a382d86053dd16e10e963251128ce2f31a482c1428813a62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 364 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e34ce3521322620295e37f1e42bd7692a63d9fe836c845379698be2689fbb0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 365 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4ce9b7058ba964e73ca3fff8cce00d0a5f97a94b728246cd57ad8f39d1168c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 380 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"a205a0df0fa61dc4d7bb8769585d0a58fd6e82eff121415e90eece9d40ba6001"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 386 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be76b88a8ea71d7cc5984da9b6324d893055a2a6d3259a41be50e843171d2a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 404 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/llm/google/chat.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"4313645d11f1fffb0e43884064b2a7fe34f52ef05a9c5959b7e842b468f064b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 77 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/actions.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a7c6b116d5df0746a51271ea762091ed3ef81c286a44c89a7467afb0dde275"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 101 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/actions.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6596ca03189001376ed0275bdbb3355ce417341ecad72b5a45e89cf1630bf0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 109 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/actions.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"832d06588b63dd2f0f3cc66bb6bd8efcff560e75480cfa026101d539f68699b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/service.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd90dae6091855c06c1101e8de355ad18c67f6949fe04ff575d6f2ad5ff68a20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 128 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/service.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9d46d5fd7b81a58c63a98de6c522d0bb9c87f74ed9563ec3ac60a039b2ebfa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 137 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/service.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d1cbe28559243e1fed59bf8f459c20956a3aea36695e34232a9c07d1dbd8d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 159 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/service.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce8faf5a8bcb0016755548ecfe8c6a96b0bad795e7330314650edc2bc9840fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/service.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c953a8f9a6def7ebf0cb0e92387c0a28fc229cca6210942ee15ad70a4309c70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 172 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/service.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e90ddca47d388bef5f595bf9e741adc6797ee70cce5aa604439ea35bca66b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 177 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/service.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca131c83f169c117657129d11f52012d058f025a396ed3b86f563b8d11670a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 187 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/service.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a083ee51ce8ee9a40ee6c378723833461041b5966677aae35e869daff6e9fb03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 190 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/service.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc261ef7a4ec3700018ff994daad9324b7efec8df887e29c7709bd424ccbd0f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 163 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"45605c783af9289e201696e92c4964dd9567f8166ee03181f5d6867e9b92dadb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 302 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"17892250e9f943e38674419776c69488bff0d3037ec6f76e2f23ff66ce31aba0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 336 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd91e0b4e0f1d80e059cb1d50c76e984a30de5019237541eede97d1ed8f674a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 340 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3505b3cabffad7d2be179e198f1d7f9a1e468c2ccc8fb618e9a9fdbf32bd16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 406 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f6d5e449f2986503cb5adcfa3b64691dd3c8beaec76545aac87b66d77f2120"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 409 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab8580f5af24c641211b6919a71a55fccf3c36e52ffb9d8dbf6ff3b3b854b0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 428 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"39328971a230a708495578ceec87ff949eac4603c71bda4f87d775bf4ffa6def"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 434 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5601d92b59518a5c632283d8acbfa42ef68b3eeb2a370a46b0175e78233d27e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 438 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"649389aca27b29be81340e0213f8b4f21f6a94196854331b2811678b21d4592b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 583 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"29782daa98ae9090e187bcbb8da475067c00275f144f46eac2d027d1d2b8a6f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 637 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bcef094bc40a4e2e6671eba6c5ba751272bcddcbe1ef8425aacaa219a02176"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 650 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f17de3af63b202075720ed093545947c6dfbae549616990831706f0a10d529e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 668 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8289fd97807e388cca87a91b0bb8b4eaab83b31ae6b6f79bb7e6a6efd9a2b73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 670 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"523b2e26cc8e44d3c6c028fcab03977d6bd3e9d9ff7547b46180315faf991505"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 695 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ee710e556ecfb97776f6606dd3a11c0577460de77c6312a938fef9d750898a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 588 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/dom/serializer/serializer.py"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be581ffed706650277182d5438d77a91d6291eea9d90c16f50d2467340cae75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d651de584ce9316206e6c3b31c2b81cbd501bad75b4b03eb6f061bb6c5d447"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 112 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c05f500dae40597a57f12235b8b1de1ff0e87ab03dd1f3531caafafd915ba0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 114 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a72092cd3b7d420420851dc1e68d22d32715a711de7049d8a5dd36718f9697"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 169 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"2474bddaca0233ce117b15c37d26c6bfef63ef07c9e11c7f6b0155043cf7ea82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 179 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c7243d935bf7b365d67d3f889d1662bac6e41d681ea40ab8632a0b42ebf623"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"aef73a877b62fbd697d9d09d00aa1bfe7e8e27f0edf1683cdff2a1aaf22b9797"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 202 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b09b651e0aabce10c5590f35a757826a381f5a8449a6c081b2b6ad304b228c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 222 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"3977c84123e4db6c910668f7d067b0c9e97d31ad86c0ac9715ad7356cd921b8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 231 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/python_highlights.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a80402e819ed311c6a985ce1354a61836c6f49da315de7e6894bc6c66b074d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 337 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/python_highlights.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"68519fe6be1d8d8b9a721d3e8feecbf4e9f84502527fa59013c488daee60332c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 404 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/python_highlights.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"9112fd3e109aa855f7fae30f1b410b64d190ea0552fd04eb6cf57443a3579df7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 453 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/python_highlights.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f43fc197d6fac178b5ffda99b82193b6f56ac7b5e88793b7187c6f4b159d213"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 462 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/python_highlights.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c384122230de42016819e35e626eedfc9a5556387fe3878864a3067caec90ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 497 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/python_highlights.py"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c5a192b12737a430f6d41267c1db4af69813f6907a1ff04b3a34e6c66cd5fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 525 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/python_highlights.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65c65f3e033bdc960cd51205f3c2ae6feaebb6fdd026162323a444582b2ee8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 541 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/python_highlights.py"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a710d864946763f48941cf8e0c01de55aeebf99fee6b55d3bde163643a6c683"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 100 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a0fa6df247ec6bc7210fc9d2ad19fcdfdea25ddd331cf33846ee5df1bba5f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 573 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d72544a8441e6d21a5d9004d0611b6183134b024fd0882ce8c4cf59f546e2e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 587 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d26523cda93600c1d03735865b788bb1524175bf66999234f631505daf055e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 590 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"a837d8a628e0e8d7cc8087df972b26a01aeddb6ae60fb78a000db18317f1f7dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 603 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc593da30e33e6489ae70f5bfa8ea633037494305a8fbd9fdf530e5f003934c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 607 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"a036dcf550c9374087fefcdcac89b497f5c1b7e144de18fb665735f128eaf9f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 609 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6fcb74212769465d57a77adbcdb02e7a1d2f923aa2504977205896d93dbdc7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 612 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eeff3fbf2f364d131bca2e7e137249b453637de84fa943d850a99e188b329ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 617 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37598b9470528595bd7e943512f30f5370f87a84fc9a9e4f16d5a210a3581cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 625 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3efd73c804f2dd9b0b77f9944d2136c1cdd7fdfa8bc228506b991e101f954f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 628 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"e321bcf1c40e88f7e759b34ee0a39183f827f068381e47dd5e719ba189833cd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 632 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6d5168519d1a7396b647a6b38ac6b36f156ab4d3b95fff2b515cde34744a95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 635 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf0cc23fed32a0b043faae8ec4bb60aeda6517683b196c224e7c1bbcbc1eae6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 642 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ee931c2947a952c811a632221c1daceff6900cf79b4965ae7a8b6342583262"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 650 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"728eea9f5f73e84057bb7f864c37459eda2c3b5828aa7c714480856b3dfb75e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 676 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"282efe95c6988e44dd5d5be565e45ba895a9f54f334dae433129a68a1569c991"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 696 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"452fdd7fbdf5f0a0655156bcd643cfb2622194c91181b197bcd78c985a6bcb2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 760 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c2376a4620e6755919176371979c61323008b302ab7df4a6ebf54556a4c230"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 762 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1ddb089927a52496f3463291755e44e0293afbadc0ce80506fe5d073c0c21a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 778 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1500d2c6e755076f0132d85b5ed3fa3b9d1693f83d03a5fbba0fbec1631c0cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 796 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"672295cf1f9d5f3af524ee5330e16313108ca2b78a6aeb220e8b35629a95bf63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 816 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"6812d011fca9e81fa7fe880283a4d65c2cb72eca30006eefe0b7144ee4884c2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 828 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"25354599d1c8a0efe0ade86d082b38594680e161d679d742afb7f265a2a4d893"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 831 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad579632785707ba2a2419dde7f38e9f323aba9f875a559ea1b55b4f820c1de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 834 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cee3838d529c109690630bb47f9fe4880efd4ed17a7adb95a8b765231b11961"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 836 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"65600349a11e4bc2a6c2b0c83b7c4c4de0e19c6c6e7bed9f71d4d6e2dbaff400"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 855 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd298f8d8c9676502d5d759f9a7ea7c5a722fe6c7d0036fc545b7600432c8836"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 987 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa364b34148af690331740f0e0ff9b8eced6d6aacb2bec1f381e138b695be137"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1006 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b6a27890fe5d0c77c90b900bba7b9fbf10e509c99fbf09fbd26e060d08948c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1017 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"102bb84821d48964bbdd0dba13cfd66920024e6e5298589adb47a50cff9ffa8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1021 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"44772548dafc0fde3a2c1b1b5b0ed586fb779ce4e079c8bbf24e1370784cb2b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1028 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b0919f10e20b609219b274e0c6e02c492dee154b69610e297da8a6aa47fa9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1142 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fb5a79ce85f05f9bfab8967191ca5cedee75b69276066795a96cfbfb6bb15e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1248 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ece211a36cdfc00bf44a7b7bdce8348cd2ec944b84d9b9728386f85f6213791"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1288 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"56088f3b3c643675351e101a140ac5cb88faee8666dbe1113f269eacc4c2401c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1304 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9d850b2b80df7a8f34b4b0da573a0e49381a4506ecf8bbc0fcca0ae82ca79a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1308 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8bc7e39ffda72a97634563a16f8089c9718f875b1a39228f2054a67d3d255d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1314 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"33948bd051866396f8ee6d713640ecb978722446555ba9bf278171c1901b6964"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1318 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57318b78c8f4bfe71a84447257024cbea49e7fac20720e8455f3afb76e44883"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1323 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20bbd748d5d51a714f1afe0e7c895b63a682033268eab4de320675e671491d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1341 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1341}}}],"partialFingerprints":{"codehealthFindingId/v1":"541898b8e87bf25d0e0e9dd1be7ea1809e8f64a793c2de95fecdc2b6cae002a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1348 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ee2d48c706bee34e8d7f2bb59d1bbba170f88f8ebb5059f20b0304a2112623"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1355 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f670156e9937154d1d9fc44933ea51b8d6c4a7f85b11cacf61e7df811cda2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1359 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"629787adc82ae3dfd432dde616f1acf5ddefabf215cb30a98f856ea03f11fcfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1391 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1391}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b095e5a71e24eb5c26b16aea3a455c546e71ee899ee60fb61aecb5dcf89689"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1402 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e26f382a9913139d794b66197c8b3cd0b18e5ddf40ff4bf57b9aaa50645fad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1430 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccedb3688bfe94b6523668fabb183ed70d0d860745a7e72224dddc1c49803ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1444 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9f7f8e0880b1c2148b74d79451af62200e887caa83aa8fe10dd9c144c566ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1476 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c918ca3b0f37a2ea885c15e7ff165189d4fb82cb9951db577bf2f924961cfb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1491 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1af04b303ce149f7e41dff0dcf0b7228dfd3b1acf1ad2ae23e030e788715660"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1493 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1493}}}],"partialFingerprints":{"codehealthFindingId/v1":"614b7f47b0fa07fdfaf459c9038f98b043a74637ec71e97a03a726fdc43e7ff3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1501 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"f363d3de3be50f9b8d7d0e505248a4736463d75c564f1a5b3a12e011a8851630"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1511 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afeeb7d6ffda2ab0c0a1574fdc015a3aa34d4d79dabe159126e0dbcf06e97c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1513 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1513}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7227f047370ddcea84f7d85e6ea1998beaa929abe7b71d6024272c26b58fd0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1560 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a152734b6eac36200cadcdba85d5eba2ee8aa297df3d81aa16f9a5332e9a80"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1765 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1765}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdb6c0a70c97cfebb277140d361a296204e7f78d7e61c7accf92308197b820b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1770 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9508b6e8ddba25de70b22398904b013692257f8852a7f1db4a9ccce44af2ee3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1786 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db28bd383f4974c07957ee9ab441d5c547607c5160825d259c03576a536bd8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1790 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1790}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e290e73cf4d4c435b2c6e4cf6e622f1056062242b664c01520f782bbffb8c7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1793 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"e995258939b55c702e8338d295f7522ae4a7936bbd97eb7d2a8f2171a344d116"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1999 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"f463fc8a025916c50b74964fcccf409af82e5c982bd149c2edea1b8025f553f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 2027 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":2027}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4880c642e4f8d73421588abc7510e7f57555a24c7135ae343b74d87c1f7b31d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2241 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b7a21a762df9f392463efa9227ec3d08870ea99eb2b440537ce584a0d17d24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2366 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":2366}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d7864bca58bf843ca5543a869d1c515eaed9b4d564a37a969145fbc0ef1873"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2381 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py"},"region":{"startLine":2381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2909a0da0994fa0ec3389742224165d2e63e745c7aec350cf950e738b5e106c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 82 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/video_recorder.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7f09d09aa7f91591e19f76b9e3009bca05449ba457292b56b797c38305e9a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/video_recorder.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"611d76fe2484f71e877a6aa47b51de2ba5ad767b76a56b04fb2e2a85a1a7c9a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/video_recorder.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"053ec8033b475fdb5cff366d44b59edcb422233372b567b650d862c7b85c864e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 144 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/browser/video_recorder.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e6476b48f3b209015e251985d6f5c852dba8a4c559adb259a9483dd7bb27a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 157 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/video_recorder.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"68adee6a181c9374ef4043c7c02333090067df694e6ca7844eaf15939473664a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 159 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/browser/video_recorder.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"60612fced1097e52e7e81c68ca997dc4d317160ceefc007f0f5d9feda024f116"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 162 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/cloud_events.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24d5dd519893e2958b600a64307836a47e650580e8630deb02b5f964e5fd74a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\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.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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/gif.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cff17220206586996ea560706f6a233f01cf5eecb1916d82a1b7a95fd7ebe91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 170 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/gif.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5b99f7f68f25945049f5e4dfbfa2821b8436b80e1f9f389bca9f3823085a5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 177 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/gif.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"168ab64c7e69e2bf614eb32711a13f35c8c76252e1cb568af78f025ab823fb99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 207 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/gif.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b72116a594fd8d45290001b2dab2fd111d5ba33cf543f7c3ffdb576da20d16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 90 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8003e1b42e95b5f0340549bf576bb0f6aad21a6bc6c9390b241d4934ea57d55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 98 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b774eed669247de55360e3e65b42e3ec54cff7052d8543d0c939ab8519a7b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 102 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"920d43678d3b3af68049bcc3ad80e6f38952cbcd8b47e05d22f1d4e1c4583c1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82661459f529c140d9b4fe407a45db4cd269654e6a573d855afa1f00ab37a6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 110 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39a9333d624cfbfc81dee48da2c82f69ece5424a0ffc4bda017102048c8b162"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 116 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe64e6edcaf440b81f1b738fcf148526ee86d81a50361db136b135fbc2a4002"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 197 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"10800c4e8c3a39432a890ff7ac32089f5eabb76ceaaa4a9fe2eb746624368636"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 320 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a950f08f8cb1eb941ac1e920cb5422d0614aa72d358d6fa448ad4dcd21b158"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 340 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb56571e059c8ea208946d526954257769f8d0a9976dde495a773026da6b6c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 419 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"b271ff31303fcc8f10d3c84f04e655f3654e4ae098993b68e82c660363477bb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 448 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1402935cae36ef4341a8f5e893eb1ec28b1bf47ac5d9bbed757982d60287104"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 491 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf07a0ffe60d9e4393bbcbb46ff09b6f388f8504ea42b91e954e9558001a3354"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 494 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d70b1a5cf60108ff53b521b0d86d7cc1c1d57859a48970c4211c14ec73d25c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 507 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16a8059f39f15fa45882d315c4d594b81d745e7f872678f84274bcbd9f7e42e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 511 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4c4b9a5d10624bae3474aa4a5dccb6b2ab85d867f0c66c1047fab62f0fb7c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 513 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"0456d25c75eb07967a669f0b9e6365f4fde146002eb37efae9636f80b1277ec1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 530 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5aa4be8484fc7fda06376d87549138786140d8cecf7ec816ba566fd974f358"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 533 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"626fea39c4a02c2e7b2d3fa4aa0835af0b48eb7cf070c7bd947ae8b42df9fe33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 546 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"3652dc0f21ac53275d6741af42aea0bbd0ed4e32e43d8c54067e1ee207c04982"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 552 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"c965aa41ff180f72f2227c63dd93f03449d35b3223d7235b7b4d0b25864febbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 560 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"a937218735ae88a031756b755c0c9a8b171ea1285f89a392b9e6d4ade9b31eaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 562 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f14c37eae54859871a5f5f1bf0a18df447e89c85246329057e413609a02748"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 587 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42dd9e01f1fbdc24fea59c0329c0674adb65615fd49c39d6f157323441b9ddb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 678 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1f4c9ee8879404dab77193d32348e609693172d729b5948e9c333bcc8640ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 687 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fda9da383a5c41d3236770a2ce005a7bc7886d7aa2aede9c61f43f2d8c3a783"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 698 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eef6d4db826dd556bc00e918145280c7c7b0dac139d6aec27cb0135033bde4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 705 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eb04d1d266a4807f90a1de28bb55e43251bf6b120f97ecb07826add00f06ceb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 725 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdff1eabac88ae60a322eb3884c1d7cacd6c08c492e6f86020287c6bd02e7fff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 762 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13140e4d0493d953acf41bd76c5fe361fa62d3250e00db3351b31a3c8affb0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 764 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"b832078fbc22261a9304f87821e905c224f42fb1e8d0ea5f5e2918d64a2bdbca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 778 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"19de30c21878f46e3a60d365eb22786dfe1a1b3ce5a7e4b9be5a30fd32aa66d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 782 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e901762d191a3f09287c34cb8370c5e3da12e9fa372d61cb0942acbf576635bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 789 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2576179cc74188b3662fd45b7ce0cdd4b6858d809c362f14e8beba5d3ff778"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 792 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb3232c19c636e4a72ceba0730b8117a3c8dbad780932b885ce28998b133c8f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 796 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee70beff32cd9cafd3968ba67637a51e22e1d78b3d2e588325caaf639e64e2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 810 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d80a8f98be85014b7058fd82a0eee10646a9b0e3f775938904372d9d8d5ef15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 813 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0f21ee2db618b6d69c180d7f99518b8e63c4b135e423548fb20b0392e2164cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 815 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"150db32e44bde6b8f489ab551a4064edc057fef5975138b8b83e5129bf85e51c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 820 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"59323e576cce55351703200cca764fc5bcdaaf092b9107468f85cb6655bcde3a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 898 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e050651681b3ea86cfd686287a1d82ba8b784c7e84cc1233c5a1e9f96e67769"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 980 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6f021cb0e87dfdf5c780e4172f228ec2b754779e76d9236a407d36532a0dee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 984 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a29c2f13e364bb54b41685544fe5b51cd15a29b421c99a6879e8dab8cac8c3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 986 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"804478891895d93f3a2973fdf52d07906780d507cfeee63c817db15431e68170"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1197 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e33ce5b6be526fd3de8e7885c2818f2b5cc35369e46280ac355c267fa458836"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1199 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1199}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf2d3f277d13b2ff7f818a3becdeb16793a4f9ff306a1a3a4cfc8a6a3bc5818"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1204 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b1907925c949d9b104e022798193fd1a3757f5f8b2dcd0c78a437fe8276564"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1211 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aefd2d60ea25d7cf1b8d480501608c2b7444afec0bb4590a792fdb8ae504422"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1219 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc28e8980f1c6e6e05f7d67257f1987344843e8fffa4a33b8fb9def3a95aa87e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1220 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf76fa97babcba9850475922cd569b8bf9f77aa99f57204df16320bc7399ec7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1258 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ad35b57d54cef904879d7cc78b0f9e775e8186736235526a9b6a63a7463718"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1283 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea1a7bcd9946786ef2ec7f94f5ea940287aad0bae6cc0279f436bccc0a02afe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1388 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2f052fd5126b0fa271acfe433e2f2820bd2dcb20ed9479f05767011fc4dc80"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1434 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"42282fd7c9b6750297dc7397a53a6812b8433ab75c872b80050058a4197e4a92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1466 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d495c5d6bbfb255c7153978e1415338dd6f2e2b5c01979ac881126ed1a3db3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1470 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50075c2819db8e665cebf0ff98a8963bf458ec6fcd8faa6d0a8829e809f4f50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1478 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"346d6e8ce35de0c9d8bd7fee1f663005c344c7d0fd2773087ad7d5663d392bb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1491 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f487f8fd4a290aee03f4c1dd2844e54da7b9a372be1780bb323057f6082fd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1499 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"53211e28570a658fefa6219a8a5dd04fea197dbffd8fb7c1b510c35b5de9be57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1503 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"4196caa39e8c47c0954e6a6a9215a9ba0c4ace3706f1818f7bbacbcae7d49874"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1511 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7106d97a74fa7b0951ca97fd5d72abb857bc8df8d10fa2595c75b61c431621d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1540 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"4101684fb5e951ca26e79596ec2bab3af9cfaa825ec1fe19078e0a4d05467e67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1562 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"537d7cfd0658423ca9eb7e2d95fe5330d3375baf263687ea4621fe9e31297b7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1577 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1577}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b456b6acd6125fa85b6134d6d9a6ca8472a86b3e31481a541743d820ccb450d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1615 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64142d69a67ab01951475ae308de95522c6fd48d481f1872730d3489bebecd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1647 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05a044b01cccee4d03b685b36c23075b52eb95772199743673898d2ddbb2c3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1702 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1702}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c72081708e962be6dc6553fccc1b15cd7ef3924225833f85a1e9ab3dea1378"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1737 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac25a124f8abf7ce28ad894800b644f4a75ea9e8df6b63d5b8b851b57261f15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1752 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e4969faf26d70f088f1275a65a9ce88edb5dc5f779ac039342be4987527d5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1761 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff8059b1aae742073276f32fd5e26f0436044588b8c5e8d9812ff11b2102425"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1808 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1808}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c5aca7e4a5625ca922ae04eb6ef29cdcf7e76682ec1c22cbc5dfaf803222f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1815 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1815}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dbe5143393cc5f24b0c09333fdf98d5d82f2c54591255c76d9033b3ee0757d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1835 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"670850fe5cd340f29a376b6c06761c2a09927fe69b303001b44fd9282b00f076"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1844 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1844}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e1774892a7820ef5b1ca126d8c4dcc6e9a24116237689a746e552a947c455f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1941 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fbde4911d78f100b068af8cd9e0aa4ba2ccd118d28c07d487b4d58456cbdd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2042 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"8694aae6cf490b3fa48ea384450d9ba6714d4a1fd975f1fbfaefb4ddd83ec271"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2049 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":2049}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5b05b87716cb4f8817be6046981827ec272347426500c2d6463f050ebbfcca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2051 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf24b5f33619e621fc79ee2d5007d886bc29f309e9d40a32dc836470bbf354e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2056 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"f221174f323be5dd24a65593a9bea90b9eb067e3ebbba349c320c33f5e65b80b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 88 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter9/browser-use-rpa/browser-use/browser_use/agent/message_manager/service.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cf83ea4311533d77810fc0f39e2fda5fec77867f8181d592855c636113dc36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 196 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/message_manager/service.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f956fcf3d27b944659eaef647a34ff048feaba9c361a46eae99bf4702fbd3882"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 200 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/message_manager/service.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a043b77214fbb6f4a0959b42bebcefa7c6de78b7d6da5b6fb0fb38996f7ac2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 203 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/message_manager/service.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4227552cd373dcdd38a2ed5bf7dc480640ed30dd0d058f3a4039d5c2e290c96c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 211 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/agent/message_manager/service.py"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"997f644b014ab31d7653b5f9393aadac09615087e2dfb386fae38f30764d9775"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 42 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ead13279f31b13189d5dfc9f030225982c0588fc7b1657f07bfa2dff10ae188"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 47 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2a4c5482c0b53f0b956a4f5bf028f633b6b5b2ec5b296b5b16d75e1845e1c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 70 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1b5241ef0ac240dd786831c61ee1cf5734e940c3c85664a7b2969c320c224c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 77 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfc6f57a48000b65f839c3b21d842a8e9f8832cdb818600d032429079ba3419"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 86 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b59e42e3e5d377ad808515619559407164a239a806cde51d4e98b2b42d9f1028"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 87 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf575ae5786f27629f14fa514e02c1ec30267c62a2eaf70f2e43cc223f741539"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 91 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"1758e39031a80281b5fe1acb6806aa4ea99fc3ff4ad955491a266e215a3a47b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 112 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d33880f1dcceba6b5ccdc2a288c5227bf4190e1a3560e9744067530cbc7c70a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 113 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a1181ac072df58422f5a467b6ff249bff4d519997f74e7cd12816ccce72402"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 118 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8737cd3ec8a6e0720de2e7a8dba3e83277f3cd4a24fdbd462cf551bfd361ad10"}},{"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":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f8346f031c266c34992ae74fbe255ea988124b0254b704f9d225fba74bcab2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 141 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5b46915525b2f076907fb9bfc78089df78ca55cd38e43e78ab52efb35da37f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 156 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"2671bed37979d04dedbeb661e303e36b2399c19c3c075c1be9ec1f148764f559"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d897481e55f518774bc3527f2f834114a6d0827b31dca174d4688bc869fbe39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 162 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"813e02708896d78b0d8ea7eed4aed98365f0ce68a77567df0ee6863ebc825682"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 167 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db9b43c0b7d1d7252356ffdcec34047b315e2a4b35f122a68d2f2533441cbd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 177 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"11e968720a5e0e84084af91fe314c5a268e213e001a73f7cfc355014c094eb70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"538647d6e7b3cc29deed9dafa8aef8f10f3ba03bc561cb202a2420aaf28f5138"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 180 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ba4de27a8ec9be32005d9cb3e7c27a43d3ad8f4a2ecb7f2f6679340320d6ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 186 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c82ec2eeffda54728ccc50b9a420112a01832ab4558f60eb47fea46bbd0ae7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 190 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60a4f3fd75bed11b08de190dacef8f2b74bccc77634ef47ee6cc4e4b94cbdea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3192f262fff248df9aedf3bd511d15605f8bd1713093424401ac4b21d764712d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 223 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e76a4f2d86fe2e5a7e5dee6ef69a18b052f3e126ea342cd58136ab65ae48bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter9/browser-use-rpa/browser-use/browser_use/actor/playground/playground.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c91d2b4f0aea5381642eb00c2c967e07ac6c1f65b623088bc67f02ae55c2bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cad3194f553da93a28a825aa880d4f0ee2ea3b243099c29a8280790482fe277"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 164 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce39b357b171eeeeaa98d1dc3ffb71412c18d62455a0191aac0d189d769a9bc5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 194 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf37092b3bf29309506dc5e2208061915cea74da5729b5c142a25070d0daca31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 198 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa9c5d656ed665d25366b01c8b87bf21f2c58cda597ff201cd112622458b4f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 343 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"592db054d532351d4b71f3969380d843442d34a844e3b200714d975e69b18a56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 377 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9cfdf021c6a73189fee340a672823bf57f33a40a037dde5288eaa2eb087843"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 378 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5ea2142c397b43e6b2ee6dfe98786829dfccdff44be1ec994b7aa30f7e04a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 524 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c6a25c1a79d9327670129bd8da7de1eb27dddfbfc37368328b5f9b48b7be52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 526 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ecf1875a96a637f2ef9640eed0b418d260acb0fbbc891b5c09ebe75b73032f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1070 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5b7952ed9574a7892d9f3d99c3ea1482f86d1d0e23c51a5b38d934696e898a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1072 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"c321ecd20c95a98f9cc73eba513207954f18c79199e64c7a6d129ed7d4ca5195"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1073 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e43d636c2f8e95014004786ab7a23b4b68fd43d56aab67fd09bdd114866f27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1074 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb0240ee82d1b64d716a5e593e14d8dd13ef9e9a9d2d9bd7ff9167c0ffd2cb4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1075 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf939b64f2c3dcd695c8c333e110a4fa86ae0807db1073f9427c3c510fdee548"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1077 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b0637e8cdcf0c649449e010f0b8b8e814f6be886af9782fdf907ca9af7392b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1078 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a040eebd0b27809173004339cc0220348e181f25b1f28067aa263d8a6df1bba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1100 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90075a7dad195621a80313ecb3f105931b75ea5c3bbfc49df0732021d60bda8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1133 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebcf97529afb88a1c6f53c794a9d9bf315611afd5025c9d1fa888986d01724d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1156 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3df8cc640343a02ca3b59f2fccf1c3b33165fa17da8b4dbd8a6c6f951c40bc9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1172 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0f644d612bb5d7da19157a4afeae243ef33dfff1138c0d4994c3fb6a4c4b24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1176 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2b9a17bf03813ec8340d264b1a7eee61164d12c92522677cc60686e7abe653"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"797c161c2eecf670abbd43291ae2685e43ab37a77e7bae46881df1ef1badfc5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1184 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7eb7280887e4370ec234f81609899cddba1464579aeef45ab0c0bd206a4a02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1190 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bbafb22fab4127b425cc21c5725b4f9d73efbe60aff3437602b848e2e5ab30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1193 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f706ba1247e5f0bc69c7c7c35ae378435f0808c282f5f5ccfada87bdf1750cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1196 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5967b624e25ee80cdfd856ec89aaed60b921c9bf0c8a10d6b69445349389003b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1198 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd89ae624a8ec56de9c37239a188373599c017516b471ccefcf18dcf839e03c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1203 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eff4fdb98bc80975ba6479b5e31444fb6561e3d1cb4de28ffa5c937b3026e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1205 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf4a2f8e76b1290ca895b5cc3b0b1c4cde347ecf2897f8974d5139baa5428d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7113968d0620a784466f2811b66c0943501247b967eef0358f8207c9f1668e02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1242 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef84bbc87b84b04e19fe73ad58b3d060d91b701e5a022a54e0b849f4eabb3099"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1247 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b27cae19e160cd964a15eee67eaf3fae41e68bbad582a9e2d0baabded83d20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1259 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"e089015686bb0ab838db5499518ab69b88ee3eed7c7ad3dd304ec720f1a0b560"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1261 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d441633af68dddb662485a84a0a453383bf37b90e2f9a9017307b740f0d8290"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1263 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fd3063981d69b31ff04d21515a6d456df96eb9ded6217874a990f7d4207c6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1265 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8302e8b125ab6fbdff20b21ad78d614a6f24c725f1470755d3588e0f4225ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1266 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dcf8778017f6855542b952458e5edb4e97a7fdc97dd29e256ba9d3a8ce4f44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1267 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c3022801a69f2b2181daa9df1e195f044945b25d6d936e0d9a4b57cd8df6c19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 1304 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter6/agent-with-event-trigger/agent.py"},"region":{"startLine":1304}}}],"partialFingerprints":{"codehealthFindingId/v1":"958ed2b0c21930e8cdb1080ee439936af4889ccd5668bad67cec5e969f2787ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 64 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"64324efe46f94ef923d4dd3d20263725935d7e760c73936f45edf33c0d43de69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 85 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88ad966448cc62f94f582166a3406e2c3437a9185e0c4afa5e4b15c19a72ef7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 110 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"541a70891ac4076d5dc473d120feed816e1760ca48747796bdac1c07a02e3888"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 148 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fbe57bcb426ea3c8981353535751c5f58cf6e79b60e48c2e19fcf525e74d249"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 194 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0beb7abc8153411300d411eef2b5b26c9dc740cfdea4f615f74e1c598ffa23"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0c623a5f172fa902bd6696d5a8e92acc5b5e8d073c076213fbe7976280582d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 206 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac71a16c6bcc1be64d461cad66b1e8e6d417c513330729ff285df0d9b28a0c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad061b3157634384f3a2e2994fa522cde51e3d78d4b863b8ef1833660f093e4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 221 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"add48217db09a1647ece6cfa8c2d8771bc64c337692a1d659afd8567b85fe88f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 236 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"badf2c9cccbc71ba0f4626b15beafc78431a0282aa83c177df89dff3c13a7a5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 237 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8e16bad199fd9bbb3e6c84d5067ca4a2aaa477dd57c8b9e22427fc2c79ec92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 273 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a762e576a89e6ef2643ded524befdb26a0e7acd3726c0a2978fe609ec7cb4ca7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 277 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/event_loop_demo.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1160de15029429b2eb1f982c6e9b34d9d2a17ce3a14a09e32fa3e3b369caf9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 29 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d89ec2e142c7f08dff4bbf9be1bdc75ee57456f965dc96023c8b15acf24df1be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 136 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a3243fa5ed614b28dd1bb0bb384778e4576f74295e4f919578c8168efcb601"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 167 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d350ac38929a0e7dd2fc58707f562636de99c1276f793cd006b631f3e34f585e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 193 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"16255f1e73172ab55ad96dfa64cb3ecf90d42a892c9de4c0cb6d884afd124e2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 196 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb41839e367939c3f38bd77be5e4b1c824dc6432e57d60a1bec2917302c4427"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aef467cde52c61c1e102cfdb03c6e032043f933d0ffcc0fc6ee9970e871979"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 315 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter6/agent-with-event-trigger/server.py"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14bc1acc9aa8b59d84c00cbba9f4afc9e84f1c1f964eb86ac50f25cbe1999f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 28 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/server_fastapi.py"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce97f9b513aee36289c6212c6c74bd767a9116dfa57eb200ba6c5fc0225c3fbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/server_fastapi.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5e63a9390f4327218d2a1906adb99c92cb183aeb8b7f60d6d425bf5457aa98"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 187 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/server_fastapi.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b327c1b15b045fe31044c2f21c77474a8c5d99113766a03d8e20640879ea6ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 190 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/server_fastapi.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e084c5c8f60010b7576d30eb60117eb92a2eceabb48b05c4d44c83ebbd6697"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 195 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter6/agent-with-event-trigger/server_fastapi.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc51de10cdc5c0da5f3fbc592ec67344dfadf38f72d63fce326acf9d7a48f49b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 309 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter6/agent-with-event-trigger/server_fastapi.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"49aa71a7a91509162e46db34ac94e5dc44f33461631909f46ed2be700155f144"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 488 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter5/permission-embedded-data-objects/pedo/core/store.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e59137e3e056be7edb38d8da1a9375160be0d9d3580742420a1fb77fd76a6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 534 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter5/permission-embedded-data-objects/pedo/core/store.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"344677b6a6b0e82d1d53734e3dc4aabb90421743acb49f99606c899ac60a3f81"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 39 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/arxiv_enhanced.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3262dcf6d4143735afe646bacc368433d2a7fa0ea6830fd3e97fe9ea838f6a15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 61 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/arxiv_enhanced.py"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f357510cf8c88ff1ad20097ec1e899eba4bcf7060d65b7d18010f48c6cfc92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 76 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/arxiv_enhanced.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"854baf0073375e355073f631ed89a374997cde52baf6c14fa467c70c90df3ea6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 109 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/arxiv_enhanced.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a62a7bcaeb22214ee9890c20fa19994ed2dd5cd741d65b574757ad6504ef88b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 149 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/arxiv_enhanced.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ae86949af34f6d49819271e8f1ea8fb8e2bedeb713bf2dc9c0929a274134c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 41 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"11167529cedbacf45dc7e50260185701b3f1b839aca44e9f9a3a7e0b1d0242cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 73 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"898763b22cba3a0e08f39b1f3428d35f11cb035c561d443e9474a06a7f905c12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 88 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c56c8d4780a090cab26982f34957e879af8cb06cdb5809015c4bf4fb33ab5fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"511eacd5d4f608057367f8a92369a4708db0962507103eed48ade4b57f7176a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80ce7bee3053d9c18ffa62f1853b74dc77b9285345200d811584b6496e2133c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02fe8083a4bd73455d4ca89faa5d2a5db9dad03979c81b740bed9f6b3dadf9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 190 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5975e176ea59cea081eb65aab9e892105140ae5b877b103efd7cd6ec3f1e681"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 220 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"8775abeb988b86d062481806278af9eb5c5947df41ba42ff406f0453889f3bd7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 235 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe6573fca4b25a11a5e747f48c67d75f0715f651bd6e68cf29298ce78ed5972"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 266 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edb9d66dfbac1f0653fffa7aa2ba46245d97cc21e347133182c8153d5acf6e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 282 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"530a63576ef9e768dfbe5c2252e9015b4f7791acaf1346948ac7d8049b1ee9c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 297 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/document_processing_tools.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c834401a6fabc26cea4610fcf72e0f7a15bacb45b664e2a115de57d58bc783"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 334 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"043918525d04a72d64201dd3a7268c7f282ecb1ef2ffc3798d8e7a4f19110d00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 353 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69b1927d91fac1409c66323f83eeefb05524737ae66ddfea58b58e9293a1174"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 368 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1ca50220ffdd678e8f61514dcef4ed40db53b54e47f982d56726e4ac8c3c89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 413 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"575167d14ed7c146f5da65263a02b4d4e9f50e5ab559d14a522896488c27067b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 466 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c94a587d68cebd36530c46e612e3cf4bebf16000f88f8f092cfc53dc7593f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 469 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"112ec4b0ade04b79a973ff58632a59d5189bbfea022230ac7ae8ba27e4d927b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 494 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a477abc1cae85a2861c1a94cb9b20ba5e06df264645beee1e8489072e3ba43c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 525 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fee45f4ce332d039f80f3e650dbe70af8d1426b15c777d5d1d0e6fdae4c2a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 555 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b66803b8e220c8425f08c3443986eeed30e3454aaa16a2e156852eddf3b00af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 570 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/filesystem_tools.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd0e5825e5566ef5a541a25259762fafb9eff78171e6bbd6a0e8a3bc2e25e55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 80 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/google_search_enhanced.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e990d01054b615f563e247eb1f754638e7362dbaa0dcd626f530d79b27a2099"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 88 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/google_search_enhanced.py"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"77792d49db7e151b2967a5439070872d3f37b7b3bfa768b97561e159240b5980"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 192 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/google_search_enhanced.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ccbaa30d0420d5d2195aa2ebdfc757dc585d7dec6503311d968bea773f4bcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 133 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d98f802599bd454f0618b566d48021fa9536b6a14ac2a9c4fe269d2f1ca0875"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 155 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e75cb648acd3b4e5cc84a28287e544e42b790643bcdfd0e6d8d6c2d5a1eaf58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 203 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d16e1f8748084b5245af28d63774ef8e26811423cf4dcf4f1996ca274fda0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c032472656dcdca2162881d2357d6b7990307884cbdfd37561faaee02687b46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 281 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da4aa7cb554beec49ea5e66884af354d540df2b936a205bf479fa51abd4cf0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 312 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ae315301bbe66bd7108e411f22dfc4416a866ad343f9305c4b2fa6793bf580"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 330 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b9e959719fa2f37f9d1bc843e3aecf1097e2a7a401a1f8410c1f1f32d974dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 349 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6229cbb92b7131e1d8c268d0ef9fbb097df3d05226fcef15e5ecd9af3e90ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 380 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"6426e21916b885d6be9616fb9f4dcb5f9bd6d4ee61293879994b709651abe9f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 447 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fda14d38af8f763f1f87543f724b7db5c5b4e43b4da7426491696142cff8ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 480 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"f083163d7cfaf9bde7f2cac7c3c1707c10714e3497d4645507a891a855eadb67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 520 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6fc402a6f0c57b2a514b0bfc678be03486749a9c0ad84e81146dabe8c20ca2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 535 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd507ca27899522db4ae925b337be0302152d2352abf77acd3433dd134ec089"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a166fc7eb90e855e0fff3b257652ac9ba53a6ed5ecdc05cabe1e710cb1f942a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 653 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f13f59fa2b2f58d53ef055df77132febd675a4d6bd001c7bb78c0e88f6f6511"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 668 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"75cb95699221a28f1691fb30269797a1a60519d36342f19bdf808896606f25e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 709 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc9e9abac2cc21ae7bc7cadb2b625090886f7dc7a9c8b2425703a6574fef0f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 739 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b70b36b2e3d7c797e4bde03441dda34ae6a2adbc6fb3f3d755ae214f4fa3781"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 754 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"f933f3f99d8aff9782a7cc78994e8e481ee23fdb34d851a55d33f6080c57e7f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 783 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"df395ba6432f3b8110d324e1e7596a576e7d0cfae56ad516675ed6a1e02b3f4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 812 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2ae0f3b57b59fb8f0b5ffb87a473c3525f438488ccf59658c8a6fa7734ef0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 847 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/media_processing_tools.py"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"df846c4a61d8e89fe7569971789405217e58aadf52e369beef98175e1c80f411"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 41 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1faca98377915778186ec56f7cdffd497e6670fd77599ba8804db63e61c009e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 94 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c353a5dca83d188b700da884194a7cceec966f84aeaf1dacb98a58cba2bb8a11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcedfacf2d277d0a8da422a99309ea222ca6be5f4346a8e03e74c4d71297e76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 156 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b2e4643b85483b305d9efab096771c31a97013179915f6ff05c65dbe34e8fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 234 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9a941a8f941785755883c97145b980fef1c7ac6e3ec518b10783809c34061c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 271 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"6678c0ded18a0bb3708224d7f41cc70b4f2017cb84abe93010c98ae4b4878be2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 308 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a28385bf224d64706cf477acfa1edca1172d8f84398b00394f608536f95d023"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 347 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"016ac4b1b0fb112f8375acced97470964e3a6bcd7706fbd1514a3d9b1b8580c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 386 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1464f50120767dee998d7a4782fc3ac89f127accb068b74b0bdded4e8d4080"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 417 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edfbac418df2cf7adc96ac3f2708402d07a100a5fcdfc7a235110fc6ce8fcc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 441 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7617563e4f205977d72b14eff63d3934bda3035b0c8f79d5166aaf00495ca76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 459 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33e037ab29c56afb5fee4c153c73cbb5744b38df849396e601fb0c4829525e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 499 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"412e67e6495c0f873ce522e26bfaa358b7e2a60d354a7d467cc858aea026364f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 553 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"52005fcd7476a31d635342b5488552aa990a3942335369de41f711490932558c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 572 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/multimodal_tools.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e570d56cc1239074254b8a4b82db634a588c00dd4962bf0477dce6ba6dc0f350"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 104 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/private_data_tools.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8bdc3945e873ff719f99543d657b9d296239e4028c226517cbbb471c3d3e8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 137 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/private_data_tools.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"873babdad408e88c8eee19d657d0adf129680417f28a009b73cce79d44bbea34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 170 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/private_data_tools.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7017a1d18f588154dd5c4f7ba5b9a3fdc7c5b2a2c74bbf3e95e5296892fef29c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 226 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/private_data_tools.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0359d24f37f488ce8bad80e81455c7cda3d4a73e3ba063bcd45094ce6ac0f145"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 259 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/private_data_tools.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6e9d6e6112dbdbce261b4bcc83590cbe89257ecae841ae7daff6a3e6709247"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 202 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"65413724154df5882031acd084ae3346b244b0554199cd974048c6bc7814cef3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 255 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f0cae3660a21b9f2c66c21bf986a7e33367b63c2991335cb1ad0585b56bc6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 270 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"624d9e9a2ee83f9a8ac36ab5545deec52dc2ae7173b99b81d99e09ef858eda78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 285 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6230a25c393c9f76abd2225974ace6ab90268ae951119154e8ec3bf8623ab4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 323 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5be159ac5e341930eb3afc8f8adc18c5c15e606d5deaaf429468403d0e472c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 349 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe37bbe96d988e7fae1ca3b8aaaabbcbb5a3d7e22688b630a11fe99027d21c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 364 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"427dfc9104307a6a4f1a77ef2d2b69279c6c4145008c9a10e08c6a58587eeb60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 398 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"b526a6f5b5a0938d325dc8aad6e3c34144c728f0c7eeeac71248b8efb5068d25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 425 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"f869ff74b55b790012dedb2ffc2b9ec41c8aa953bafbbb7a3a6de993f3ab8f45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 440 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"2210801c77dfed7e053dcd505ad03bac7a1b3b2800d5cf43c4e168e53f34f262"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 477 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd0df25aa607a7bd74df1bf78729e2263fb150c9739afa9870ff03fa8725fab4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 518 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ed42064295fe14cacd3ad55cba9c39daa35b9c5ccb1ddd44372179eaae328f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 533 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/pubchem_tools.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecdc771c2e536a88f89807f6a387534681e9b89d0080f90213c000a25b8d832"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 41 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c75147a168856d6141f53d8595e6441974a93cd7d3ba132fa772e12335ed8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 120 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5877fa510adcbc3e23a2792aa6a2896478f46363ad5cba71ab87e0345afcfa74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca80363d0098afc0e3be21a7644dac49db9af866a767c97e4bc55457f3e3ff00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 164 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d534859212baf70520e48668d8574df5be74a5868c4174480af1c05af30f7deb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 197 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"53133484f59aad684c401a8475b52b1d9c2b692eb817369d3a06b123b9cd1f9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 214 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4235bdcba59af125dfd0c6775a60f7fb265bde3578a787e95882a6a74b82e7b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 245 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a1b9e57690913081bf6a19a7c45db0b6112902c73201c939dfe360b1e74733"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 270 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb9c0bd4e2e787f347736624f60eab73ae7f1ac92ad9f4fedbe18fe15c499d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 285 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"87975050b77a2a34f3a6280d2d3063629acd4153c923e5f3fbb1e3b7d90bf2d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 318 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2cc7c73513fc974f769df038dbeb9637b37ed94a2e763771621aa8cc6d0cd50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 339 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac532181a40a511254118870a3e99036bc5e18c79d542396bb1f5fdb5e730fb3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 354 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"326a707f2d3916692065ff6070b9e91bba9e1905630d5c43d6476da99f100640"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 387 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccde1f834676ba3b95672ff98fb55c1f2140ab379bd64715330ad0cf46289162"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 428 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"76901f928165a87f6814a3815beae3a25cd7aecaf440ab87bc0c0fb9bffb3010"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 447 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc735cd9d1ba53f46620d5b5846b629a2c23f06258d26b04b14c5b406b3d6d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 478 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c037d4010049f0abb42c95cb3217f1355ddcb24e0d315594202dbbe226f3c6c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 518 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"163a4a86a4f4807b73982617c76f804ca4a697376ce8be884cadbcc0ea2f4dac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 537 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e9cc410c4209a418e7520b09545e7fbeb3dd2fe3ba9e528b27e9cd8a254051"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 566 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc8fd350dff913dbfdf0512264f8aa9db8209115bb0d214315e182d74fea38b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 631 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"63878c37008f65d41012cdab1a9c4a5e36eb747c0282a8c3baab71e51bf8843b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 646 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7f18ab849e58631f356b98626d22de5b8cbd268338047e4ced88170ac51fb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 677 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e78ca12692eaee45bf8960edb0615fd74da7b58948ad0b0ead99c846a3889b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 728 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"be219b926d010c28380a9a5fd00c93baa96bf4be22c2de529b1eaa599cae2a58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 747 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"187cd4c8140416e0f0b83965b60c84289813de2d877e05bcd15dcbdd95855efc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 783 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8c8d4a760cbfe0609378b9f1d641f6b8c47046ee5ca3cfaea4e56865bd6a0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 830 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"8961973d4d5b80ff53c07851b803ccb8e737659d865a8affd3fa491b811bda62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 851 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/public_data_tools.py"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ab51b0248a177eb5b64f494edbb2e7be130868189493266c8f587dd80970b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 90 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10d3b5680cfb58c17512476ec2cd4ae98d4cdd7bdbdfe5c2d63243ebcd76504"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 236 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"40dfb0a00260da10d0038dac47d5e6c33d8fe0e29e356461b06b1e3aeddb0387"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 251 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bc47f5fdf886b4afedca136f1c475650707b8947070eef1d6358a108f83730"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 294 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadbadc503d8fddef58ae6ad89aced7945b0f7804fc625dfc0dd38ebaf923b3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 309 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"775644d3e769e1568ff14c06d54fa094b421c727b937a7696b5d128cde8d01c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 329 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"a195c6b0b0e8ff3b2725a16094701d4d0aee5e20b6486a77558b60a3cd6c3d87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 368 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"47513602a77f3456d40c17f09067d2b50798bc054aef60fc784b64804a4f8a19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 391 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2b880041cd74ea2310e422160b0f5146a3eab03fd5050a627e7f46677d6695"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 398 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"217e311583456b74da7521de1e2fd40f2edcc439f480b2c572dd8c05c04c1b43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 420 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/search_tools.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a91ee24dde4dfdf3680cf49da1d8035478e67300037ad7b6c9fe6fa46672ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 36 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/wayback_enhanced.py"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b5f87166d7713d17dba8e628bd96ac71784a41b7ab19dfeda78d822d687229"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 40 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/wiki_enhanced.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"360c1c4dc2aeb55da6c76f4f2022281230bf9345cb8d8cab594a6eb37b1bfebf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 54 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/wiki_enhanced.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"255d2a1f79f811ed58d070636b6e97055232fa71d4a2827c8c866744d77d2c59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 69 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/wiki_enhanced.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7518b31d6c4dd08fa68136ece1ea984dc517062e8ba30dbae6705edf851a375a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 197 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/wiki_enhanced.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaa3b30de92ff85504bd6f8d5a901cf16d50ae99999bb83c39eadde71c35dbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 49 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"756904e5d93a7f216c50167a0554729f3967040d9e5e2f1afb13f0973a9924e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 99 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d118c87d30b8e553a1886cdd87768007eebee6b262abe8506b3b08c75d373119"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 114 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9360f1df7fc1fe42c9a90c40abc372921f08211b7884f49472b724f0cba513cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 157 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c43d3dd35b78d04c37833179e3da8027b1554b3b33a1d110ab2091d188d441"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 198 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abda508ec57bc2345a06914fdd1c39ff2d1660597367de10a26ed2ee1fba8ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 213 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf6e65cc40d287bcf756674050b4a20bb11a5d5577435e48d611f8a0fe8c5b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"117c2698d28bff26081c812415c71452ce6772274d70f5c27487842f5816c7d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 291 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e81d76d93cc92e55ca4e2e7d27687d0ec5b6d73f563836badd0c1f60066d90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 306 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec1cebc269d6f594c05ae0eca6924ddc3a6c14105811a33b7de496b90f0fb0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 347 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f8ee5330657c45f4db7e8f5573c8585c17016a35a55979dd7cd29e6fd379db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 404 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"70837597182cfaf6478b930ab9459e16490b0743eae987d82cfe6698cc6ab4b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 419 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/perception-tools/src/yahoo_finance_tools.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5622454199edb6aa03ad9d44b2e59f4ddb7f4f34b4429a2e33204260c7beace"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 39 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51293271575201e96c3c6df5363c38f527440034987541949475973e59c05d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6ca4a829b804204ebdf978198e7726e7a5b804257d1ddd6f9a6e5a23e63015"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 160 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf86999e1c403bc45a8c3998dd767420e4d4ce4f9832fd2e2c3361aaf4191a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 181 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"765ad1ac69c353562cccbcfefa3575490a99982c57e5f37629bcf7abd64c7ab7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"e785ec1031aa49f38717cd97651fde0310adb4381b5de4958b288c3e839beda1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 221 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cca7f748a59ea52687c8460334529b4c7e8ab9f55f6c855aa0706ac32d60e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 237 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"118d47e2132a679564e130a260c84d0aaffd5f64501b9a6a68366108b9319c51"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060exception\u0060 at line 251 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"f543bba9f2965eb6f58f5ce807bcda935dc3af851f0785401eb08c928c7207fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 282 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/execution-tools/multilang_executor.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a96af57f3494102b027c4ac00d5e5023220e31e0a793f40efe2081a9574e5e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"chapter4/collaboration-tools/src/browser_tools.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b22e98b4ae45f5cc5235acc1891d197d8fcbb83f24dfb3b5eb095e37a6f3603"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 64 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/browser_tools.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0ff971d8780c0e4dffb170cc5bd9a22f0b9dd749c06d8befd24de7b07aa40b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 94 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/browser_tools.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b209824ece31bc933d999378dea621bbaa60d60b51d8d5fb0cabbff9fe5e67a"}},{"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":"chapter4/collaboration-tools/src/browser_tools.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e3536abfbe6c558293ee4415fb4c0c3e6d18df286b95f85b7b74c7ab5eeb8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 202 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/browser_tools.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3943510b82433d1ac627677f00fe8e27953311f04ecc422618f5c4fda8f5c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 244 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/browser_tools.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fedf856e4d7fd1cf88f2e4a850d8f03fb8d2495e067590141a9c0f8ffd4c9a12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 278 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/browser_tools.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c798df4da61ba2588a5f3c530d03bab37ebdbbc938dc87f34019377246afbc16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b88ac84eb17f6ca8b4bddc870c87e88b0e9a7f0dc7340f864e79bf50c308155"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 128 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a49ee2a95750759b451dfb78d24718ca0ae4e3fc54e51936148940029c874b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 140 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"933ada137db8b75f1cc78239fdd074bccd255230786ef756487aba5fdb353a33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46474338973016c798cd6dfb13d1b4d67ffed99442cfb8cee7316f0ea5da6fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"204c8be834838e7e10c648fa7aab5481486e6b73d6c91ffe5117e069fd8be2e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 230 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"482551d96410e367138e7ae2705f1199659a807d789a8487147266b42da79d62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 243 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a060aa9eecc4dba0474e1a29c882c91f65b71849219fb957fedb6d79c01f5626"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 268 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c848e458d4cad24283fe962e174ca803014fe2a399a222c5d95601e4a7707cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 313 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ba3857950293499f6e09d40ddce0d4afe896af5aa8df7277e9c04086466979"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 322 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da6ae808cec61bee43d9f75bf40898207d9cdb7dbba13b9bc7e0bcbe0b8de4e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 348 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd24d87fca8107f854760288119a8e3b529540e25bf7ba2db39f1abb76c2a458"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 360 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5163d676b3690c1bf0389e254d6d916ccc668dae7d046c07e8dd99c40b95c42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 390 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc8b9ab897c51d9c55529955c26107d05d93072b5493e4f4671ea82286df4d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 403 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/chess_tools.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f5b58b0fb680f180e8c0a93c4032940520a3b649362169092bac40b2cb7238"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 312 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/excel_tools.py"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0acfbe75542a3043ef7ab96166eae268d69d533813efb40c46487013ba944a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 67 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/hitl_tools.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd190ab84d56566903a7d4191fb8c1f3e8086109f5b9eb2121e8e41cad693cf"}},{"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":"chapter4/collaboration-tools/src/hitl_tools.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb7fbc78e33737c150285cc478de1cf58858a551eba606f9107171b9c60cd10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 147 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/hitl_tools.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"db747b5934d2d1d6a954d6bef99ab385e3b32263c1064d581a179947adea7565"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 202 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/hitl_tools.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"239248ecc5b3e1172004ea8eeec745dc731761352982904a57c8851fe5535e6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 255 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/hitl_tools.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"83aaa2fca19140e60c9323537582eacc5c7c49110cf6e5fd6cc98de4ef851388"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 265 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/hitl_tools.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dcbf1b690d2b71eaa8dfd0b62099fcb74d23da02e2fb687697b1c0cfe2c3a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 293 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/hitl_tools.py"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d6007dbb64cb267c16f569ce0f63a2d54696028e628750a5a738a1f4317e35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 560 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/main.py"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f05c9e152a577c8c2e766ca6687e787051ed6aa103ed3e1a13651868b266a15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 256 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/notification_dispatcher.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae1600270a47086585b7a7d7c8e0b0f961a47940b5dd5dab5f5ffe26f7f3936"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 310 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/notification_dispatcher.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e24c8af4123839fa87c013284ce065c462495a5fd517bcafb0aeef9135dec2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 338 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/notification_dispatcher.py"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"579d56ed610375934eda937b7e45afa45b784ff05d1102975ec5ddd7c9dd8979"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 394 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/notification_dispatcher.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cb349194852cebb38bcfbf7c0c8283533fc78aea9e50e96a42c1321eb7e105"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 417 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/notification_dispatcher.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ef8c5f9c9696beaa061ec01e1e645692dc5a479309443115b4a7b4985a9f60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 466 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/notification_dispatcher.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc40a243a10bf1848d35960b344cd487f7221ca32a4f5fa7fd298e68148cf31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 484 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/notification_dispatcher.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abfc8fada5d5eb534353b013ad3c4f061e75832a9ec94d62ab410ea12bf532a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 524 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/notification_dispatcher.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec27e8e0427b21bf235cb873884b860ceb04cd4895854a0a73d5e2e5d5277e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 616 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/notification_dispatcher.py"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df355a52ef3163058c10fe7525be8b21ce80d613b4903b7b0c16e451a7bb57c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 54 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/notification_tools.py"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"346e9d198b54986c438b4ef1f10383533ac73312f7f1443aaa23276a8a258702"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 127 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/notification_tools.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcae4a6958506d3ac032ae1e0617ecf8e155b20b86d7148dd0e725e0d6946f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 195 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/notification_tools.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"88179fd2bbdbd792e9038cedf73c7654a76ce6861aa5dd322d9762b458b8016a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 256 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/notification_tools.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fb9f4cab72486774c5b2e0c28e362707219ffb341119f7f06680e0857e88b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 311 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/notification_tools.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"b743963100ee0c1af75e4311635abf0dba2c03ad912ab60b0bb3da108e0c2757"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 360 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/notification_tools.py"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6c3e79a37d5b51069d87b620e662bd8229c789326322706fe7b97f98e47f5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 65 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"307faabe578b1a423840a4a495dead7bf6a15a65be10dc64f2468a4c92d7f5e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 77 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56834b441eeeb2097f2cc883bbf0a1e641319c58befc49e7c9d3ae7787f7c69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 96 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88c8c881096935b63f249c4d3a338e3cdac905cf39b907f59b5e2d679fa0517"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 108 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b77a6ae45e1eed8a5cf6591c3d60b33c2af15c1088098aaf0ad9041b279b4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 110 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f794dbdcc29bd65ed534ba158934a21a17b61b6601fa01304871a5e2a1a57f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 126 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"317c91810b8da6f88412f4b871d9cdc017c38066a58418800a9aa2fd1ace852e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 141 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb010deeec55eefbfb03b09b9fc187049db618b9a9989a4e5030dd6d93ac7c17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 144 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"18bf869745e5e933c607b87854e73c03f9c5f38c43ba1bbec0324f7b60fa2409"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 184 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b7ad5dc045e3d25a4241c13afbe16ca61423232520bb91f85e5fb0f78d2e0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 194 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a1e851fbde972ff4aaa65ed0da74a1079b7ad3304289de6767e131a90c2ca5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 228 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9f81a6183fdf27ba4c701479daea54e4b7f1b173e51472263660cec3cf4ff3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 270 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3a88aaa610ca09b0fc69b63607d3cbcf0c924e292c0ebaa934e75662c9ae20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 337 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b49d8186e8f7d24fccbfd26ee63551e7b401337cc03b36b83100c61c769f75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 375 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc955bab30e1381dde3e8b6b5e2e4babb503145b7bc9755258ea7c3e5820d7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 383 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbfd4039afe39a4e32ffdbb1880b1e64929158607990d6ba0322778f806f01d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 394 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef3a149e98900cdee99da4a59c9570b0544e3be8725b1cfab89afb52bf42b3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 396 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdb14c3bfeaabf7bb7fd60e0e92177f8518ba2affb565afa22d51aff679ea57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 416 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d09d72a4de0d6d8851b267375d585bb07c43bee0949a7778c688192c684cbfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 455 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f635889912c985b44ea4209c1056f82410bd7d39a5ce720ca690673ae14837"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 472 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"014b70958bbfb7a14fb19d39270325b9732f2d502d7412ab8e19e6dbf57c15da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 487 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter4/collaboration-tools/src/timer_tools.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3039360dc2fcd955f50caf1388c7266d1f6a4bc715c7e8907e96a2cfa2664e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 156 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16bd3687be58976887a71cac053645ef41cd6f6065daf2f8cfbbdcb84d13d3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 610 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"877ec6e8780ee0fcbb23de2b258c284dc690395ae44c332720b3d867496d6758"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 612 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/agent.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca301507405b9e75f7b34fe17ebdeb74b55533e34de9dc56444b2b70395e09e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 630 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b7f700c2cfc56c57f83553c04d48de74fa8aa14c81bf13f97d3111f83153ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 632 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb6413749f8aaaecf1e6d7a8277279504b20023bde7640f655eabf4a9e4033c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 641 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"891b64768cc0436f1f51a6c0fe9cfb88a75dea37f7a52b0cd8eda26fb3fb1766"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 646 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"56424bef3aecb9afa979881ee5a29594f664915d8dc5b84e71084e807bcfc962"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 647 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"4339ab7b49e8d20572ff5ab335e010c811228808cb0cdc7bc76612b9192ce99e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 648 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d124d81824b2f18fd4d74d591d80f0ac820934905819634b08cd0c2c624b528"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 766 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"455d4ff181910a33454042a972ae49c1c53950803461e5a631ca5efdfd8d585e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 780 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c9f4a4fd3f12e6304009033f9c0f0048a9b3183853c54dce0fc4ce1cdc927e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 789 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"a909cda8654fedd03a2bfc9078bfae6750d29215d0dc13b4b9619f92f5a11964"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 793 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"109fdaa73c614b5e1eb69735a9f6ef424f4599865b48afa1702eee2661e43e88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 828 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3e3e1362712550678eb11d477e24e9a2bd1a8130b9d0e013f4ae6141578fd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 843 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/agent.py"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b2ab5b228afea921cbec121501aa69ea8a9934a791f9929c9711d1eedfe866"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 911 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"16705db5a5967e59355c28098a49b153be77a1813e12ad20ee950f08078672e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 913 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"3beac8ac7f5390a31babd231e1e4d0506a5c4f86e35ed0637a80b56ef4f7b80f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 914 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"50803f35b4fa950e2abcf9266ff53474776c531b0f8eebd3d9fba572c75fd660"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 944 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/agent.py"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"0468222449fba7820e326165f373d9cb75eafcfa2f340fd801493f0d2ad514e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 960 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/agent.py"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"2374dc7d4c877b2d19207dd8c72d779afaf24e01fdf37709fbb763140b329873"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 108 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd7d1b1723d5936642afa3574c32d70faf5de7f83824b15d8a0385f9359f0e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 152 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b429ad834e1530fcd8e79eee2673ead0c791824e540a92187d68fcd54904d1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 160 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cd6a24b5546e292f13838491bb348d726d1f95d0a28460602ca9f20244f0fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 268 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"316f39aa5ee474103dade73e5dc88355a862f4049487435a89e6e408ab040cd7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 345 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e78e3900a776dea0d0e01c192c11642296bc97c9bb19192ed1f096f189f168c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 356 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e395a5f9054928d30ba7940b74bbad9bc9504b0e1c09531577a8e316c1471781"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 359 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e580740aafe76d88405b642b9399ebb18d5566c914a73aa1fb99873f719899"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 492 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b73bc516534e6102c3e73b6d7fe1167f5791addf0e3ffe21c653a284f07175c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 503 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf3ecc7b904c8d1a94e9a918129f10ad5e67d41e4b6bf85174e5b1b8029d195"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 509 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7eb43b2a207d4a23db52863bc3970ee7f24cab42903bfdefa531ee1e86fd59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 522 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"444a5e1048d0368786cf92d965768b3bc00728c0a21f2b288dcd5b471dc99346"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 530 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f6de3c609dc792f48a233e35913bbc63acc61749d36d2826ab49725bdd989b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 531 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"4949b9182e2d72302b75d8cfe53644598c87796f1ead94c753b804b633e1bf38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 534 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b104f5031cf9bfb07344ccd27166cf5b8a3d3c87e679a3f3f12f616c0f9bfbbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 558 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"593c7e9e5cf128f0c20638b7e2729043cfd75fa83e995f52ddfc4a9cf59d92ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 568 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30297607a37595a6085ac294c67751a1322fe69e58ee3756f48f923c85828df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 570 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fe6f5aa75a2b497201a1f0afd45977457b744f44bda5d9dcd89aa1a88a7043"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 572 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b4f892401abbf53413ce699d7b2b9649b0040cab4b8f018d42b712d660b6e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 574 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47c7742fa7309cb8ddf56dffdc4b8bd5b4fba2ae5faa3cc041a11e030c11335"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 576 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"b529106e017aa01d75a22f04f0e066617c9ddf70b97217e4fb6acaea29facf96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 579 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/background_memory_processor.py"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf4ce9d8975bee7c29721d9b9a40cf3d270227883947ecf64c50ac248c2d34e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 69 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/conversation_history.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e458396bde1a9d1cdefb7b89d9751aea52999db4e9f2f1c4e8fe9dacfef967"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 71 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/user-memory/conversation_history.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f991021a7218d75f0229d97698a71ddec214189f8149592b3ff7b7277247beb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 91 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/conversation_history.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e811c047ca9204aa2b3a9e51be3b82370b49dfcf50ac212aaa64d6f5501fa1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 93 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/user-memory/conversation_history.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e991a9124a17852c354a92af1f88b052eab41bee43adf525e5216320179e093"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 227 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/conversation_history.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef10a280cb0b5d333ad819b22d4a1c3a170179f23b5a2f7885bf6fa339f6f9de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 229 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/conversation_history.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a5869dfad97edd601bde133f6bbe9e1d6498b1a7e9b863a65772769ecfab77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/conversation_history.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4f2cccd99b349b8d7ec1f1b1ffe9072ec1a304ea1fe76e27fc2e59c12c4d7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 304 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/conversation_history.py"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b7f89f1562fd600be13d99bcdc01a617a444a422859e9bde7bf8d164c1003d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 308 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/conversation_history.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fb56850ee3c862a027f53576e7d308423fa3d1463bd2ebbdaf0f6aba4c0903"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/conversational_agent.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4e89587755f4157e4b0fd32718e870d4675ff877729f2483ecd9e10edd67fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 235 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/conversational_agent.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a382e04f614417ed82ac944723cbb25121366596cdc27bb27871ab000817b26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 237 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/conversational_agent.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45eead651051040e4bfb1d39542e1ae79f9fb133b460a239a27c46154ca3436"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 238 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/conversational_agent.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98ca98c71e38873906a5a4c9fc3b2589d8ccfc46d789c145c0def5e9c5b1370"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 287 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/conversational_agent.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d586949ad51700900f3b75ea3702da29183e3b987fb85ff2a4dc8edeea81f8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 288 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/conversational_agent.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1fbdd38300ab1d44d5b54ca465efcba4a2992c22a33c1b87926d33e7356c15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 301 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/conversational_agent.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"23698a7d22b8d80d1ec614f548f50cbdad511e201ccbc8527cb8460fb5d8c714"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 60 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/locomo_benchmark.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f85c19dc6a41c38550b7aac4426eb67804ee5aa99abac4a818054e27427698"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 67 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/locomo_benchmark.py"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f421d928aa2a345c1d9b6ab2484985844fafc7e985d81b699ed9f4608d2fcd30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 259 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/user-memory/locomo_benchmark.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78f1daea6f917ea60de9f22600e7858ef1e056c0a50c33424f074e98e921ea7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 465 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/locomo_benchmark.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4911e0f927fa1f367776cc300307cc0cf7f99f270183fff54027cc5e0d72d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 482 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/locomo_benchmark.py"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"6964bdb288e22129a8f70e7791b359754a2d8b27114df6faa351c01ad58b306c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 488 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/locomo_benchmark.py"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"aceca2c94d38f4640bd8d0d134784f125fba3b869cc83d481de4e44d7f182cf6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 534 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/locomo_benchmark.py"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce69795f04fff46328bd4fc34b1e7c0d527d5640e9d6992205a76d91cb0a2ce9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 256 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/main.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8adcacde572c1478825bd29bc7ccc8821dffc8b688e416c0790189cc66e6ba85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 134 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b5bc7cfe54684c60b0ccb4c94831eca861c7c4a311c4313986eb7a828b6227"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 136 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d810f1daa0fdc1fbe8a3fd41268d7bf4a16c1ce79ea1c3243ce33427a44e6fd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 140 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"60969a7d4b919b3f8545a4b9895592842c1cd14b26d83be8bc794ebdde583d1b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 158 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a86b5048e68e35961a8c26e1a4cb2dd61ce5baec47c598f9378cf992cc0f09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 160 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1786c28f5a9dcfd9f3f1a8605257d120d92e9bd7cc3958df153c85604fc11cc0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a1be693e2d7e7472f3e170eeadf9037110646d58294c420f9ae6f26cb74bef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 379 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"4371174121e1d5fd82e69e85c1d8be7083b4cd79c62fbc082f11efb50f450cda"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 381 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"97848ed93f11aacc9ba26724eef81e69a923aa9c33de9dec39e1179f62d58728"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 385 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce06ebe09fdca20c0cb32f86d516756c5a703239da1e8424d4cdbe3825cac962"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 403 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"93870d4193ac3c7c0353b31d4acda7bae5d02953e4c9de6615222736da0a7f12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 405 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"5571a765578bb927026bcdc7906e29cf476c14c7f644e5b7102d2699c4c1fff3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 511 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a728fe5b17f717946f4fc49fd7cd8ca3000490d23529cecc75725c64c68035"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 561 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc1b04094a12dc0199516401723d2bbbe89ad4a49837234b2f4ab3170156528e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 563 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a90612a43a6f20c410fecd801cadf3f8788922249307069f0c281489137b33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 567 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e52ffb13ea8505c2908263f9dbd36eb691fdda0d1dc8672528d4a5262d420a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 585 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"2028d40b7a9c76a9453309be20964705462d244ee3ac5556d5c5cf4694233676"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 587 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a0a6bb122bd777bc4537d84aef985e66f19ae2a0ecf6e89a3137df23771c73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 697 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"8677972573de23c03f52c9dff12260334a934718d0c285b9db66954f39e10ed9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 775 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c2755f44a23ca2569a8600e322aec048e63d9d9b0d8e296b687da82972e447"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 783 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"54077b13688652040f3415008c0d38f01f4bfa5724dd16b7ef040527a96ea6d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 791 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f500c638f1081adf4b424749a92be42b7d4ee1533dfe3b4b2ea5e99368f8a51"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 793 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd32c4dd1ebc49b6d2452031db61b940b20fdd68074de4469322a176265f9039"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 798 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/user-memory/memory_manager.py"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"706fa4ed2021a280b3fb3f34226a0bb994c29f728ac27fd77f4470fe7f60ab55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 34 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e2128e16ba8cda5d97c5673c64a99ea9916c08f65b421e0b9e822661128ddd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 45 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e61895365989948c9291800b9c9664c4c99b6622756e9b88b0c8ebacf8e300b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 102 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba68d34acb14e6a9b4719556fb891017b7cabecdca10c643733f2904cdf5c1bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 112 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b00082bc999f14dba3b9cbf5569fc6b44d27e2cc70a2cda6403d90e9c4254e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 148 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5087b312718d386496aca594b4f806bf38ef4f2d5d76b00a38e0350031dbc6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 168 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c3383dc12dd74d91d3616102bcac2cdec0b354b6d56582ee9b8774ffd80aae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 179 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c548cbb0bddd80ba91ef7b33a23dc1d4c54422c88fd79eaf53333c83e57813a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 190 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b5fb8123b26be014dbac9ddb521f1d52dcd0da8c5b27147bd018721547f9e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 196 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d304bd1879f9070ba6dbc359ef7df9d4172fbc318ba9cb77f57c44ac65029b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 265 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c77aebd3ba6bdd048c4df58512c11341ae42a3e45768b447ceb8a969e25328"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 297 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3aebf2af670fef73c316b74eaeabf5250b46ab234f657c3788006ff14d8da3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 323 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"da32965f0ddc1ef6b1298853d37e806c9a8f9fbce02280990d08da0454001b9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 336 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73e254a98c3cba2535e78b9aac960fa85ba5dd7d119f6502c314562fa0cee1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 337 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fe42a559bc2db647b9143ca0d475d25ebbe1e8312b0dee0972c362ba84b78e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 346 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cef962c7103127c4f0bcf8bed6d8ee509a4d215add5676c58dfdb367e76b5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 351 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"49470e9410462d93807fc6bb0c9b4830565f57ccd7a487fcdfe71f8c7ace14fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 376 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6894298d514b144a678d0ba9f3ccd1794cbd6da930fa16308d62a0d3ac95b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 378 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2fd4bd4d66a63f523fdda370ed9901374a12dc165561cb53785fa561c1905d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 402 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"406e6bb74a0d5df3d9db5b409a6a601c96d03d8798dd2cbc6d7c5b054f2d256d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 404 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1275be067de6960a7e0329efe1b369745ec730ecc6b6e27ff2dbf906721270"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 438 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b4549b4a1795910915e3a7f2266e4535d4500eb769010edf885bd895dbd11e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 448 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1791784aed8d30b17d047b93fc85ef249716fe65163f709f725cddef441de0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 458 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56f533f456e79f4dd79e542d223eda143b627f5ab5468664809a47dc7d397df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 467 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/bm25_engine.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"239c17e6dbfe2e4d0cd8da541acccaddd1ae39b50b290e5ba6453cf766bd47ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 98 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcae5efa7beae46a5e463c289a5eb2f59488972852c8e9af72408f257b82c2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86acbefb108a0a1f372e6c28d09bb9a6f56b0349faa56e59c99fb8185333e31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 110 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e474d1a7d3f14afc718ed0195e4762aa1a504f7c87122c74a965234c85bc66cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 123 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98f6a63e809cd6a383cdc450d4489eb928e274c9ea38c6b3e719f0a6bdc6e11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 124 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"761e27a5c2357841b257f14ff3c7fcce2c663ed7707070e40741b27544773cad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 125 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"817d847edc52f9a5e9d86b4685268716ae3954a2cf77a5f018c08b48100827b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 126 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd41c45263779184141cee891627c9969641e6ef16dd43d4e821c41fedecdc7"}},{"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":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d02177c000f8bc9a54507c08800cba19c0b919c4c5bda6bc19d4707b2d2263"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 154 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"b357daf05dc2054e9707e1611b8c9b6d9db4105c13176c4c518d85fd26bddc45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 155 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b328413acc86caed878ececeb867ba69cc44fff6cabecee2302b190907fedc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 170 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e195c5a479e229919c13768565332cb1ec34c21d2692b8e8a6e422e5273f6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 171 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f1d58182ee2e9b2129cd5bb71151c3cd7341712a8fc5c37aac2603ca00145d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 172 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c14c3859b7d9688e27a6d4f3332cd1e1b6cc6a6318aa401fb966f89f6da034c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 173 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed03f33207442ad5a906f91e48ff520b274aea85520257533f0674c4507a0a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 174 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3311be08a183fa4a18895dc61e46f8d48f654ed2d999e62516f67272b26a679"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 175 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"738df69681ed58c49791f9a541ca5e0438dd2f3fa3020be2967aff21b6ac52c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 176 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d8cf4196486d983c2be25b02183fb77cc96ccb0998188748f355760c63f602"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b123f038f40c8943bd671527084e82293a9f7f6f5e6e3a9ec29e2767b3a1e722"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 196 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"43de0ec1b7b9e4e3d165e6dca2e56aac0caddc30733d95845a904ff160219472"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 197 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16679bdbf74bd1e4225187107342419a36f441f8d4cba9b5a06ac666aa0e5d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 198 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c1250a5e56bb59f068518d4b2388ad799ba46a18d5b5524ec98c4a234eaca6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 208 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48b291a2c465751acb51db7e49ec2b8db36ab62f50258c4df537db46a35732a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 209 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"888c2d0341291099542b8b3d1379b73382b9c524e184b855c0e06c594e992e24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3cf28c95137a06e6a00e6b543462ee1a6f24aa158cac2c7b9b909cbe123e90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 219 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"b403c36507957761e2fb82e1b8c874e105947bda7fa603c5cac82069979393ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 220 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c6b9cb73ec4f572ca74c09d4fce8152bf957c06622f2f18b0caf1dc17dd388"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 221 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a858713aed67715d43b10372b541751545cd032ada20117a23050384b315dcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 222 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1cceb2a89a23e0b7b3b6a6fd139da2d07939addeef43240099fd35bb4b486f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 237 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ccbbd730e485f6b48fa48660df1efcae11db388da16dcd4ab17f6c18ae75574"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\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.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a26d64b67538f3bf6dc5d2754865e0fa456a7acc44e18d04853c1800aeaf25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 243 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2a661c12c97d61ee13e29c1a72ca094368182131e977b17ab1bd2333c3eda3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 244 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"843e972da35f2c5a160ffe67302e73cd3b341ca9bc97ce0b5b15d7b0ce61336f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 245 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6d7af4d496b351cd95fd832ed479dfc23c05d53ae4b16ce7306465a02fa35d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 247 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/sparse-embedding/demo.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"98aac21e8a411fe283825a6710559bb3bc0767d01d1757d3adb15660f75c256d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 369 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"137186762bd8f3a922f8c659272065a52554c5c285b3597c64e3415770aef413"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 371 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e6e78e1d57ea6a3c7fd1519963b0bb032e272b31dc7387c6aae4057dd2c1d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 380 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cc1b38838a013502ad62c7db6de2eb9434c7008d7213b7ec14d34d000b0a9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 388 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/sparse-embedding/server.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"0703856b0334322d038049d7dcea30884550842d862f9cff32c5b0b42143c62b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 395 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c26eada850ae4903d7721a22712927b9d0ee4285eca15e5f553494f3d2892d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 399 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33db3e5351761419af22c26d988ffcbfc6e4ba1d035c93cb169d82fe55f29d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 407 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/sparse-embedding/server.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fddc90618e3f1024aca1750c64fbe531660d405efbfb00d7508f422f49eab85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 414 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d47e1445851bfe5a0ee40c3b414e7c5d9476a640ca62c9ee6444fd1b010aec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 418 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef08b8fa619bcafe733da174c9ab0d6573c2f7422f938968655f5c378979d7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 422 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/sparse-embedding/server.py"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"43614736b2c41d4d3db50434a027b7c20cbbd77580c1f4501fc5cd5dc34b7410"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 429 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2b073cab792ad5d831f766148b703c3ca4e2640c7fe8ec988a53a18161df07"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 433 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/sparse-embedding/server.py"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd7503d073962f06a5ec723216c838abd66a78eddf77f79668742c20aea1889"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 436 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"8199ab8ec6734100dc2841bf0142a6cc3b69f5fac36864aed86a7b0d256129e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 446 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0f57799126cb7aad7359fcead93a302c556dd7d8e103202164a3a9736d237e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 499 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae724ace96e717cf32d90490839d2ea75f53a9766a259c0f585ca6810fd4198"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 500 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c98bc5cd1011dc3be84a64a941fe9827f9a3ba8a0993b8d7647e17882942e16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 501 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/sparse-embedding/server.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8590bcf8d7b42d2b853d4bbf3c8d782a2fe33b4275268a2728ea04e09a094b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 42 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/document_store.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f259e9851861bf26c657cf00dfe41fe1137aed5a1480391ec2758a8104a696ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 71 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/document_store.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"273bfc90d0d7571c009decdc4df943daa40dc1dd17ad8115874b7f18737094d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 40 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8f21ec889b4d01fc25beb4dd3e22d06225f70d9db566a72a26338532e8706c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 128 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf88a811e22ff03b625a642f22502ec1543dc83d9472d8926f05af60ffea1b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 136 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dae8b65a1307860fbb97bd6d9a420582ae98fa5be5e16a7db6171a30c3eca68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 158 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a166f976e658eb1e7130c4341b8d9825869840181acaafe2d4164bc9e23d3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 168 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"896913326a44f0597197262bba8eba2972b7477c1fafdcc3b17e312478be7e3c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6acc1d665771bb8041a8c19043f8a4f8874cdd52fd15c4d6b78b9b63350e94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 182 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca41c6dd56dd0e1a91c472d6d1746548eca453bd698956784af41ad021acb213"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 195 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"80413393577d69b423fc11c519e6b0c5597fb14660a8600a17631013d7b60fb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 213 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fa7fb543789c53c898bc90ccc3aeada1b7ba0eb4dc928cdb1e25a9fd31023a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 236 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"109314038d4842e671bcc72ee2ad05741e30728f5b1a1e511c01075a14c3949e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 253 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a987d526db87233c156892b252a1787c43226d28193a44f635aedb3fb2be173"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 277 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d60a52f682ae60f3ec43d377d1dfc48c4bcd7289a79d975ca80f78306caabbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 278 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a2ded8b653db7f3bf0b6a497b4131f04fe88a17716c15c5806fbfc32ef5803"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 279 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/main.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"56adf433b7bdeb30a475d75ae17bbca785d3154d03bc4ce33ff9c03d16dbbcea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 46 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe035378d7b7a46d0baf7518684341e520045b694787404f8451518595899a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 49 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"764ad072ac64dd2f3fc59d2cf6a7969d595beae402b1858b70f32c0d102ef128"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 77 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"71073ed9bf34452ba0e868e0b5f5c2a8b6bd65f8ce75fa2e5056c45c4b43fb38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 107 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"aceeda0fa5367595b8594b67865686bb080898904c7684ee996542b19e9a797d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 108 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf78dd316e43959d2d7260eaf6795b0d1f2d32c699c7762f99ba48f19a2b30e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 122 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d56fd7626224900784e7ef9b1e4e9f0097c119a3ee70d8a80f18c3596f1368"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 144 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"98729bed19783a592cf9a862b52662da7f2fb5369e75da2b0f9733b51c99c901"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 187 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"93aeb2344366d7ef6e571d9b58791bcb8e7cb369f4689b369241b78e1a279b36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 221 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"0195f74ff026050e260201216266a6068aed1f2f27385be981f4908d4485a776"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 226 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4b110c0da157f9c2e1f2317be8c0eef35de16ce3ddbaf777024601b5f47a15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 240 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/reranker.py"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc1a1e5f01e6ccaea5da635a31a532367ab62e1183d9fd7d0fc10efb0d03e5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 42 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9826ed41f2ca6276f560a62603aa5ca8da4baad69351cb557b4b6c52fcd31b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 45 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ec0dff3efd1fd304a4e05606058dce65c13799ddd1d76083a76d39e799d7a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 62 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2d3e1d161c1349c48b120601ab4f16f21b3d9c8aa981ca6af27b4f559dd367"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 65 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efca9421bc267a5a48e38112dbcc9276f224a35fcd24e1647b0937addb50255"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 70 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c86ce57bc9f16eb96e1174fe779ff7e34a2e26182d41fad48b49c27f719d04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 113 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7d6970b149cf7bdaf362611c22427cff6124ae7f02ed41ea1ad9057c85a016"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a10df2d64a55b7d2cb8847b0d33f1fbfef09f8b91a139e1faffa4f2f61add7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 152 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a91866d1bf137cd9c9ef1cb1fc286a13d92044c4fa8195445598b1ed11286b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9d661418e905b09df1775f461e51cb9c098d24b63a7a223687680b58d243c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc12ab70e1227837bf99cac3d8f8bd6faa2bc8e7254d39b6ff71eaee96b6a11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 182 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbdb1602585947f68c4ef1aa04e800a726fe3d039438b0c2f2013e67c03f16d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 200 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/retrieval-pipeline/retrieval_client.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"523b798fa0fb6b642d73ef50cf0006a2e559939109376c436ce49a493d68623c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 56 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_pipeline.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d988c063a01a7b12b4dbcf168dd050bc163a4884f07903da7400245b3d8b55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 69 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_pipeline.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b863d4742fef83bd13ddb84abfaf3a9ce83e709a136bd5a882312f5997cc69f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 95 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_pipeline.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"82111c8a4f6e3e707035b23ec43e6fe17adf8354ab16a58d7a9da8c56132934a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 388 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/retrieval-pipeline/retrieval_pipeline.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe75e4cbff13572883a69ebcb8040026435c9e8b1a7f6fb1ccf0c780a9423ac3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/agent.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"c682fb21fc7ecea774fb92fe34717a560f730d4d1ab83bf84214b150c868003c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/agent.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9193045dbbf797ef437d354a14d9dbb58b72b4b467aa9c3199a7750b178f3598"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/agent.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c168aada78404e4d3d48a31952b3d0e09beb7cb7e65c83774e1f9b9c0fc8f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 132 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/memobase/agent.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6980ace7d670bf2cb5f7f08d6f19fe79292ad507de37494197a011ba1788cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 153 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/agent.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1888930ff48b0e322e1c3d2ec7c6715bf9421e55883f25a3c479eff698eae97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 228 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/agent.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f8086f0071bf47677f666370a33b8734047380dc3b0330f30e7f22fa848890"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 272 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/agent.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"1957fbfacace0e77d432f87c5a1866858c908eb9436618da7bc09dab24f0be09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 373 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/agent.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1e1b5b962d8ea44c2eeba18020c7230fb6d94e8a80df1666443f54f4ecb4f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 375 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/agent.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"d808e0c948157b4a77fbe825b84c0e3d6b8172397c4b10c854062864a9da122e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 451 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/memobase/agent.py"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dec87c7cf6692d1a9cf8c39dc0b07f70559880f5c3dd4685dfad73d7af70c66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 562 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/agent.py"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b16e1e2637354b49916fde271f179dc8c7bb46926c3ee274d277f91a000d472"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 64 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/locomo_benchmark.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee5fc08212f10a7c2dbeb9b702c97668f2ac422d9160b3f84d23074391adf42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 82 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/locomo_benchmark.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5a976c1609f230e862a5829467fa862e2f6191e9492b3d0947ccc22da3341d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/memobase/locomo_benchmark.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a138664b516083b1add92ad0b33475981c1309ea6c6e849a23c2f82cc720603"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 189 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/locomo_benchmark.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c911f92b17a9bc6d6390eb04e3d57569f927104efee4ddfdfcaf1fbf30e96e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 462 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/memobase/locomo_benchmark.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9cfc20174598ad1e623511277519da6d54b6e6beff97d12ca797417647e9c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 596 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/memobase/locomo_benchmark.py"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa4f13d17b2a2516fefe515eb86c29c71c2805eac04f0e7ca7ca7585c4b4c5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 98 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/memobase/main.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"22cff8fbe9b140268430e5ddddbea42fa4bdec6bd7bc4e4467b1bc18761c6d3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 313 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/memobase/main.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"493f838d917965379332ff897a796f6120454a5473427597f9bf9d5ffbeaf39b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 118 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/mem0/agent.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad378da1fda822f47c39cef793cbd846ac59e1878b477e5774cfd10a5c91337a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 179 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/mem0/agent.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bc41f011a38183f825f23a3151fc78090c4c11c7b5a3a991515475da38762c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 193 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/mem0/agent.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d3c3a5e487ae184a3edcb3557f5dc512a6a4e9c56cea9e8477147aaece1167"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 294 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/mem0/agent.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7a9720fd094cbd6a0a64bd3ddf92ceed0140e42406257190c06e1bce4584b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 503 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/mem0/agent.py"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1480d1c4d29ee4bdf65ad01cc1338b0f55fe9db0ac9ff9fda1b05012e80e0eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 524 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/mem0/agent.py"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fd68f7c04e460745416cecca865dde0c9f465d19f54e80c8be0361c6462d44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 39 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"57bba6733517abe984c2d27c8b3f59b6406ea29adc0ce2298e70dec87fe85c1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 40 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f42d5377ea2e0d0c5b4270a9fc6a6b73a1c4f934031e11d6cc55e0363434d44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 41 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fa8af7ee11dafaae285f7e2ee28383c6a45deedb56dd14a04a514249008cae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 59 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d8b1fdc8783732bf9541c34cf0041fdc5d19941751d5107f8fbd28cb209456"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 60 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3649b1dc9ec10b219116acf5c75717131c1797b93e0671cd48dc4c67da2b3b77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 65 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8174b55136ee6704585687a0369d901f9a7cd9f6d7b139f76d81ed02ca442377"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 85 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25839303c433a574475755aadcb6134825860273f1e5d3952f8035387a35c24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 109 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07b218431bcb69c3cd7f5376b74eccf6bef69b5006d0824c4421a2364aeb9e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 116 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04401d2e0405a8ac02de8613aae899b09e01fa30c47a659f8e8462c3daa4d2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ef543738239138c8f986dc88a385a9ed13e6c208cfcc027711c90fc1e6c977"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d046afefd49fe341180f2d06426d9bbcfa670bfbeb4efbf5c9274aba9484c6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 145 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"af77647d34f3d6633c1c060f57b798801dd06ac290fea89b88110ba82614fe47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 147 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8514562e078734cd11099caa4b9ff38478b35f0ef71434bb54facbc04b36cf97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 174 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"b593e51f7c9b0bc701d4f7ab7fa03503066ce5b6e98c7f00fcd6b25dedc4d01d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 176 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcbda59759060c9d46a5ab62d2165222c6109749b63c554c5b9cb1ae532ee76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 216 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/embedding_service.py"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d55802b0cb266e963c3466708c1ef95608c4c0b7f2533ec97168edb032c628"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 72 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"476c8a0e87080eed00919626f4a751f7d9cc91e3c5aab7d0a0f48880d26195f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 78 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"db039c76ed91c17a4010230045923d72989d41db8d54381f67b3937919552b4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/dense-embedding/logger.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4521562f849ee847a0684cec17c51fe9aecf783b07cb74dc843a8b379e3298d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 104 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9b132238b31cf6e7e0ec5c9dbaecfe942e92530d0824a28da4f7728b2341bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 105 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b996feaac0f3a2579b35034e2fb079a2c6ee2b4cc028df8e31dafadc701d44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"617d6e58f204f87297e7287c360e86e74c48787da6cd6b918c505e573f97d60a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 112 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdeb3714acbb685804c94a1deb5690eceab161830822b3c1bdba94b1209129d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 113 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea17975bc8d859da87eb0ae8168514a5df518301f3f44d64d7dd37f7b7da2d67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 118 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a865e8cf98f904bea0237207df9532d4cd9d9734398d17e8f5896d05c79163"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a8909a161c9c360c692a11f9888bfc0638527983cfc1675da27997039cb0f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 123 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"93754ff3ed84458135d99953b96fbe9f18c20e016ee451d863ed2fb9d7f5b778"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 124 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fb3303a91576bf39503544aa12076f67d68e4c112c53453b767f99d256e655"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 125 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8eb15628ff1bd8e5dba42058848beb2bd598c166882132a2b3bd490872ee733"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec96c74428bb91c1930c8b64daa6ce660877b15d05ae4d8ae64754098b18b14a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 132 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a63493c7ca2991e0f468b485298edc250e2e7aba56d8efdea67009039b443b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 136 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dc3a66d55004f1558f453cd1ee6dea269e3e25541a0f812bef581308fe9f5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1253668a3085ae3ae9b801767635d5cbc18ec18d48cc8baef4c7e25fd006c7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 140 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a82da113ac2b4cfccc727a448419f6aa62c28118b03989b12af6e22c171019"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8dc5c58106605cb87ea02ae89d477b92fe7e4c237b6c153a9455a7df14ce3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 150 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/dense-embedding/logger.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66f35dc8c0572c2cec63fd7887b65ecbf8c55c84b40c4ee918d71bf9dac7859"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 155 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5de8c9d00900b9a52a5e74bd6ed579e28e86a6e1121771b1cd5fa90e307ab6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae0c9bfe1e0ed100361db90781988a352315e958f51905e29a7b67fc94d1dbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 157 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/dense-embedding/logger.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5ff6b0ac9c8e079a1864c6bad0111de075926c19bf2351c35d0e9e0b43b37e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 94 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdc2af82ac68618a0dde2ff7cab45af50dbbada4a745d5c203674a6ef9a7d4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e677e1821163c8130f0fdf1ce562518ca91905baedbbf29e42482885810d1eb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 113 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1463108a25fe3de42129bac2a862c3879022bbd224f088b74b7cde5fe63e24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 116 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"df86ef895123efea3077ace3f5a5ba547f6174614d0c833885cc44a2203141d1"}},{"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":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e59a2ca31bdc3ac743fa79686b14bd3722f56660c8b49c14d9c2f4b6f84085"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 139 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca7ceeb0bfeae205ea07ec7b8ccf835373a8e0256083350bbfd0aaf24630169"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 174 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d87501baae300623561f409a3b97e88925d63d1e839cf6323084dc6c875df0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 190 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2894ca50a18f6a0b962214399679a423a2614c5ea16ba7265d06e7add5e22b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 207 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d77f278d712a93f4465629d09803d1f251bdba5fcabad972aedee7a188d3f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 229 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdef4e7ce74dd328da1ad7104ad664bab4860e4a931cea7fa4bdb03792097d1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"cace2d5da6e4bc5da64c981847aa061d85bd65f7ee40f1b3209810b60e480545"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 371 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/advanced_memory_manager.py"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1c9b9fb9dfb09ea2a805b211ce38a0f89b81587a87a6912bf281af740effb4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 92 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0608c7944fc9c16f8ef26a0b9ac7ec94b294537f85a7157cdd1424801ebfbffa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 108 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"339720ac7ebe6ff3bdc3d159ee1810d733751d2f012cc73de30790fb3c82a624"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 141 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d877d5ef540da25d3c029c266bced3ef6c78c3ed1889e6f7df4473361224f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 142 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"52572847ca2a68bfe030c05e79127064f068d211daa98ce50d2200e1f073ef89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 191 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2072731cce02108c275c7f2e1b005c1213356e1bae837fe8491d84cd51116e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 228 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2a045bb5af199fefe8ce36fa00ebb3e3d61189822ac26c2b9235dc4c740d3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 229 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed69a86c883e0712245fa5e4ea0cf1b566bcd80c55de45d705ed9c803097bd75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 230 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8973a6ea331e4969853f7d8b669fa9e0c7729e81431b6eb55345f093b67b225"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 250 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"713e2b87f4e57f7d6ca7ecf7c5dbec0aa02be8bfa596f4408ce4ba0385d1c714"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 329 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af81eaf1245fcc4fdf2e0e7bc28a5a2f1854060ce115bab74ebefe4775cde57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 339 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f310e58bc29fadba4f4ba557ece074f2bbe61ee86300944edbe557d35f1072e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 378 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/agent.py"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31c65af29eeddf83339159a72e787a15161c08f4ee7c1ab0d84acc4c80666ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 101 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/chunker.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddef0fb85c2b69efb03aaad7ffea6c9f95ca219931daa23ec68167c09bb78346"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 102 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/chunker.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6e83c70e0c543f1f414f0a4fbe2fb6553a8bb4ac0750f5dab3f7e07dc52069"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 103 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/chunker.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00389ce2d7de64650210e1c1041154fd7719efe03cc7a22030837e7f3f958d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/chunker.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed47200b54171bf914ebd08f20400d33e311425c64d20914d2ece409c61f8925"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 164 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/chunker.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab71451d0ad527c40b768f9404505a7dfec1f5f0d583bd7707f12a51f2327f75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 294 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/chunker.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"755268556ed6fea1451d0977ac5e72422147138fb415ec837d380c5d86490424"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 310 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/chunker.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb88161630b49696e0a46e650a066004cbb22852b9c5e09b04525dcae07cb0c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 348 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/chunker.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9496381caad138e30caa72bad4df1f3e602cd63093a049d2ae573e74e33058"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_agent.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15bd0b785756c99ef14083c3d40b6e16c9f398da28bf5a594c56715e95263c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 122 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_agent.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f28dba1c7808d15bef27aa649f9f32dfe25af00940d45532409d09d4d3b1416"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 223 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_agent.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21654394fe908da6771e59c2fc6cd8c1c6c6735eaf0a2b7cfc39b6fcf7c0ba7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 262 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/contextual_agent.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"24910259912f4742edd8aa429c7df16d57750803c735c7e93b25527dbf89094e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 436 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/contextual_agent.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d395453b02c1d420111bb3492771b137a2c3a989fe664134e856c267bc8beb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"345cb9947ae2ecfe46281cd06cb02e34d2c36217761957062c4e1366f23c0ee5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 159 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c36cd2c08f0f4f0b7e617ce86a5896bdcb2d44d502d5d6a70c2b12cb1363feb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 184 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeae005f7e2ff5b8bd8e3c29baf1a050f335b7e5fc1b9f6c1116f1ed8ce9e22f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 191 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"904b846d4c053d8d167e492937af3042feea6ddf7428118d95628ae4befbc1a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deb4f12de58587a37183fc75ca193e582d0b3dce4fb50524ad12d4e85a09f39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 226 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a6e9925ce9359ec05265216ba2978fd4e448d635d955d49319b180869bbf4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 227 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba887665cd6678eadea1403188b24c7df542aff01f43703a246c27630b45b3b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 228 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceceb38cd1f7a4d5cd58583b3a9e693e54f9a4cdcc4dbcae34e803d7200a2ecf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 229 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e2514eeff22929efbf026436ccba865e0358d6654c295df4d3979c845ee92f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 230 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca68baa08aee9c3802658d036df79251f9f54a0e4d7cd5d33bd6152c53314276"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 231 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"520015c3760f7872db89327cfe0c69ada19eae03745319c7019f1da945b70c66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d95b1fc5075cb7d56b9904622170a1118b2b0566dd39b857e945c649b52b93a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 233 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a104cddf050dae64675fa3437703e73f572e02b6dc2818d2b70b6b9277474032"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 234 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6ef2ad4926a3d58bf11aa513ae87776d1e48c01c98971fa91ec0f9d179f7ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 235 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"810637d3ba1760760ee398db851f454640a293482cedf6c76f83fb1aeb5f2d7d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5451c984d345bdc9b72cae7c8854cf4ae1c03edbf59fc9fe9b3dc7e4d2a964b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 247 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fb969af9731917c75bfa2ca6bbe32562cbb348d2bbe99a78d2b35de1de8f10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 253 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3a0ff300f291d63f8fe1035a60214ac602372acbe82aab0954ae7d2576d346"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 327 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"86c6f64c68be30b78e9e4d1760957a05a67c3c2e0b99d77c64433ab8c51dc981"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 332 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/contextual_chunking.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdfe5e014a430f9fbb855c00646ce5e43820e3890f8d2be8fd9b99873cb754c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 53 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bfbb649b0e83041121baba9a776973d796d767756da5aa223954f2ff2bf3fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 56 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c83f6f3314ef985da0f4739b219ad0333065555e9ca246fe429622a34f023c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 153 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"b530cbffba2d480639695fdbef5fb8dd3c4b0e602af0914d60b31aa78e3d6ece"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 154 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f4170f2625df0f87a3050ba5892b71e8788c75c70193a750d2c5ec8b331057"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 162 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a689bc24da39219eccd6eecd8f33273dcaca7ab115220e836c40d17cbfa1d4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 192 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8e4b254ca485e5539e99df4967442d4332428880ccc50b9f251a7aada4b73b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 208 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"360640336807013846ca2739e632faeefbe15873c634487c88f751fd8d869572"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8767c38733da333316f60ef8c735339695adb57dee35644486a946d2e4f8d394"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 283 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb12c96850349d2fc21feb68664f6b7b89e82b5836ec69d596b24f7cc4ebd21b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 313 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6e631cfe5251b2dbf9090e7d0c730df2cb18824b03269052c8df10dcaf2743"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 334 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee3dc633ee52cb045e732ec81c6e39cbd19fc80db1e3441116366362cabf748"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 337 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df9ba487b0c47e47bf92a1ec6349b0af179d525c72688585001ed9f8bbad02d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 426 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0b0728ff315635e41c1465344753aa2db270862d1a41c4a667ee40487eb708"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 427 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1600a7bc16be2c194b36de4c9ec6cef47504b51a46bd783beb6d8168c9787b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 437 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5426c31b44c60cf21c861bfbbd1390d6de0412050f2db56205cf7837c93e56f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 441 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ebfd75018e75d1f14e5cbaca20178000e811ea58bb8aa83b69c0de888081eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 470 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"362d88e86e5592208f80f4980d5796c90cd1bd2fab79fcc4a5a1f9e5548a8407"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 478 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d51b3ada995c2bc2449b780061ba6def2cf046fa311f8c8e201610881163347"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 483 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"3727a3fcd8c78bb153e59ccb44f75539b53b8c5f800be87bda39c7df46e92a5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 527 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fc9ba8be71aced62c0f79a68028d9502201b42412da2e751f7c1d79353e8503"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 625 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"a339bdd68f1618b49f65fb0aef6122adb4e1fb87582788f3edc32c1c67f69687"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 626 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e4468bff72d17449d9bbda120d299180a0a60dab4b267983e4469791d059f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 627 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e761d29e552040a8cd8297a4bb28e7acb66b1f409df1a0a35dde0a47c6bec6f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 633 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"4700704b60ff0bd4d0efdc8f37832b4406bba956d1f90af0d68dffb72894e0b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 639 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e91e04048eff306a06de3a353df0344b015431552fae6394b4e8a0aa5745c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 651 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d3c7e003795bfbd58f855caee41b9d3c1a28d980020c8d511cd562c993534c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 762 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_evaluator.py"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aaf4b4b962d90033eb84dbd6518a02cba3bf3c32ea07a298a063d8b58557ba4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 112 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"73744db8919571d8345b7c654d225931d0ac504b05e9b4d79cbfd42cd855db7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 121 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"a557a456675d867d765777e690b1639257fd8ac6668afddd11fafad0778994fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 123 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d75e818231fa78b78f0c9c92708e3c6e17cab2cdba7e576053fd29cab142b18"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 152 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e4dab11cf0fe1c35d9d3822d892885212249d0ea544652c92861b82b5c536b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 156 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab607f26ad128dde74d7bfc111d3e2165a5758afc74da46a5e043cd8f044f16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 179 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fca421c3b007b526f62f52ce22168cd2ff84c9a3bf71c11094451db5840b47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 193 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c1c7185aa68ef73b01df3a0fd8b8054606f9ac10706fe1f62eb4e77357c5c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 239 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d5c726826cb7af65b163dc24c4bd893da0383f7475f16ea3cc8014cd89a816"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 241 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"544ea72539f66804f5a48ab30fac48bafbb1bcbfe8684649d4f9455f561c0a18"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 244 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b514275945dc5fe0ea0ef6372ce079ff5c4a1bed70ce17fbe50d670892d181a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 375 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6de682d53038f55dfa40659ade8b9e0c270cfc0cc7616b57be9c207eb9c4a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 379 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9ae32ebf179f4a25fb30e92b7248691bb380a28b990e77d2aea9cf3a767ac5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 496 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fa14d982351d42a556863b4669e08c52ae862441c13190dc8363b8fca5298c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 539 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d38db86d4ca358903188e2177977c9c2f561ec25f778837470cceaccec0dd6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 601 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"99487178202621bc089eb60d66e34efd5343d8f3c9148b27f1af1c539c9ede56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 649 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b0ab5440f9b4d7f4595dbdcc44d03491a96f21ed682066886a687f5628c363"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 655 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/contextual_indexer.py"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00313fbed81579c0a517b1f346bc5595e1d595b318eea84baa6cb2b18c485f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 145 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01e906b138ac8cb6275ea5efae93267eba01a83bc31b71cc486d34c380bafe3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 155 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"16afb1ef29e03558fcce0d73792ace39a5809e37f98e425ad92c31ee65e530ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95c0dfc850c99f80194e38d0775b11896c824a4357c1e1be4f6f1aaf3f491db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 189 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b58f855de01814a3e6198422cc45b4fd69e35561f90a50824e1d3d18833b4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 191 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad85444bd6496648a9cd3523677d277ee16f00847dd115e9e80fbc1496dc41d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 255 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55b93026da394d20ad701b4a75ab25a735d009ec19cd53b4ea72ac740a2c4c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 271 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28f9d4d3bf5934beaa512f88487dc4c56cf4d506b81e2acb962f498676d414a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 280 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"812c6f897fdcde283be331c4014e52a31d50d5dd5cdad12883609dbfc85d63b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 305 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"330300da85a58f4c055fd6b8f5525a1f78e965a72c2ec07f4d6821ad086f29f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 306 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab319d6dd60d1416f14a5c09894887cc30cebb764d436411e84a45a7c85dc5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 307 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba491420d3acc4f9ecb35ccf02682b8abacd202443f516fc47d42d73e0b8d0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 308 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdc227fa91142b64d89bf55a1acdb02ca1af1adf00145c1aa73b4f2538faffc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 309 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b318b9bb9356dd45350613cf1faa9dc63ee4e9e0ea7bd202679b4c22c1d894b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 318 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"4009514ee773de30b950f70262d724ea6ac25a63517b1945cb390ddd7da82701"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 406 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4013c54ac4fa313b2e3b3dedf999c753eda0b2acfd1c1851c570ce17a1b8886"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 407 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcb42a35089ea068772e1288e7a0d828ceb8ca5b7996e36a42d52a7568c2227"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 417 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5a69a06f0abe58040b1544a8a2f3b4cc7f055d74432c0419b8783ee4b2b6a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 420 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0784048fc9e2431b186b34f238a83ab68cc6ba132f6c6f798317a643a1d8f4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 425 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e38ecb69ed993f34b7d55d7c309c5cd22127775f591a33054ff6a304fa587f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 456 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b085e585d49f60538d7f0d741a4493b6ac8244ef83971b62c692cc48ab8434"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 457 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30c6f84977818369f5b8936ac8692759d115c8d8a48cdb2f5975043675932bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 459 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"495bd1431ddb78ca5292160faa5aa1ba111455f61d7281c0512a492bfbf6d840"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 460 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa0c68774ea5bf9d39e094e6933e0810de19d7d7b8f3b75fdc57cfb4cc32e47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 462 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"674aa5fff5e84537e6a8328aa8cc6321c833293c8613bc81e0df69508356e498"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 463 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"20479cadcf7f3ea7e47fb54dbeee2d1580ae2d50d59237aba6ad53197aab3c21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 464 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"da44ecbe7b6850de5c86fa1e062afd82afc1795f08c38a2a309370aded7eabe0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 465 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fde2bf357ea10aba1e5412f66c3d4ff16533665c38223e1d8fb4a9b34285c97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 466 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e67bc08ab2f8d91abe64331cc235f11e09110184421731185a70d3687c5e21e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 467 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c2642d6f09f6cf318090a3993173a7c6d9c813912a5823ea971e6e2ae806e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 468 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3419e1df0735827dafb717e0cf636d54e2d0334c23c55ea0d8dfe05efa869d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 501 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ba3dcc581e15d9bc006f683c121385ef1c4bbc0e9e6354844bf80bf184d029"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 505 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de22e4c1efd55319aab2017b08760db062e2a456060b002d510d96d2ab032aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 509 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb80717a41744903b5d7fb205110727180552207163120daa2cb294d71c7826f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 614 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2168ba1e6b3c2fe41637ccea58fb3d61acbf0475755cfe7fbdd04a0b60ef73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 645 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/evaluator.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"942a286b69b3ae13ce03c7c36f097d7fe0a340ea5d633cf3ec1376aa976df088"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 68 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad8e10cef1d492476bedeb824fbe62d9b82476e8562795b1930326aca50866c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 77 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10e3f0b1fa123f61f2006f8db712e30a16dd94fd90bf7d4359f4652c986f2e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 79 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c6b6e5667e033a5c081b90b2869b200cc831cf8e5bcad91cbf6d2fd06075f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"c013fbe5f8a360b5873ea0b801f20747d92d98f2a564c1de88760efdc5b56c61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 122 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ca72c6f818e0333e95e06d0f8085938a0eeec3355331eb9356a439e90d37c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef90f62faaea35555f46fbef2240eff64ea59d14fc5f4ac1833f51bfc792a6bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 236 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b7b43ce5b38285dea0ff8e7c44eb081c9018f5ccfbd670baec216d73473362"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 238 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b63145c156db20ec9419a6807e9f57a394cb5e4b692e44b20e132b8c7b7dd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 241 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb229caf2201e4441a70d748f1364f8a14289dfedf904a12588f7ec11b3e53f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 365 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea75bf1412e71af594129f7aee1bd9f10ade264a7878b32d76b32e501bb21dd7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 367 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee2570fd9ef217f27257d039215b79e0f5ba27acc49f893171ab7ca9fbce4f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 369 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef990c0c8f4da574afb300e5ae2b576f8546dc6b4b906903dbce5537efa18873"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 373 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"479ea13532a6f45b57b8f64a13e19c98cac848eb8abbdb37eb1bdf72fddf4f20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 399 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8a336148cc8206c26066318f24ad5b3496b17682865bbb95f541baff9af201"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 450 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33bad707eea20d981f1881058055818ef5f8ad72c6acf7b006f06d9508d2dbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 456 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval-for-user-memory/indexer.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"155a22ed0086aaa03b175006fd9e252e8f6e9699a5fef9ceb3d3fed2bd5f8fac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 85 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/tools.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f33fd30722c2eaed4857347586355166366958e7f32eb1848159b81e53a5bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 97 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval-for-user-memory/tools.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdae07a9448ae2d2394fa78769d29b70808fc7f98f27cf7eaf8027c2249b33d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 181 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/tools.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47559d264a133772580cbe914111de01bfdcbd92f682dc1fdfa06f9a9e3d563"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 243 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval-for-user-memory/tools.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fb832472b20ceabc2e4053f9716fb47501f8988af8bb799756a127c2fb7ba5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 55 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1e0fefe440d84e9fa58e49a1047e709c2d1366fdee2d37d8c446cddc5adb01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 71 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"415b7c00fba99f792328b4cb91a4ad7fee6780c2a5a9c533990c465af32e231b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 107 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1d6962e54f0fae8f7795639c29ecf8772d08e083f5df86279831e910109e62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 112 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3b1caf47c2b9c5675099324a6eaf15fe3a94be19b2a36c4a797929daa3375f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 151 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfd19386fa891f44366974ace383682876682e87507bf37ed2d7b57625cb742"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 198 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"d801023a4371f03d636189d6af37a62acabf734c0011bf28a3015e0174d1ac58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 236 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"102cd7e1c48dfb17a40a9a0e08cac6d4d1b89784fcacbd37c8adaa527ee1f0d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 243 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bc52ab0438ec7ee9a00c3ba2d1a805a65613139a0c77b12bb09d26f9b61510"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 265 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18b5ef1bd351322c3af3d962bf9b9693579f483b90db10c565a724feb671db1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 274 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d673cdb97b8530065ba8cf69d0208c903225e4755a35b9c2b32c9926857b7e9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 282 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"3128feddd043c755b5ea978c02e563451483a42cc021ddac6c77b21b2d956faa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 313 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3739aad4cdaf86132a4b0b7302898bc39c1cc46316d69f9a2a2ee91557854d46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 318 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"36398774d32d3dba929ac1edb0cb43ed3448215f382dd7f071fb4195d3a31f67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 380 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/agent.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b585b8c14cd5430c420be08b12ef6f754029b0c9c2850e6a9ffc096c704fe659"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 42 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/chunking.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b039a77001f15f367ac2c89828effd40794a6d5a31ccecc0d55a22c9b0d4604"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 238 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/chunking.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bfab135d2c6dbceadf3017359ece2870856909a70f1eb2f0b46ba18aca722d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 377 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/chunking.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"597e1faa03b61c27a4a754a4ea3dc88f4333d2f4e925fbec814efa35a06ac7a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 380 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/chunking.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42b379d76e17e8f13b73d3cba7ebccc7b80e3f2fa060b7aa7a8f351ff984ecf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 71 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a333b1a3e089212814a44aa76b3f63272951c3e5ca8dc87cf28061b783288c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 105 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb98e875cdc890d994f9aed6884eab8a5207eb69821774232523ab702ddfb3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 113 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"939d51288d78f6c8a56ee7b9f52499fb9abad2077aa6c9e2bd6237baeacd447a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 115 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0f81721e78dce0e6b37a5e706aa010e9227857ed6caf1ca883effb602cfaee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 116 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b317ea67b6cce3e9a4eaaedf2a1ee985c0a47d9677c439828cd80ccc9b672d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2900b8a6cc2fd3bd062195eb337dd84a6ea1c2da28f4790213e8aa60e5fec798"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 118 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7909a82865012d8fb187ce190bdd0c170ee1e52a4b1f826d1d0ba54ea9c5c61e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf58aad579e9a65407234dbe52480fb2a54e69753b8960952649db837a920455"}},{"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":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"db839b2780fd8657d9fe78f2bbc9e0bd7c7c43d9497887dce7220f24839d3f3c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 132 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c66f9f309983a12e76525460a34c1568fade0d84029ed2d09ccf55db1637de3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 133 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fd2b35c7bd029ddb5dbab5333853b2dd10961c5d8f49516932bc7dad88ab9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 142 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c268c3fe83ebd2451ac1ba1df5862f1f6ad4bf47f549979a54eb3610ee9bf732"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"543a11f8b1c7181739a5dd287716c74e383bf23b9393b87cbd74f2ffb7d04777"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 144 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbaa99fb31ce76405a4e77c8fdc5ee2b6379a1ee549694e9fc1a4f5c37b38ab8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 177 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e635996294f646471c57072bc1ba38615aad509dd9c990efe9e921ab39430ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"782b7e1b6c3c9fae6254078366eb4b6b08f75ae24cb7f47f1c18d24506144938"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 179 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6cfa552e468a54b7b63aa46d3c0ec4fd7f0dee4abcd0f8b410fa6847052077"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 181 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df632310846ccc1826d3026fd68d80bf9f4b21e50fe69424e2108ef99f4dee4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 200 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb42eb937879354689216224a2efd3a6626b0c25376976a899b4d24d5cefdafd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 259 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd8a7ca1586012a99c78133de48a58f43fbca707e155641d17298fc68afc58b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 260 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fec4b1c232cb0097d1242d7060d061b939247a61e1d3b391970ee3aa371203e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 261 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4a913b58455dc998dbe4dd15c6d985a04cd5c116a7941053a0339d88468d682"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 262 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f335d93b371940ea9443cffcff1b8f5e4d76e6c37cdf0fbef1456d83a6b8ca5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 268 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bac534eaa0cd063588820de22f22956b08b6b70b2b713e002b5e9030be0ba9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 270 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5737f14540a72178ea4eb472f8b9fe5b4529bd257a02050cb4a5d53746d604f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 272 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"3998071c6f5e0fad4bb03f33b109eab2523fa8ce87eab61f65a74d84234788f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 273 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e380679abb6a3038df5c6ad79c95e41a4f1ab2a85293af4bd6dce55077cb3c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 274 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"14378205ccba0281ff9a9f3c13bf2bddd9cb1473768b1269d313daf4c801323a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 277 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce77769f9bfccdd6ea77cdc1aa9881e39ae4ba53661f6a06bf0cfa84357123b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 279 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed785b0ce2ec416a8d9a8d51fd875ece9e2ab9e855ae4e800eab7d1f780b5a86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 281 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_agent.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a5d672401a02d8d5181eb4e032f34c151b73e4c942bbbc2e44595b7b5f2d8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a9c4709db12e3b112acf94ecd55ddd95e76228433821b7a157fbee259e7461"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"92431036be4522f3c9db705ba0f5cea12d2de463c7584bf8556d817e8a6fab8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 141 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19654f49a4badfc09b9fd79c887d47aa69ec772fbdc1179c619638d5fd4b154"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19ef74a26f221c541949f8736ab3ffcb2e1b84bf150bfa61fce325d21093a92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 174 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f8a2127b1dbf6dc4e7e5b761c688ebb5253f33d8ea2c0a65ed3e1a7d4c8873"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 175 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e457311460ce2fe180b7c51913788a225d2da5ad48827b40c43b43973421e58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 317 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d36ba77949f50fbf8d28d9503a4a47694e537507204c9b86b0bdb67b01808a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 326 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92fc3bc2ca020291eab646438dcec0996a7be3b7b3d17daf2b498e3b3e4a137"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 367 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a9eefaf3a9ecda67e5e14fbfcd29a4d926657c9c9966d2802b969c7a641e03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 372 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9821823970004fd5b1d5359a0064086fa04f05d55f8b0dc9a524a3ef89116c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 436 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e58e506a59f5e6b38fa6aaa6275d6e49470a884e005d543e26c8b5b5bb6a22"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 441 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb46878fe9eff25199a1d9322c2b78138995792e3671f350ea2c1cecbda6190"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 504 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_chunking.py"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"2780008e9874dcc53103de93f47915554c55a87a0bf6baee6cbbbe8059f25f22"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e88d4ff7ccc0a87fc3cee1f0aa26bd50da5fefd45d2d077c4177f4d8265527"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3cb138b2504116c51ec9280012bf78226ad8c797bc0667557a6465d027214e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efadba538022c5036e7cf6d2954f07a8714e467ad60e17bc348e6215b72bc0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 173 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5869ab66f6bded897d902ed156dfec775d9b158f6e0f9d298a156e577cb26e83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 184 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca82b162cc84a93226f54ae535137888f6659f08a9b32591144d4cd2f70e3bc1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 225 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"598eef226cb44936be515ba7dd4b62343ab30b21ceaf192df829013952b8f910"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 245 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad403508f5b3e655774276c9ffca36256886a3daf9b0db077ea5b28a1e36a6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 277 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d018900e9a0250d002b2b4f45e931a76d6ca1d92e02d0de44cf8415258c280"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 385 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be3b4a8329790ead13dea117e41f9e0a877ddc659933c1227c5ef5caef40c20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 454 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebdb654c3174fdb0ae4902cd01bb814b2d10cd2995a3e32442eb1f915ed9ab7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 585 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d9d8c3d5a3730c489f37c11f5e2d7b5022dc194d6f17981ab89fd7842330f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 641 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba5a871cc35e4c0665d8acf9795b4033d803a44533823586eb596cb2839e2bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 642 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"063a197c3c45f3d729c03989161c407f3e34ed2d55579344022e3a3f37881719"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 645 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/contextual_tools.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"79403ba3b78b713d99a64f0a9a7184bb58d44ff2b5f76ad7875d3b7e5a0d5c5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 31 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf52afc1d345a1aa4c485974059095c4633d31f0a475c446b86ee7268578467d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 32 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"870700f66082456cb25b2601aa710899594f58ad2ea246a66d0cfce61ad08515"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 33 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a52c09f9ccf12768ef5876599f5b3125c10703de752dda096a611deef1b75ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 38 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5077e7f238c15661a544212aab0b6e92bb7ceb86513c86300263a817dd82b319"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 39 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4914c299cc60fb5fdd1ef1e2291cb213f8201e7441fd2815e33414f50cc88841"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 40 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a285660486646ba96a895ceb66caeb41d18e2b652656c652d23a8cb4711fd82d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 128 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5ab991c7adc1022383902deaa8777ee646aea7ea9207282603f4ea50c14039"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 129 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b04b2e4e46493196cb1881f1d2d5efd7c090695c884ddd3fbd194a84ba33c6c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 161 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9e7ef7619310f63ac565e63f00f3104c05e648dca2328de6dbc9f09bda6ac6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 162 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aca645e644bb4f7fed554026d3d4aa7d14c3da316abb98944966d09b2a50e0f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 163 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"e295ac4b0b6c80ba718f4da5d2a304b971a8234447793ff2ad207492f9178c55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 164 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"100cf889d5398640b54baac02a382a4fd36c753149a19ff791ae952e10cc5105"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 273 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d9d0e0d4424755d8f0d4c409b96e74363b52d72b9cca7d6bf65b2e088022b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 275 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdcacf3934c9c790a58d9a9822bdbc3fa1d729513b499dbaac18c4005145388"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 282 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c9bc893f21f85e097f6f22f9910374ae87a9a8394c2bbabb871c781f394217"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 283 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fa1c7d5ee70288c3b84f2b22a2c5ebb15ae494c00905832852058652aee584"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 291 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb166fc44f7ef892072d5365c6ef51d2ee46dd87fd7c08b6393f8b740c7dfe3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 357 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"699c79e1064b6fb7e531f3df7f6d6781badbb10f0571dfe9a0b5607acda05337"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 358 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"8600f3ae96c8af23abefee0f3a17afe366fed9f23e562d1f701e66b16630e431"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 386 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"be95f18173c1f58a33f416a0cdfd35ce33d90e5501ebfa470d979b2662963715"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 387 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"d424c075002645ef134c7b6c8ead9e86c96cbe7e2d379e1a768cedd41e6de68b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 388 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dad71880fc69244b0ba81b89b5fb18f49fa17344e8e75be0321c9ae2ea5882"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 389 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8c22110251f7ba811a7cc60b0e073cfde7c1219ddd0d7d69f35b62569f3c43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 392 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"a674f6076710cfd530ee8a21eea9c6f9fa09e1b9ddf3f883b7aaa4d14e2d9ec2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 393 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/demo.py"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c33ff12382e13bcf21367bf2fb2ad67b6e849b28ef4f014dc8c8988192fe9dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 76 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc86d1b8c97d480c3ffe2ce6764c3a0cb112c7d633cb662a45bd3dea170c3ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 77 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d871523a4d96cfad7d02048bfc661ec81ba97e0e7ca193e56c5a75270d5fbaf8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 78 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"00ec3386bede3c3f87d0187c456db14e70a7edaeab79fa71caa346ffac6728f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 91 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47de1e71e4264c86b07e80fc035b65fd849e3fb98b35f18bbba5750f4da819b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 98 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a519864bdb7616f3527dbf17e790afc847477d3a5acfb3ad07693cc027ef61e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bb813cd5c5adbe89e23d05704dddb09f9e328545e1002946f79e1a800f6ee4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 108 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecccc058dae93a76ba24e63808f97c58860733cbc3f35f805e4a06e74355a9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 117 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"118a8abdb401b75b37f7c5083b96177a2c388de55311cb6ce11d1d5cb6b47b59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 126 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7385b6503d473bf63bdd64ba565950bed11a808a47076782018cfc5c013e59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 138 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc8042ca620ad9affbfd9876a284fa497ffc2e43e888c7031f7700a9703d489"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"c781f23d6b7dd5dd048af1cf1ff081e5332be51ad7687e1ba79dffd5829de7c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 149 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccdd678991026454f1ca26ef2234c76e5b697a525bfc2d8b0811d592b93f053"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 184 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cb4df7951afbd1f805faea84e46185ba808e9af6f87913e380e7b440e09fb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 214 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0c085ea71b0301dfb79099a0606d04c7d56d7745f066e57d64b3a83bcf4f44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 217 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b24e2946bb1e999d4b91e8622932294cf9457bb46c25c2e6c7261facee7defc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 220 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc824f423900c61ca2b40e2de7295f55b79e0c34b1d69ca23ee2ea833a2acbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 271 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"3254b04ef6020f463c9a96ac81483ac3b00fca5fb3b9df6c2b7c47ff0ea01e65"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 275 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77e7f58b37bb31123c42470041339830c8fe106227c00fdf9acab8b5c2b30aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 307 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b01f9de65f0320b87607866290f96b65cc1ecaf76ad4b119f891fd27fb8cb9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 310 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbe15ca58d5f3ce247bd6598e5f60430ed427c34658cbc6688a7bc548dcddef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 372 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"432b4bf31d9157800726040697d9ecf496cccde00ee035f8f7dde0984ec264cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 375 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"0570cde61c3a3fcea9902f9baf1b4f6801b60204a6806128a516fbc00d709c5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 376 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09b4e8c45991f056397bfb7cb6bd3b00c12761d0b81279d29f847d792d0a54d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 395 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdf4a7806cd1c8de62c999c0265b6149c96e60bc746df6efea0eb0ae9f0a2be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 397 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a12ceecc3f0c50164d69bfd83683496a3de3831ce71fe5236019980dbab2e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 409 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/index_local_laws_contextual.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddc1e706013b14c4af766c370ef45d00e04d525b043708e82711090fde914fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 26 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/main.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"21c57acd817c3501df00dffd39b797a63e07ed93f1e96a0ccf900c16c74eae5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 34 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/main.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"291257ab5466d5091dd2d857c9f6e613b816a3416b8095040f73ccc508021fca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 45 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/main.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f0f71ca9c0e905dd8a5fd3f14f116fda1cf28dacd52342342f5b35db640f87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 112 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/main.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"65211889d27b0c040e5c6d40e8b5fc380fc4630e8304021291d073efddf98623"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 122 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/main.py"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"785ef95a4a3e188ca32156738ac9431c9243b120f0dcbb4d6d1bb7a7eb4de4a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 143 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/main.py"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dd7629cbf81c0f4db7b26fcf473b02685f3f1ef3469f5cbe731d6a1a873ca1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"chapter3/contextual-retrieval/main.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f35f1d65ad988629aa57eda23d3db6dee684fc8cfd8029bc7cc9d5c4cf3eb77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 47 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a47a821ede5497b079a83c05a51bf7908b80ed7e5e231d224716143680dfa3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 55 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bb847d7ab69cb7cca7c7f8a7cd3488148ddb02c16d0c3bd078c3e3be18ba37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 68 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"df173183605744cd5e7989eff824072c371c767298fff29353f3f9523f4074ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 79 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"653140ef8af64de277a9900aed6c9e4c9d4e84f3d369bf30fe68a89127bd81c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f352f205dce7ea2cabeacc03851eb5d1dada71d1d1d16e0a0b62394a30576d32"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 90 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"de521d6c3e9032df48ff8063c3c6b938d7491fcd0d71fb3bc5852977ff2c0033"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 118 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f693ff3a7e04504e257033ce090b8995294d1fa8eca6237d5c889c65fb05c0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d735b7894697a76049f99ca4abbe0c6c2c5de4019fc15d25ff3c1d11aeb3b251"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 144 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c6fb04e86d02a885003061f0a13a2345ed3ace173cb1b3463a8f34642bbc04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 148 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f8884786706de88ac4d4d4c1c894947229ea28686b5413ab24204866cb05cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 151 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"7551b1382e5c4e65a4063ddac29f6de588725db2069e9af61ce020cac17808fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 155 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ade4d24ad5b80530549469f1a166437bc10440e598d3fe22682b707ed5af02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 201 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b94f7d28d061e50511bd91ae6691b527ba3e9958e2787267479863ee393170"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3159315bb0823298ca8a03f6849506c4224678002ca329d004b708ebcf0a6653"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 244 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"716e7142d036cc49149df93c021f704d377c9d56ea905858af2d607ae0faaa12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc58f8124d7890a3fc0a79cacddc92a78aad193295343b93077729530297d2ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 301 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9e2a83a639cbfba32e110b1920c025495fcc66c0be025301dec5b143e3d8e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 305 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d030a7b11738df5609d763d1663cae4cd86013c9416489e50a37f471a1acd5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 334 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95da899b1c167968a2cc256df2075ba5abf12e4f67d6197429d684f039c91ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 351 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea196c242ab318ba190e088987d217f2964128a3765a8b1dd744c5c356dd94a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 377 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afa958e15c237776c9334c1d4eca8b76dbb51ef9d2d5a16964632483e8abf7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 414 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"428da8d8eeaa36ee96c081b59c5754e056344478c16e692a514d7ed3adb1c092"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 467 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/contextual-retrieval/tools.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd0bc4ebd653bc1f72a974737e56435d72049447f5b74f8b19b53560b3affe3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 172 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/evaluation/dataset_builder.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"d844e8bcd6e3ac74be460e4b5bfa3ea91e95930b4b2bf67c7d0ff2cd11e05bce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 93 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/evaluation/evaluate.py"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f10f8b0dbcba79d385eb38352102325d22f6c717c91f2b618e6627822c3a0ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 116 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/contextual-retrieval/evaluation/evaluate.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55d1f5b5261268e1cd150ab69bbd6570c50f5138a9b8aeb4092f04265b6a5c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 191 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/contextual-retrieval/evaluation/evaluate.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"85955b8d3bf71c049ad2d7aaec2276e09f992e651cc51f3db0a2e5e0b0d53aad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 92 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1113d36c9c1a5c2a3342f46a61d20148508912e13eb08ab1181c2c8531b5ef0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 108 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d9f1b710bcd38b5b373c5715ae9f26ca91a8450cdee4f2bdadc49b33e80f63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 141 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4a535fd643e747b26c4c6dce92bfe3da76a0c9ecad8bc4a3b5ebe7cbcd13c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 142 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"199b092028509584b98b29178fa198bdabfc94cef52b55d13615341664399ec0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 195 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"194744442f67605c8bfd19ce82e482c599b08fb36b2a651cf057e14fbf88c62d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"adcd668b8f89322b617227cbeb0e7fe584f05b6e0ce27b4e1dd86ef44f7a822d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 233 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"02cf2e995131623688a4121994b9fea6ae5e8ab284875dfaae04dad055aaecfd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 234 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d3d74582a40110ba5f202aeda969499bf3d0953a6d08e4c553f84d758b6fa1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 254 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"16bf21097820c001a7c6229ddeed3708e91d52449594c8a0b5552e89e21dc85e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 333 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a9e06fecd060ac4af85cd8e4525f2ed8d0843691bad6faefaa3d3cc7c3e4d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 343 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78d17305f547d28c677f8c0e55d780b44371cfb401461303d84df328714d74b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 382 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/agent.py"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a044b17d00dfc52ac357e74f2fbde74f655372bb4eec29679399861c821cd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 101 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb9c263cc7e710e0b497ee073dc24e67a21fa8c5cd39c2c262be82228266374"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 102 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"d241f5491bdc4a0340a3fdb53046f3759bffd384d437686f13a91d7d4d0b6bab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 103 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1cb5ab6bbcc4b9cac5f0224a00a45ec374b18f53342d90980252897ad0f886"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"571e7070a9ddc5ae32511b233235f260b95c9bc5e61ea73247d009560347983c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 164 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c3e3d0db358bbe52c117c550f28ff25368a7f334c3c8bb1b3f5b83aff3b398"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 294 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb46ba6a34c15dd39a80a613c9cababdfb38591a7dee2c89039af585bfec514"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 310 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f17d65ec7d27c4d82cf9b990a92f2b8b9cf3f28b86f57e013bf144d7aaab78d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 348 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/chunker.py"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bcb76ca0fea4cbd883417fde3a61dbebcb740c506b59929b8bbd56d9d0c7e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 145 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea4c4f9e467391f767be42c6765d5e86465e05a9e9c39f83798919cc7867a28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 155 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65b47a9c19b5b3270f0f928e2a18328b9d4aaf3164f10c6dc30d0f8fc377d8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 178 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b520aa5c5963f512b84a53479f65e3f49fc8f7e3b43c95180f672617b428f955"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 189 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b3abf8667c918470cc39bb626a0938a8e4f55c68ed86d0416a9bd42316021f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 191 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8e3e96de2011871b745f45404f53cdde3823accea9e4e16babf785c5a67288"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 255 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd777222a9d8e097b5a5ced67e2743e92ae00428690e0cd90534ac94fb939f81"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 271 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"69217ba5cff1d01b2cbc01ecff9becc854e152776c61a5aa2ca90d71a357bb16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 280 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3d9654663cbb084f977d51d6ef0c40af506e621ad99206cdd41bd6e021ed24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 305 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0d5b1bfaad9ef79f9fdd8205996327f6f4ab632c4813e476c457242f6c1156"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 306 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b787f44ece8d73335daf98f409591b76b990070815eaa5c8ea35ba7de5c919"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 307 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"110a29c6585fc97179faf21243318f25f6f5656f3f6e418b6e2fd9d179992b14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 308 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ae11439ad2ae4dfc613a0569972524ea904a28017f32132154d7d61bea0f33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 309 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"00514fdadf6e47e97fbd83d4fdababcb9c004b5f82170d8e7b7b7d4ab0db6a1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 318 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4068699e994690fc05a7efeed7d03f9e4d5189d62aba02e93e3b0d23d1098cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 406 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad213135ae8032c8b692e345f9b6585f6510bd5c229bd48797d55cdb5ebeb1cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 407 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f585f8ecf75b11cc33b0e183044e827550512bdcd7852756aa07e35ba7b915c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 417 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6a2524e3afab9b13eaa05d8d0d3b9b89631d1acc402be63c016186b6481316"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 420 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a28d937316717224a8c954056629a36c44cae27899321ac26dc39f9d80d6d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 425 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde384ebab4bb2602a6886747c62763acd1d18d55495053fd21b204900670f9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 456 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"70390810fea0a465e6c17efbb8af6dcab1bdac6e5f2c1e2aaeccbc4458d190f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 457 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"157837796fc888d4b625a6ae3f3cbe4321ad17a533f7987fe80c5bb48fafa0c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 459 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a87db8b2e2d4d7e74302f75cfcf10ae7de5d292364cef07188b1e5945a4aec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 460 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9d1b12ce65b2801b8ce55ad595ddbe8ef1866812e192bcd482c346a3c0abba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 462 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d753a67395bc0ddd91b0c986510ba837b730f29d6f654a643e6c7403fce9b1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 463 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"42233560d0cc28b71dc3ca56b52f087ecabff9351aa106ef94bb533f6640ad37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 464 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9aa15c0b6bbabfd3628154886d04b7118c73567eb1d50df513e921c0b7bbd56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 465 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39d1f1e22aa6616552b7ca576b47cf76ca9224cd55a98372bd34106f7a43ed4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 466 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2327869515eba88642b2f7fd317783bca1fdcc37a835535cb541bc73c8c9298"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 467 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b26d302dabc009d7d44c543273bca912e7a88b32b2edfe49fa5cfd2015227f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 468 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b68ac4b10ebb34e496d2970350d0c1f634d09bcddc5dada82969777cabf762d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 501 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6ef23ccb5b2a527216a48a036f5cee28c22f83f276bfa23643ca07e72b72dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 505 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"35eb457d91ff06e6e67ab0848fd37769c2dd938bb70decbe6d42bb0fd303a4dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 509 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"469ac3d8a8bb57b7d3630828a381e203799a180d1a24fbfee4bcaa50db600c17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 614 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd3fd4a54575e125df1808ad347b16ebfb629cd1a3c5293258914df2348973b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 645 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/evaluator.py"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"277e4a3221c71335db361e4b762e5d6c2be18a71a59021a38b05b7f9ae137ea2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 157 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a3f0b1e54bc3658e091f7956b18b8266cfc9e98a0d5f356415cb5fb2dc23fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 166 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a716661be790084350d9db6f64fdf17b95e0a156ee570c8cac9abd2ee7812d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 169 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e985bc7940039cb56662b9478ab44253e752b2e464cd4639b8695ad5d2e69a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 209 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4b5ae398fe980f6b276f3792dc2b371a7de028d2339c7cbde2cb58faebbccc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 214 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"6202d0368c3541aff49fe430440cd227a6bdd70ca7f7423e4aaef2f920be19c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 302 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a713bcafb882e9067e4bbae942550b1b329f5b182f7c952a61a6b976ef4cae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 333 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7eb5e6ec98615ecc6523cd3075d29e88efb38df5b7296186169a9ec3555eb56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 337 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dba01d1dc76a8e53b92365b5975616d9ff9dbc7c3f348ff74341a8b4661abac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 339 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"203ea2d864e9e5291fa2f74a68c7704dc52d1622287dea612cf004a90809bd75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 342 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e03f248060a8e97a36cb1b5ef7b78029f15d2d132c14a19cf75cea8fa1d5200"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 414 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff84e4f54f90ff1b714d5649674544f4b3ecbfa973813acd16dcfef64c2497b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 481 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"b173e26a8305a64789454b9943b39cd2e31a7da7390ea79ff349dc8e9d37fba5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 483 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"db86cab41f16cd937b1c51f426231502d39d28640e1530ff41d6afc5653db24b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 485 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8af68becb03e3c65f2b817db003f2c737780437eba5f7d0a64fdeacc4bedcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 489 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8379e488b82b75ae6a60bc8aa2166356189aac034b62829c2dc44af16e6d442"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 515 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c60489fe040cd53412104430c1d115bf2bbcbcf4689ce1030921b69533d5948"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 566 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"946e35692f9125143e8d68834b975ee802445dd20e6d3e8439c38039d5f50015"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 572 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag-for-user-memory/indexer.py"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a9f4923aa515ee8d1a4b2bce82462d16bc4a39a29e68ecf285de1eeaa30cb4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 85 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/tools.py"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"398812bec418b7938de6ff60e060eada55b93b8d3c0add5dd04ce36fda96d9ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 97 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag-for-user-memory/tools.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5670869e892afe981f48f886015b80079efe6c4c7969403192c0f278477a3c97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 181 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag-for-user-memory/tools.py"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c86283a033065b25b6039e84d5982da372bd206665dbda97995d540864b0ed7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 243 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag-for-user-memory/tools.py"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c29c2f127e6016445d482372e95fdddaa5cef1e275e03da56b05cdcc75f540"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 70 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa23017472588ad625222be6ed3305557325941bfc6e6edd6503ce9792b3ee3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 86 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd18a4de9cd1cf7e21178de3718d027e9101d5c473d7b5e3461e4c7978c0732e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 126 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0046b469b74042f398a3def4690c51a91dec004524fa5e6e335479e4085d760b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 128 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03f14eeb2b6a78b29755a96428bf9ca084f0813aefff3e10e67b0e114111c67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 149 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"edff484c37618d2db16b755ce5eeab02eeb306afcfa2ca686bff3f93eb42819a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 150 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"615aafd722e2cb924f2eb426898c715875e352779ef0f0743fcf77ab4a1ddb64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 151 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab4e175f7054c5060167f1569e29501d1f38997523fcf45b7fa13064cec5274"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 152 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc6aee692dfe7b67c054bc6e1e2c025b30688985cf3a211fe93a1025bb2f66a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 153 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"00293e16fcd698e6cbb838a5a9dc83281438cc3fc5164cf727f0447ae095391d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 158 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a29dd502dd58718e476ca28c9e0a2457f2adc801268fb653cc28c09b1477fcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 174 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5f1c8161de6c25345e642f76cfd12476b4a680ad16a6b2bbe300231cf81510"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 176 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbbe1d22fd8ef7f095daa1facddc5e73f737fb3ea1abd36e25295573e05cb5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0bf70f64775e5aa00a41f4616f47a2477529b259a4e22312b07609b012bdac8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 190 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"19545b33c47da6dfe92f35b8d8d27f9e6fdb66470d553e8e2961a21bc6f2bfcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 192 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48a4e88b3cae07474260ffcd78181a8dd49c095bd0b5504bd15f74f6513f545"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/agent.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d46c349ef8d620247bb5d43cdbe8096d3bb628d29103fc84bcb6ba5b24acdd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 258 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bdd0c28abccfef38d7b9adfe487783ca4d5591b93aef0665fa1e6200f9f46f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 301 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd7cb22bf57c68d55b18e94fd4636843ce1be09662447b61d964b54b0554dc06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 302 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"2119f40b4ea2fd040e67e7510eca503772ae0d91514f3c655ae79a4db1580e5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 317 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/agent.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be1dd33b23d6df5569028e1ff66802b7b24c9600cf2340408a04e00b979815a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 349 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag/agent.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"5675f061cbd314450ab038e70fd9608311a774c445d1b93bd4e9de0ff70a4238"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 357 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/agent.py"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"6680ef1c9be0f657f7ce056fce71b86e02737cc198344c02fadb58d762c7b264"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 449 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag/agent.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94f15d91f59323cf00b4311d85e2df1303e0611eb01dcf222d062c02a2c5c06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 42 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8858beb350e145670f7fe44d792593bcde6a29a74b2308eb91bac388fd6fe54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 238 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"86aad405445dd30202ca19027b88ccd14eff91976b53c84573ca2d342c6f1ad7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 377 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f395306ca40b027a1ecea29ad0d95a8b46e7040ba640fcee83a0a66c0ba18f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 380 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag/chunking.py"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"41423114e5dc26f7cc3c395f26fab611e4bd26a5484ed5d630b12a94afa05394"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 63 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6262bba3ae3d689e7206ada3186a8ed6ecd3a03e7bee9e85e6bc154bf8717e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 64 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"56559e5ba6deb1d5a7e5da9b38c9c8d31f7da4fd45cf02f091a0d2f68e015de2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 77 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2cfb05f5e3e746084ad36dbf9739152b0f49cba6d3628eb4e89b0715dcb8148"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 84 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c89b241eb6ebb567120babf270f98e145c7be210df95f8d9bd64ccfe0393274"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 92 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b813961dee7ff2c6b5d28dd9779195ea8eac7398ceb4433f9d0e5e13f4fecc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 94 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"da98899e5ac1e5cd3cc08feeda4309dfbe782beb7ecb36d9568d64a56d0e8bcf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 103 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b497d8a6543883b748adcb89fc78f44c4aeca44c447b4321b951c55d6e02d05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 112 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f5a5a6dcc504f9010444a8969aba9a02e4692f673dff37eafb48afc503809a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 124 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"90115fc899082312fc4417207d203f93a10e56184e9396d89bd82c7812afd925"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 132 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"457756c10eb677d0ee531f5b0d006cb89254a16379f6e22c5d57da08dd88830a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"234fbb4341cc9db30bc6f4c985ec4d44c151cf1caecd352e895911c071bc13e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 215 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b76ae1f1d8ad5d67b6e660e4e1aa85c1d9e5188c98085ab22289c5e42ef370a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 287 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe4ebc662f0d427ada405e0ca39b5ee881d26f7e73230417f8178e59eadd8f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 291 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"2143036e5167d5283d7b8003895b2aad205c454441e86bdba175ac6f0449684e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 337 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8363fc0904275d9fcc4e6924ad25649f7c2ec71117ebf54319ef6a8cfd5e36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 340 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0631eb40f2806035ebd6bab44966be0db4abe2e68bb2131e42855c66f1610480"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 370 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc52ec307bfafa404d74c4f9ceb7f2e2ef651c13852c1d7e494e3bd5c196f136"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 372 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/index_local_laws.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05b32e7cbe96efe7a14bba19120fb3209d6263605df54004a0c3c482da66759"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 26 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/main.py"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d3306e64eb7101c60a729eaa35cedf92379bcea76f449c141017e1b771e8c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 34 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/main.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e0dd562a55c1f7b1dbcc81db9115a447560ef445ac55b396fc328432ae94ec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 45 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/main.py"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51de8bb3b503500fbf4f470b22e67f86cc152208567bd9d409700a03ef54895"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 114 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/main.py"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d3e16b50aa601c30a329bf14af966772f7952472347411078fffe45c11b719"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 124 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/main.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b30585755b8de06d3a5af1ab7bb3d972d633833f7929b7c370d415233d2216"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 145 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/main.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fb4c68d93b78c75c7abcaea549e1ea46643329f0eff15bfe99229150e90444"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 158 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/main.py"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7435c9ec0549755d438eb61816eae10ea548d074af328e74c2c08d94fcadc9f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 77 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/offline_retriever.py"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ccbdcd354ff1837f2c7ab81c118889e496f53f52ec898fae39ef47da13d2c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 116 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/offline_retriever.py"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b0684c1f713dc0664b97946ccaf172691c3aaf8051e28763ae8e9197b4cda8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 156 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/offline_retriever.py"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b005123c28471135808e804b47c7d9ddf6841890ceb33baed775c9727f0a42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 48 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"71541d03d4c37611777ce5d6d28c1a716e58c08a65effd1cecebea7881895b24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 56 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6ea108568c866dfb299cef28b36ece49cb3cd33d71955886958f7e11570faf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 82 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22a74cd9058b5308a18ff67fbc9a6a73ad32e9f1d6c09d66f4c807b665a7556"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 96 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dfc40dbb9b94852d33bc88090ac9205bdbad3621fc013fe85a765fc6813774"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 144 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"809a9b6a2568acb729bb1ce8ddf769a0382a6fe46227e466804671b8be90ab82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 148 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"36298cbfd982d6a16a670fe928f9fd16984ba7713452cdb63ba351b45dcddc0c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 194 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"927ccc225c712718deec40e5cf250fac68c42f9bed6d30006ed353fe4e272ba9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 198 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"f059dfa257b0bfe1ee6148ca51ebc5bfe480b599747ec6f2597f9906ad45bdc7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 237 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b8665f5976c7af9849a43b11f027bad3b8526ad218039e448043dabfc2d899"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 241 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a1da71815ce175d4ad71cb73211bb355817c315a7101f4ed29ba2b7f772f21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 294 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/tools.py"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e3c2b40025eadc58baf3f6168ea68daa57ba1f958474b97afc6d6b19e23f14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 298 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb3fc1352ac3a564861fdb57b476fef00bb64aa316da5399c41b82b4676dbc91"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 329 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b242b5797597ca1afd777f6253b350bdec07a5c1ac73ccf8d57d955c2e49e59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 346 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"080fed390042948f4b04b629a633f54bcc564dbfe5beb908a529ebbdebeeea81"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 372 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2abdb5f3734924395d8b23a0d8ab57453ffadab502d51d6d6aafffc346625ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 409 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c25d0409477ac75423556fb989727c0b90536319840441422766f17b68c1cc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 462 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter3/agentic-rag/tools.py"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72c2837e1906a5c6f09c23cf31ae15779edf5feabdd463b8039a75c8aaaec35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 172 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/evaluation/dataset_builder.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01dcd3d2030db2d7b35fec88456dc63c1567fa7364b53d3eb95e987a7d8d50b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 101 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"670c3c03ce2b183df484d475492aece4384f4d937c5f708b3e16292c6c0e57b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 124 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d3960484ed016e556176b44af2ee28b3cf91ffcafc6d035c1c0fc05d256955"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 199 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter3/agentic-rag/evaluation/evaluate.py"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ed20072a9ca351f458745bfc862baa6a8495fa214215efc10a2b660979af78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 149 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79e8538f136ed736c1445971cc2cb90a7b1d5ee50ec7cd74e70867632271571"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 279 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ed67a916b1c6dc750fd6de1ab7ee69a5f39795512763e59f83c7792419dacf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 281 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce3af6a01056b00165c50f0010d496413fb62d069c4fe072b8c21fc3770b60b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 849 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9485e41f675d53cf6f1892d738a488b9cf72d118bbdcf5e22f868a99760f2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 890 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"19981ec93babc39564fd2fb946f4559889740d80e40f706923deffe7eef6b843"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 913 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/system-hint/agent.py"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee02e64c1f324b04915babd10b3a1802a1a4ce7ba59e58a8df7a9a6dd12ced3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 933 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd55aaab2df6ea628c926a4a8bcb40c926218846052ed6cff388abd7a8317c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 938 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80690c11d7787875af72fe99f9133fb477189fe24f8e360b3c491a9079d39d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 940 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"d531f30fee29a26adfdf9c1f91d46d9ff86476dd2703f126310f0aab6e0ab6be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 948 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"36027c7c86279b97de169dbc604a30068bff4bf9244a21380ae3daa5e0d4cf4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 955 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":955}}}],"partialFingerprints":{"codehealthFindingId/v1":"54830e3314a7571c0cb634be827b0327acd09aabc98fb8bc8c464aef06021746"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 959 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9c93fe3b8ce3d83635d7c9752c63bc551783774ad152dfc6b0436f7d54ede4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 962 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc850e7fd95ca99d46c2a8e1c92b183e6fd8eb65faa53a5a6a6a5fa025b623d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 964 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0a181eee60ec167b865c86bde730451bcc855418098ffd74e42844a59fea17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 970 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bebc6466e5449d6d6f6db34c6170031c7f79d84e59e44b1841aa909d08bba62"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 973 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c22f4ac077ac1fde53cf18cdb905b01450b596af4623a3cddeaf8dff334b105"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 978 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00c49d37935fa1fef6c835a6e6a89c7436ccc8be62e6a18946780a52cdaefdd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1017 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/agent.py"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a68da633f0161592d3f87cd3835b9c17abfa1a11d9ecb965ce56a00ecc944a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1022 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/system-hint/agent.py"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd0fc47016aba5e70713bb8123965f09a63cc76217cf5dddbf8d4ab86a31529"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 213 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/system-hint/main.py"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f962f21ca381cbe014d62fa723e07de739aa24683d3dc307a503013843864c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 37 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4192fdf4057d85a4a3489c63208f087935e3333fc3006d3b3db3c9de6f75da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 89 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d4adcd6a0a2ed5fac2f90fd0004c29c1609147c2fae76ade90e2f912cf3cff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 91 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c5cea505fb99c6c4191c082ce24719d2d8a910b9f81f2e61df5942548f6b21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 92 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"31307caaa5c6890e898709a14f9b47895ee22ae499abb04d0955cfc8fb5776f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 109 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38ff8396fc378bd3e79544577a4e0c27d4dae09f49ff0e5d32aa329b3c1b7e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 127 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce6d684fcb32b8de9d67beedf94aa8d4e56231e50aa8e1f167e780efb3dac85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 130 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"572b28cfafa81eb1b09a261e8f89bea5a28aeb2d2a64a301cd8acb9a1e768b3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 133 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed073fc8fa6d62e1f24873103a24d9ccde985120535e1420669528faad7cef6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 159 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa168e9e4de115bccd3d97142cc315d7219d440c945b0b7145d68b5ca3d006d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 175 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe9e709767426f44403b2773608c12b7502008e10d82d7d19469ef653740937"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 230 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5926c34d6da93527213716ba6aec03768ebbe1c3def18db176288b962ee1b0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 270 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c797839da5866b5bfa5c424f42449f571b8520f85549b345ababf7ce777ebc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 272 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd55d5e9d84e45970c42ee301dcf6b86bf41d628d06a8ab23100ac261827d21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 283 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"169a0abeedf63fd9e61d55dd6d0ab8d025b4041e6b077c9cbee0fbb3b47b3eb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 361 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49d8d45fbb9fe6e252b8beb9f712f06bf36a91b645f487e764fe4b63f76b027"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 471 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e2854f5de1446434a160a726153ab932b0c55d20f42f3bb05554c22c5d725c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 556 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/agent.py"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a506f833fbdd785237d84504888a279e0817f034d5c06a753737896215b694"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 39 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/main.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c672eadd4591a6f5fc6d83278abc20d656f1e380191aab4414fcc785eaa9884"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 66 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/main.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61ea776372da31f54fed49f6fc3599d7608b8e639d344b7b3805ddbf4731be3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 107 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/main.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e5a81fab81dec6c69b01e5dbfc89d7a4f549674dbc2a0020218050c4cb9ed3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 136 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/local_llm_serving/main.py"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a37c7b7e648e4e4e8d641b3345c2eb6f3cac7f0a2589e51db3576178812877"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 140 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/main.py"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a5fd260d47496f8c7cce34dae79bb7ae11315fea02390704f8ae70824ec2d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 142 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/main.py"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c7d43e72bf1583aa8f2e37358790c79da157de53c877595187b652313fa7192"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 146 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/local_llm_serving/main.py"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"743e56ede38dc83157a8428b42e09901872d598022b984d00e04101fb1665923"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 33 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e4f0b8af0ff5915ec9c412b6ca3b3aa53a465be12173010a0f5c909f9170f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 35 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"83fcf3613e94a1ad3560c2bb24bf0030c3e5b99ee3df097f82c29bdbc7f209d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 92 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"957b683a89308e179e927d34677badf411133a6b0d72ab8914f252ef81e9fff0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 96 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"718c51e0d9c3d0d2ac522368e134ede7ec0cd085c88304d3ae32c7a043415ea3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 148 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"0817afb5b42a2dc68ddadc85d9b14af46104b377b3147d9388dab68075bb4e6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3c4a2ca9bf7ad915e5b14bca409856c9ab70dfaba9fce3bc44b29a407b24e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 385 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2c32c25b65507f47b32b1bc1a262f6521d6bb61621892f7cb14a199439abce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 419 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"658f4e76b98c5981111d09b6a3a6b549a3b982256d659b1cb2965a4bc6aff0d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 449 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"286a1ef24c9bc79c4954752bbc962a314ace9151d904ff02f89732a5096a3169"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 525 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/local_llm_serving/ollama_native.py"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eded96094f69b1540073a33be3e64374a07b0dab431ff33ee9cb2dd859a7f54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 83 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/server.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e40dabc186deb0d50fa57f61ec7b64c8085df441fe150336dc98a053981caf3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 95 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/server.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a229471470c69e4726479bcf452a0c94445733dba6053238e2680ae19cede73c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 96 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/server.py"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff525397341bfaa0ce9ef954355fc851fb4aa4c07949d205d8fb397b19f758e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 106 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/server.py"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"87af86192b583dd3f633b326964b45c191c4bafca2bc6e8f26c6584d650652f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 119 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/server.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd9c2c60ce3edfacf597b041f8ea722783d0851e0c7d2c300634ac1008b8dfd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 183 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/server.py"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d467c25cb5608ea504c20306eec08c20bf1ca0ab1aede9a68673d7829616097"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 226 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/server.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e5ea40a06ce7b112e8c8386d50bce5061adc97bd63a2f7d3aae9748be3aa73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 239 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/local_llm_serving/server.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f9644a26826af0d0f089bd6c8b35088b8348dbf533352d078e26319fbe2045"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 230 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/local_llm_serving/tools.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce243dc82c82094a790d3e1f12e9fb589f43ed422268e921ff1d9ffc2510d113"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 99 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7161a9c1c812b9b3202516a7b95c1bdce7e69de08011b32b690a569d6fafe14b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 470 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4942b52717ae5e1af270d4f962f13462d3d5ca1aa55305c9ec12111f3e08014"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 612 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/kv-cache/agent.py"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1e9744f9a8174a942784bd849258841a4a36c358bdd22df7982f23c4281838"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 618 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/kv-cache/agent.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f456be5cc359cde74023a9749d54601e9c6b88310fd6b1f667f7055422ea17"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 730 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af05851356492bd1f056ce661adf6aa49b8583f589c02eac115a736f9c31054"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 731 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff06e1b050e4ed46c0e98982188e19cb58a855f808990c76d7d6620b4d6c53d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 736 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d7d01bcd63eec6bde381f6e9703a19342560cfdcc2a2ab876ac37eab641f15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 756 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/kv-cache/agent.py"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fdf26917fb23329c1fa22fc3b78b4ec06a5a92c3b84ff78e9722f7aa6ae17c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 761 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cdaade9fb588c0c9e197a1e05a9b3a1125645e8958fceccbd15df80a9d38c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 802 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/kv-cache/agent.py"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04a943dd6f3a37c73a94562290d8d28ea21d208beda56f91cf67462c8eba6f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 816 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/kv-cache/agent.py"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"680fb34d0060ffe0dd721c927600e0fcae190f9a52fe2d89750bd0dc5168577f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 851 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ca05ddc24e6f430bbdffff6922ef3612c5e152b4f2f10646ff3261dbfa1856"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 852 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a77940a88ef74ec746e64031effa8ddb06238852900b068c9be0c29c49380b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 853 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"be279cf98b5691f6c3873d2fa5d51ee2972a0ee72a2e80c6a7856b9305301010"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 867 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5fd2de30d6eb163e8404c31e4600ae93132fcd4f7e254a62381b97caee0bb4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 868 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"b013585a8a6208e2acf5ed62e6099f88811be2e784ff06e4b22a27e353fb8619"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 875 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"608987f7757d213abf922f2e3b836d5118326de2f003c6168165c44ed3432ef7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 880 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce91c998c98153d87536cfd6c70c42a071fedc0318e0cecbe5ae509f80b1424a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 882 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"b251ec1e654de7d8d382e2568157c1fbf9a05de8d1207ce69ba5773b9afe1b52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 883 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac2a5da92457c513b9a4682661f43ca6953aac429869c7d91560c0406802184"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 884 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fe263555fd3845af761d0d03a4295c767944646e0e1d3162f6d41e8fae6b7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 885 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"df36d97371b1d131a50bb39e0fba47741c5409aea228991a00c8c1072a89d367"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 886 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/agent.py"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f0ed82ddce40cfbde934aae94319e35f66b7ff11ab1a342569dbcc529c2cb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 66 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/kv-cache/main.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"154336eb43cc73540cffa376fb17c406ecb8f5ea6f897a35c89f453775d43b94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 129 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/main.py"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66c4d5d71221d746ef5cc17e25309081b3532de7843378162e1b4a1b63092c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 221 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/kv-cache/main.py"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6656c67382acbb8543671145d5e57fbe76dffdd00bea048e25cda618162d7ba6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 222 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/main.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfe989679acdf654443df4acf463b6d7b265a2d51d1047e9a828866bcf37722"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 229 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/main.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5b02927c8e9072558f377348a0e9e1673003e7dfc7dc1c06b8d6e7e92fd6e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 230 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/main.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e1b7108290e8dd8db0e7976eaa42a928a921012a00babd2d948296a888fb69f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 390 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/kv-cache/main.py"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fa71c16a123e21a330f306e6e87497b7d757c12b2510062804b0fe24a6d20e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 109 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/agent.py"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fed8e6280e82f7f4700c0e83ef21bf916f1ca3046f0bd6fa50f4c0a0e989fe5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 209 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/context-compression/agent.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b8c5b653640c7e3741fcf411128c90ec1455fafcea8d37087ec416d30c16f77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 229 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/context-compression/agent.py"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"73cc90fe65175264d395db773903e1b39d41a6c9a0cbe40640e1b8403b44ab03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 272 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/agent.py"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1e1f8bb258d6f559e7cf3601be65ec398d11e3af33f69d1c2f55dbe1c25e6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 275 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/agent.py"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40a7b5a55783a13abc04d5917cca8fa676f5cd2fcb361b3fbb4c34be3e3e255"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 295 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/agent.py"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96fe27a94b5e8736bb025a98f0337d9afb997fe541a3ad79ca07035241a848c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 298 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/agent.py"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b969fd543fd9399cc841e37ce6973b2c99c29b74af84522fc2188234af5314"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 326 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/agent.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"706b38db2e1fd91a9b38eb26c8b09f62b98c65ac31672733417d405064422d48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 333 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/agent.py"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"850413fdebdec352e4df4b960123608487ff73eb339a95d4694b7ccaf03d6869"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 349 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/agent.py"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb62cbf581023a0ea6cdd1b5d77376e25ad94a48c1da26e12517c07fc3f67d5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 427 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/agent.py"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8a05ba1d64362a5fad511f58423c287802d5bf59f3d786897c7bc5cc6906c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 447 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/context-compression/agent.py"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4126b14dd211251da093336b159abea9dacdf99d9e0a7ec96e17c358d793a35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 478 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/agent.py"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f653bc8b62c230d1dc31dcd665803c5a331a01aa9b9376c7fb515389e2b591"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 554 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/context-compression/agent.py"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"1873350c0cba74b2e2673ab5091e9aff8d340da115c8ec48306326e084497da0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 652 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/context-compression/agent.py"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bcc140f30133c0740060bed76002f3a38da160bd322b06fddd0e21d30646dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 90 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1843c1e2de0ca3a4ecd18bc567a87725fc0a87644947b2206c195dae7e47acf8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 172 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ceaea876fd0c84fcb04a034ee8f9b6bf9ce4ef525a2238982de3ea502dbd41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 220 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"87062485de432d60d290fcba042f32da1547c13b31b360b0788502ff18e95725"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 288 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48dad1d85befc9e4d752ed3d0e742fd4a1bf8aff8ebba7918f027d4eb3cb458"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 331 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d142cea55270cf93bce3bef9267e90fd8764b3038092540f1a55451a5f583a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 397 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f85ede0f6d5016d6249bc51518ac8a1dc2770fd02226f1557a774208f5e6bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 441 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45c9896698cdeb04f8d28d7060c0137eaf087fc2171565b22aa152f12932455"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 505 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d90891a12994daa0e1c8ba4b5034cfb95feca6e47d5eddd29dc7278c2f88429"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 549 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5781ef69bc0d949622b81600fa0da594d30118070359deec80d6682a1e6708"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 617 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cfec124696acfdf303097e74b476bf85f1862368de23da394573716513b8da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 669 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/context-compression/compression_strategies.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a7f260d24c44954f3a38a00553577fcf33141a5cfe3b3113d172ecbcbc652b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 107 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f423e18c1de7096136c9cc06abd988ed01fca37cbcc0d78e9118fd1dc4347c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 153 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5593885ce3e47e81a56e20ced9ed88c73996022ca19a9bd3b4b972d1c55bb5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 155 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e886b74b9da9ce14fffe0a5e4a89c70e735ddc3243d1dafd229a8cd2324087"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 166 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b3cf7ee675d8852d688d232bf5423319a17623c5a0850fb39a5d7518e7ce16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 202 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a6b209b10b47f55e34f825265e5663f85fcb33e1472a0ee2ec51fe9640d67b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 232 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a52342c66b231362de976f52475da2aa435647db69800cfb7ce2df9347a3e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 233 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"279d36a8ebebca598a2b333d8c768c3f2551105c4292dc71fd5857395af35fc5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 234 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb9d0c00f9f2d9afdacdd83a04cb2d8f04fc2fcfdd028c9f80b6f7f2555f715"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 235 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"475fbb84e06569ff7622994084abefde5b50770ae5159ca90c31f655b4f0cf4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 238 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"77698c313852f4e828bee57686f2c94ba0a72d58e34bcf70409e635835f1517e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 239 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"32791910e2df75e481c196fc5b0669afcf02caa7799784cd1e99c0c35213ed4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 245 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7c6cf3a0ff33af58a5dfb1b7d041ff9c0dfce572c7c4acd4d5bbeea77cda49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 246 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4a394f63d0fe0059f69960e843a6be4a74ae0c7ebf12b0e894f18ff3f2b0c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 247 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"419f0bdc60a2b2bcb01e0c57b5cf5b55d9df2043ccf30dd6b055d5a4345e88f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\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.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"f999b203adcd5e23b3c0bdfcd43abf4eedd1a61bb92be7e07dc73a0bcfdac9d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 252 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b643b38d6712d2e1f74f8b1928a2977e5a15ce576c868d8a88c07fc08791971"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 263 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22aa7ee7feda8f976faf6019d380297cb6e0fbf540a7cc4281364770db9c64d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 264 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c7bd4b1539bee19010277c115835a7b52b4ab7089a35a2d42e4414c828557b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 265 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2994ce91d8813ebe3af630a694bdcd60e8f98c44de49064bb820be9318ad4139"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 269 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ae554a5c045a86be010e1e511f255a97a179d1cdc8a7c7d41d9f29f4b32342"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 285 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"988b28ddd668ac3f09b15f7ddc805bcacf21b6ad6490c5ed68a6a59e05708e9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 286 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"88db61b90a4bd5b42d18470edc902d763382daac762bd94dac5534846d18f1ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 308 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b9765542c174f44e4f6027c2bb233a8c1a10cffc03af6873f73eb547cee8ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 317 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb39d639842f9fc92455624ff08a7c0bd71333bf8288eed5efc7848b5ab82686"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 318 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2eaf3b1cccd2744276bd41cf201e5f799ff70c6d8ad9426eed1c0886d7f893"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 326 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41c2435cced3b987b890bfdc1b4eae178772f84745b50e71adbdea17f53da6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 332 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aab1144f428a41e52c65a969391d204439dfb632a4c904be1129bae6de5ad7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 339 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffaa53d4e9304b1bc76a0dbd17c690178273be4eb7611ed8f45927f41b134d7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 340 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"485eb011eb8f8751a2258706f2e73dc2862e5d58951cd6e4787cebd32a0ef556"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 356 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5764f4ff285264a855cec5acf484fe52b0d4d5a1eb14d563c4589224aa7a9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 358 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d327383ba54c5a2c2a76ee06a8ae979dbfd5f86a01e19051f7d0230fade862"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 453 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/run_all_strategies.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"6177f5ff51d7b67d3dbf41650c32e94a63f3b2c43eee05b2302eeb964cf6edee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 55 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/web_tools.py"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2179e31081fb35dbf023d4236ab7125db06f060918b8ac8c3cd65d78b713e90d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 76 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/context-compression/web_tools.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"da515b713be61d23a8ff2ea81c94e2bbd9a2058f8cb70342b55eae7e277993ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/context-compression/web_tools.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"857f9e322b7aabfebf146e89a99673a87bc6a39d85ccf819d9d1d9fd7506eadc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 127 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/web_tools.py"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3ef3e9f362820c498c1ef504dab354ae626ce5e36bed5ad67730c656d536e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 130 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/context-compression/web_tools.py"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d5ad8cc9e32e17766dea214d6390217bccd6b18515038d54d948b849e59485"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 186 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter2/context-compression/web_tools.py"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c237321c98f831a18b6c9260687a792f83dab76a0b704913ce06780d87e249bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 185 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/agent.py"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ed703eb0f006087cbaf9e1309eff71896c74f11d3700fa1cfb8ea476224bd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 202 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/agent.py"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cde8bde6e08414471a0903b805943f8ab07fd21f52d33ae0c8925e460f7e757"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 258 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/agent.py"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0944b2b61c25201af5cb8cc5242c877650236eaf1a7859ae972d3d9567f1f74"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 335 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/agent.py"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46653d9102d57129560b70baeaa80b80c6cd7d347b8738220258e3cccbb0ef6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 372 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/agent.py"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e19a52d9cde55e4f8a8021c9c2faf6b9e8be3352256a63534973c8d363229f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 399 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/agent.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac750929d7bdc0260b01cd4900be0a9d79ea0b5874490df6f505cb83aa166a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 431 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/agent.py"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c331c405e78b12afad3d7941d756d1dac2833c9a6a393bfcf865f603e78a7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 487 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter2/attention_visualization/agent.py"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0829fee1852815bceeee92f6a8966adda2cb98e1baac7b32b21a7f1932ec894"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 78 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/main.py"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7453f7c568b7a2dceb8d069136310c6202533ad8c042d507765a579fd33a2e0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 80 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/main.py"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb177f6fdb014876a62934cb9e6f33eee30e9d7c8ccf7d0d8293b1cadb6543ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 81 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.debug(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.debug(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/main.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5d7622520bbac2e5f469bc7e1a887b57ccb9d81d84d6717156c584949b0df2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 621 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/main.py"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"948465c5c8b6760c185f288eee9f4de57ae9befe77d5ade9f49def9988b62c41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 251 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.warning(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.warning(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter2/attention_visualization/tools.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3cdddda14f41564b6d306440631ec787aa2765d0a1892c9b574afacd94ee8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 133 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/web-search-agent/agent.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea7c3c878c22b2735e71df940f03b8eea861b8bc842952acba7e7bb8db4e845a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 397 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/web-search-agent/agent.py"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ad5cc854fa2dd66ae4f789ec70841af3199845f9655b943583c02dbaa78b0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 410 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/web-search-agent/agent.py"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"079f3395c0386f5869d40cfa1aa32834cebf8f5f6e82759fa1ff421c1c15371d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 448 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/web-search-agent/agent.py"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca80a59bf68701a5dc146b64560c7f406adc2652f86f3a47d82f65d67ccc808"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 511 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter1/web-search-agent/agent.py"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d44188dadd44f557e4c9ba50fed2d5a4db58f14fe4d6b46e4aaedaeb8db9f96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 548 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/web-search-agent/agent.py"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39ae18c9592e50fcd3cd8fae2d6565fd6a801af7fd89b8af09aecf26c2b8dd0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 550 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter1/web-search-agent/agent.py"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98e01e4ee65d3e5baadd99cfb3fe3e17b1bba9f625c3b9decfe6483687d1a19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 32 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/web-search-agent/examples.py"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e818a35233d9d623063eff516c9d1497db0066c0c74fd083342c2858a7090019"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 311 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter1/web-search-agent/examples.py"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafea5bf9f160ca1e6facba2698b0767893d35b3b8dd8a5fae6af4c29f80b2ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 319 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter1/web-search-agent/examples.py"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"981807d4d283045a339a4e9a43258120801bbb70c874192235a35af31ac270e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 94 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter1/web-search-agent/main.py"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"280b4509558566f1852e636ec0afc184699cf01b96c52a448652792c324d0bb6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 132 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter1/web-search-agent/main.py"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06e61396ff0e394dc9bdf9d1e0c7e82f6ce06c5c7e967c14a609d82444c46e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 210 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter1/web-search-agent/main.py"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c0c9ecfd16a9702e9a9543e267681fd9326a11700947b3938efe76cad60c01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 269 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter1/search-codegen/main.py"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a2e3a5159a31b66e07b04d887f32215315cad67ba9f23db9aef8e30d78a0c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 95 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b82eb3f69d47426727bc8341424466c656c62b5482f6aa8519f0e271208877"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 103 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79064a94ebeba268bb30399c1d1f4afd352bc61b5a4278018a15d6cb9921cfc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 111 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9671b74efeb559f2d125cab7c979485df2bfc00bb3c509c79897a4b87c9610a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 135 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"df992a262b5ccf1eba9c26b551362c6ba819ed878037428b1387e8be28e6d51a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 139 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter1/context/agent.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c78c7bf452cf0625a85c8b4b10f707f7e80b1c213fc4fc13c2ce04cea7c067"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 226 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de839d5d1f279d00c07f09c255f5b5a6143183451c9418facc98d097ab79f8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 244 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c83fa3b865ff1c75c95432fe0cb3cd780099a182c7acfbb71c5157787580cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\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.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":"chapter1/context/agent.py"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b87b24a96f8c435daf6ffe53561e5e7745d46a985b124d6575a9e2f114fb38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 263 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"8758d2e8c8fb9b103af169746f9967e29245c744d3961971a91e6e4c6e800599"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 281 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter1/context/agent.py"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"e229046412347953af879f7ec8abe51c553c5e77e98e53109b9a7f7126331abb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 296 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde35059ab37edc9f03ed581325ce6dc164ee0afc75fb44193789862bc24fd58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 369 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd59bdc69b633c846ce27b09c5f60f7c5e3925fda19f6f03dd2aae7566de296f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 420 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67f300386ddd10be5ffec1b5dadba3f5d23e19a0d4f9d76fa836976fc4d374f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 438 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"135fbb89ff78126d4eaf8a515a25482d73ee24a02cee0bab4cbf7b37264449d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 749 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd11ab62bfcbbfac354c5c33823671f943eb73f6f6adddb238305f8cc3b982d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 786 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92ba27049fe4163291a7e79be6ea8fc3fbcd021b27e42e19fd8fc1a2af382bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 828 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5dfbc3d88bb8c775548f01f46bdceb63f7540fc013c5e95a27b89f819494d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 866 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"05475914e8927abcc3865efed249b4435d1cc9392e0cefaff4a851f42069f274"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 899 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/agent.py"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ac210abcc94f57b0a1540a4136ac7bc718b08069fdb73405c2ecaf4977c43a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 910 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter1/context/agent.py"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e3769bc75fe87d49817ff5532b18df9ba2bb9a48a9565376e0d12907dbfd57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 921 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter1/context/agent.py"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbd276231f82cd21bfad6b95d87e1a541bd9255fa57af732013a72fcab48e14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 164 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1618967f8b74400139e045890b9a1dac363f1b9d680624a3670bce4f1971f25e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 165 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"94dbf4edd9f9f5e0153bab549ae43881dd90b1153b29fa296f0bc50a6d8696b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 166 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e47d1faab24e96dddeab4c79ec26a901c5fd4e0a2c86188c45a50e9590f6645"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 167 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6c904de1fcc186b2e2e827b098a4f6565e9cd5833ab461798f4cfa055a567b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 214 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"00acd13098073974a96bb5652be2c72c50786c4a4eb86f73e18ff4a6fdfe5b1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 215 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"1909162abbb48c502f964cf77e3e447d189b20ebfc02287dcdef76ac964658b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 222 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"34aa79ceb9523a4175190d533c43ef067665afaa319823c06caea8e1d681ff48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 223 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a042b886c7ace6fda3124a79db2f6cb0a789f310d6367baecf28476afc58aca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 226 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter1/context/main.py"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50f7fe0cb329cdfeebef5cf12fd190028dc3d70f1e4b4a2c86cf26bd8cab9ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 278 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter1/context/main.py"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6caf1be8c2cb7949f193b9ac33867320639360c0386bf38d4a3077af11a2aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 610 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.error(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.error(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eede9bb17c5f910c80629e3c47ba33fd35144c34150640232480c78009b6c18"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 611 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04052bf959e294c712b9f96bcf22c47727b9057c4e5b6283e6834edd46168f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 617 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"315c5864996ded31b12b61769d4b96d2055c237c81ef8f32ab9cfd36561f769f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 618 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd4b8f182c06a0a5a0e55cdcdb36898ee0d2ca67111c69892d0dfe12c6bec5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 674 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f1e3de084ca9605eec5776cef2569a6609d8540ce3c6eb2ff040c81b99d0d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 844 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.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":"chapter1/context/main.py"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"7965f1c1c99706a258986565ff68be7836a7b074f59dc3f0edb19de5e395dc9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 845 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"746fc16c60ff22e37a2b4252da7ee2727f9ecbb103949496e1ec674e9d064baa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 857 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2332ff045c487931a932dc375382da69c4d500adc4e35649a9ddaa99133121d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 860 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbed2386726fa35e866d18b2f7da31d4d43232ca80fb97c999dd33d5e8082c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warning\u0060 at line 877 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as 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":"chapter1/context/main.py"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d84034417a4f5342089bc40b7831d8a4a25e6bb35b7cd0e447948b722d5b0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 889 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e9bd250c7d3868279dc4d41bc24762c60216b385a6f98538acd87efdf148e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1244 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed8b19892133938cdbff571fa68a4340036604af67bf4288e69ebfdbc376cf2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1254 is handed an f-string as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: \u0060logger.info(\u0022order %s moved to %s\u0022, order_id, status)\u0060 with the standard library\u0027s \u0060logging\u0060, which keeps the message and its arguments apart on the record, or \u0060log.info(\u0022order moved\u0022, order_id=order_id, status=status)\u0060 with structlog."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter1/context/main.py"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab195f020d73ff818710b677d0813dd02f86ced94e9d0cd0c73b6b3fa775d6b"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 1/2 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~8.0 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 34 assertion(s) across the 4240 source line(s) of the 25 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: web-astro/src/scripts/reading-position.ts (23), web-astro/src/scripts/highlights.ts (8), web-astro/src/scripts/figure-viewer.ts (2). 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":"chapter4/active-tool-discovery/offline_backend.py"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a080cb0244adce4e7255923e5f1e00053a83e43b7f3ff0203c60eb30cc690e"}},{"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":"book-zhtw/strip_titles.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"29077744d4116ee73a765645113a65d0b1f27852a5d5a22f9909a034f2d7401b"}},{"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":"book-tr/strip_titles.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"02757defd5f0ff0fef5c45e8957d92ad3935996a60da0c154b1d75c703c3e748"}},{"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":"book-ta/strip_titles.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"48fed067db626046ed4b3ea7bab83a726ebb9de0a697e7e4fb350b77ec9724bb"}},{"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":"book-id/strip_titles.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9242917d729f06609e8859a8dbdbcc05e8982adb496a030488c3b1250725ba00"}},{"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":"book-en/strip_titles.py"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f545bcbb246847629efa1636db344eb89da4ab7ab2b4dbecbeb80823a1398b3"}},{"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":"book/strip_titles.py"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f42b17d50794d0d453a5b842169a3f734d3bfbf840410364fb91e05e04ee140"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u601D\u8003\u4E2D\u2026\u0060 under \u0060loading\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/frontend/src/App.jsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b31fe3fbd1ffd321f6d3dedfe80449d0a9baa94d11edaec0ab95bfebfe9b7c4"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u601D\u8003\u4E2D\u2026\u0060 under \u0060loading\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/frontend/src/App.jsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff494becf464c39018db4dd14e68982d5627f54b0073d3afe390380afcb6459"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u601D\u8003\u4E2D\u2026\u0060 under \u0060loading\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/frontend/src/App.jsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"342f3242dc082b45cd06c09ae7950867935e456db1c8fc2163f1607d462fff7e"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u601D\u8003\u4E2D\u2026\u0060 under \u0060loading\u0060, but \u0060loading\u0060 is settled by a load that can fail and the component draws no failure state, so a failed load is shown as \u0022not yet\u0022 for ever, or as the loaded state over its initial value. Give the component a failure state and draw it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter5/conversational-ui/baseline/src/App.jsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f940c24db0cd92bd1123ad2c4e9afbb2fdb1f99e149790aaeeea8097a6f1e60"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_git\u0060 (in \u0060repo_info\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":"chapter1/image-gen-workflow/evidence.py"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"eed63b0ccceb4ff446b04ddfe83eec14ae57960110a804abf5b42bc0a74d9465"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_load_memories\u0060 returns \u0060[]\u0060 when \u0060(OSError, json.JSONDecodeError)\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":"chapter2/prompt-injection/agent.py"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c703f38191016eab8a8de5bb37017aa342589ed3430accae0ea1594452a0f27"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_chat_json\u0060 returns \u0060{}\u0060 when \u0060json.JSONDecodeError\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":"chapter3/structured-knowledge-extraction/discovery.py"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2087b6700d7ea95652a33796575b100cb014f7234b2bfac69bd187e8bbb1588"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060judge_answers\u0060 returns \u0060[]\u0060 when \u0060json.JSONDecodeError\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":"chapter4/multimodal-agent/campaign.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04f2621746b49d636b1ce7e112211a392bab39499d3a8774fbdd5e6775ed1d3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_git_branch\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":"chapter5/coding-agent/agent.py"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49c698a46868a740faf3c62ecf5397894e59933e7d075036f78b4ee49d7bb76"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_main_branch\u0060 swallows every exception into \u0060return \u0027main\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":"chapter5/coding-agent/agent.py"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"33725db81fb7ef5ca1430cdc556c4eb313f5ba390584c445117e1927440e0970"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_git_status\u0060 swallows every exception into \u0060return \u0027Not a git repository\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":"chapter5/coding-agent/agent.py"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32c6ab9a79b264014f7eb11d5b612230f5fe47fb6e9cbf016ef1d23e5f6cd29"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_recent_commits\u0060 swallows every exception into \u0060return \u0027Not a git repository\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":"chapter5/coding-agent/agent.py"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82d4e43f3d6f6080ff862576c3d65f0f9a93af55c4ae64cad28a4db203d0614"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_git_branch\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":"chapter5/coding-agent/agent_new.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8354efcdadea865b210b4c46cd530f1354d2fb45054cf765bf38ac282c050fe0"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_main_branch\u0060 swallows every exception into \u0060return \u0027main\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":"chapter5/coding-agent/agent_new.py"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bb11327fe5944b9814840d17790df053027910fbc046623d682a646a0fde91"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_git_status\u0060 swallows every exception into \u0060return \u0027Not a git repository\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":"chapter5/coding-agent/agent_new.py"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae80ff3023e42a3f9162dfdc70719c507d5bf5dc9043771f2eef24431b5595a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_get_recent_commits\u0060 swallows every exception into \u0060return \u0027Not a git repository\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":"chapter5/coding-agent/agent_new.py"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ccac7b214427cb2eb47e85b82a601823664731d3fa4870d8bcca966c471c78"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_llm_reply\u0060 swallows every exception into \u0060return \u0027\uFF08\u672A\u5B89\u88C5 openai \u4F9D\u8D56\uFF0C\u65E0\u6CD5\u542F\u7528 LLM \u6A21\u5F0F\uFF1B\u5DF2\u56DE\u9000\u5360\u4F4D\u56DE\u590D\uFF09\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":"chapter5/conversational-ui/backend/main.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f848bbb0ba2d5e753df42a581ee76e5d3cf81344fa4f755dc474454933ef2426"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_llm_reply\u0060 swallows every exception into \u0060return \u0027\uFF08\u672A\u5B89\u88C5 openai \u4F9D\u8D56\uFF0C\u65E0\u6CD5\u542F\u7528 LLM \u6A21\u5F0F\uFF1B\u5DF2\u56DE\u9000\u5360\u4F4D\u56DE\u590D\uFF09\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":"chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"925638a3fa3ea3cbbe77faa47c571f5583cf73f573c3d8963611d16a18c61786"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_llm_reply\u0060 swallows every exception into \u0060return \u0027\uFF08\u672A\u5B89\u88C5 openai \u4F9D\u8D56\uFF0C\u65E0\u6CD5\u542F\u7528 LLM \u6A21\u5F0F\uFF1B\u5DF2\u56DE\u9000\u5360\u4F4D\u56DE\u590D\uFF09\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":"chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a515ce9084950770fab0d2fe8b7df402ec33f6f0dd6337877ab9d42c20884692"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060_llm_reply\u0060 swallows every exception into \u0060return \u0027\uFF08\u672A\u5B89\u88C5 openai \u4F9D\u8D56\uFF0C\u65E0\u6CD5\u542F\u7528 LLM \u6A21\u5F0F\uFF1B\u5DF2\u56DE\u9000\u5360\u4F4D\u56DE\u590D\uFF09\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":"chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/backend/main.py"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a415a19e7314ae73b75b51d1414d91d224d994087fdec0a2a87c09e8579984"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_coerce_int\u0060 returns \u00600\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":"chapter7/agent-cost-analysis/cost_efficiency_analyzer.py"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"298f1839d8a29bd6acf34bfd8105944170402c6742dc5abae37bf329816dc957"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060_coerce_float\u0060 returns \u00600.0\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":"chapter7/agent-cost-analysis/cost_efficiency_analyzer.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e4e19a6fdf6b1549fc19ff4ec8858754c59ec47ec171fcc0d5e8035ab1677f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060load_seen_hashes\u0060 swallows every exception into \u0060return set()\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":"chapter9/browser-use-rpa/browser-use/examples/apps/news-use/news_monitor.py"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4b3c081f63446c75e73b9bd08562f7cb6a7997d283144b570a50001ee06b66"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060main\u0060 swallows every exception into \u0060return 1\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"chapter9/self-modifying-agent/sandbox_runner.py"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a78e3af56fd7746af256073681ecb58c7dcf442df4860da2c4e3d12a853801"}}],"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-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.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-276","guid":"4e27da05-61af-1d5c-aeb5-9f56b6ede3e3","name":"Incorrect Default Permissions","shortDescription":{"text":"Incorrect Default Permissions"},"helpUri":"https://cwe.mitre.org/data/definitions/276.html"},{"id":"CWE-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.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-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.html"},{"id":"CWE-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"},{"id":"CWE-95","guid":"400bba4e-483c-5c50-a695-114fa9168003","name":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Directives in Dynamically Evaluated Code (\u0027Eval Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/95.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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-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":460,"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."]}]}