{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"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":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"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":"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"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":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"BaseAggregate.__init_subclass__ (cyclomatic 83): BaseAggregate.__init_subclass__ 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":"eventsourcing/domain.py"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfa1ce69f4468df8d14e5e13e03e32cec027c92db5fe5f30b725ae8c2bb870a"}},{"ruleId":"D1","level":"warning","message":{"text":"domain._spec_coerce_args_to_kwargs (cyclomatic 25): domain._spec_coerce_args_to_kwargs 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":"eventsourcing/domain.py"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2ba388ff477a955d35405af20e284e72019cbcd6be520728b592f92667b6b2"}},{"ruleId":"D1","level":"warning","message":{"text":"BasePostgresFactory.__init__ (cyclomatic 25): BasePostgresFactory.__init__ has cyclomatic complexity 25 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/postgres.py"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f88a5940655ee3dead5583bfdac336d6a05fcc0b83a7a6843b0e63bf0ce71b0"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandMethodDecorator.__init__ (cyclomatic 17): CommandMethodDecorator.__init__ has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/domain.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"f079c5816907713fc9595b8e7db5463173fa98c0b94d9797be025ca2db3f899d"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseAggregate.__init_subclass__ (cognitive 173): BaseAggregate.__init_subclass__ has cognitive complexity 173 (threshold 15). Drivers by points: if/else 50 (126 pts), loops 11 (24 pts), boolean chains 13, error handling 5 (10 pts) (nesting depth added 94). 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 file is where this pass\u0027s cognitive complexity CONCENTRATES: eventsourcing/domain.py holds 4 of the 14 methods over the threshold \u2014 including the worst \u2014 and 190 of the 284 points over it (67%), 5.3\u00D7 the next-largest file (eventsourcing/system.py at 36). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/domain.py"},"region":{"startLine":1296}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7011f3a62f67677890efee7de68c63f0207aacaca066c26ead88da6e49a7c3"}},{"ruleId":"D2","level":"warning","message":{"text":"NewSingleThreadedRunner.receive_recording_event (cognitive 40): NewSingleThreadedRunner.receive_recording_event has cognitive complexity 40 (threshold 15). Drivers by points: loops 5 (19 pts), if/else 5 (18 pts), boolean chains 3 (nesting depth added 27). 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":"eventsourcing/system.py"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba1a65d6b1faaaeaddcbea3994eb4a6e84d33062e8e4b2a3d2e0130c945683b"}},{"ruleId":"D2","level":"warning","message":{"text":"domain._spec_coerce_args_to_kwargs (cognitive 37): domain._spec_coerce_args_to_kwargs has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (25 pts), ternaries 3 (6 pts), loops 4, 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: eventsourcing/domain.py holds 4 of the 14 methods over the threshold \u2014 including the worst \u2014 and 190 of the 284 points over it (67%), 5.3\u00D7 the next-largest file (eventsourcing/system.py at 36). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/domain.py"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"b890ad0340635ba717e9d1985773e1f026a8cfa1440bbd27899ce70f17fc9e25"}},{"ruleId":"D2","level":"warning","message":{"text":"BasePostgresFactory.__init__ (cognitive 31): BasePostgresFactory.__init__ has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (13 pts), error handling 7 (12 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":"eventsourcing/postgres.py"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a11d2b6807fc60765b954a31a0444d648778cf1e4219314a9de2aa929d4626"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.resolve_topic (cognitive 30): utils.resolve_topic has cognitive complexity 30 (threshold 15). Drivers by points: error handling 6 (19 pts), loops 3 (9 pts), if/else 1 (2 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/utils.py"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1a3f9fd86245bb784b1a0f7ef9b6b6f3e5a382cab7f5f38a2d73dcd0f86e38"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionPool.get_connection (cognitive 24): ConnectionPool.get_connection has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (22 pts), boolean chains 1, ternaries 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":"eventsourcing/persistence.py"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3544c134762cbb9e9d2622775a7eeff237de98d18832c5243a39ba51072854"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseInfrastructureFactory.construct (cognitive 23): BaseInfrastructureFactory.construct has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 2, loops 1 (2 pts), 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":"eventsourcing/persistence.py"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"99eab01a7309f286a473b12759cf882fb8452b76fa3e1f6a818bb2ba0da7cdf6"}},{"ruleId":"D2","level":"warning","message":{"text":"System.__init__ (cognitive 23): System.__init__ has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 7 (8 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":"eventsourcing/system.py"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6320ddcf18479bd808306fbc89280b5b56e659fc7a9ccbf3baad2db214a8d1c0"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandMethodDecorator.__init__ (cognitive 22): CommandMethodDecorator.__init__ has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: eventsourcing/domain.py holds 4 of the 14 methods over the threshold \u2014 including the worst \u2014 and 190 of the 284 points over it (67%), 5.3\u00D7 the next-largest file (eventsourcing/system.py at 36). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/domain.py"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8f8f2137a53c7f5dc5d46f9c0cfffb64d2b65c0315d8925db362f464faf3d6"}},{"ruleId":"D2","level":"warning","message":{"text":"Application._take_snapshots (cognitive 20): Application._take_snapshots has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (9 pts), error handling 2 (7 pts), boolean chains 2, 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":"eventsourcing/application.py"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"3352c7ec04caa8176ed26e71a3499438b5f046241c508a017538a74b493061df"}},{"ruleId":"D2","level":"warning","message":{"text":"Repository.get (cognitive 18): Repository.get has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 8). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/application.py"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dbc55ccf83f3e002926fcd7155cdeafcbdd757176f943ad942f5e8d335ddd1"}},{"ruleId":"D2","level":"warning","message":{"text":"HasOriginatorIDVersion.find_originator_id_type (cognitive 18): HasOriginatorIDVersion.find_originator_id_type has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (16 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. This file is where this pass\u0027s cognitive complexity CONCENTRATES: eventsourcing/domain.py holds 4 of the 14 methods over the threshold \u2014 including the worst \u2014 and 190 of the 284 points over it (67%), 5.3\u00D7 the next-largest file (eventsourcing/system.py at 36). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/domain.py"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4c64ea96b33f43090b1f62d296ae8f151d8bb578b30a872a011c678a6e3c0c"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvertingThread.run (cognitive 18): ConvertingThread.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 pts), boolean chains 2, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/system.py"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb5db7c899e48e91eefc7a999a0ca61704c204e6ce937654e47147cf5a147dc"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryDCBRecorder.read (cognitive 17): InMemoryDCBRecorder.read has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 4 (5 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/dcb/popo.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb11d77d60fa6ad98cecbf2047f9272b3b2b971141d4d9d29ea31f86d5cb47e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eventsourcing/domain.py: FileTooLong \u2014 1140 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 640 over it, 2.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":"eventsourcing/domain.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54bc61b6b368b514a75264ee6904a678311bf87c862301e008a37dc1736388b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eventsourcing/postgres.py: FileTooLong \u2014 1130 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 630 over it, 2.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":"eventsourcing/postgres.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01908374a52fb356190f07098ab8564286c95ad5156c8ee7442a3f36969aeb4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eventsourcing/persistence.py: FileTooLong \u2014 948 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 448 over it, 1.90\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/persistence.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec54384e07a2f1e3f972fc47263fcc30a0e702b3b73a6507922734fcd251b4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eventsourcing/system.py: FileTooLong \u2014 816 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 316 over it, 1.63\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/system.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbe9fdb20f76e78ce6e6f708e69c771d2e9fe5822cbf6d7d599190cdd39bdd5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eventsourcing/application.py: FileTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 147 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":"eventsourcing/application.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"515ef5b923ffc9c74fc01cecef8c056060b14cedb66d59c10515786dba5413c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: eventsourcing/sqlite.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":"eventsourcing/sqlite.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"164865b14810e3b87bd6e511c46e3deecd1eb255a2aeca02a398af56b2440a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 2): eventsourcing/system.py:409-430 | eventsourcing/system.py:507-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":"eventsourcing/system.py"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"165508a7dcabeb6c03571b0c46c989d759b24053b142f635e71de7b80fce8177"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): eventsourcing/dcb/domain.py:34-53 | eventsourcing/dcb/domain.py:68-87 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/dcb/domain.py"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eecaf5685c8dfc7a583946ecba73b0ea33b04686b871a7ff3ad23891198e677"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): eventsourcing/system.py:632-651 | eventsourcing/system.py:801-820 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/system.py"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"3682a1c93fff27a25789deb86b50610833ab157c7e901c2069324caee5a5c220"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): eventsourcing/dcb/postgres_tt.py:669-681 | eventsourcing/postgres.py:843-855 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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 \u0060eventsourcing/dcb/postgres_tt.py:669\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/dcb/postgres_tt.py"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"696a76c2ee5784ff4de4e893f55e7bb4d71edc928ccc224ea720d8a9e1f638a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): eventsourcing/postgres.py:1003-1015 | eventsourcing/sqlite.py:595-607 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060eventsourcing/postgres.py:1017\u0060 calls \u0060retry\u0060 and \u0060eventsourcing/sqlite.py:609\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":"eventsourcing/postgres.py"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"871dc8ee715e2d3af73a62a7851fad5e4c85af360e246757d25aec9ce38e9f08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): eventsourcing/postgres.py:1294-1305 | eventsourcing/sqlite.py:724-735 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function 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 \u0060eventsourcing/postgres.py:1294\u0060 it begins part-way through the construct above it, so those exact 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, \u0060eventsourcing/postgres.py:1290\u0060 calls \u0060get\u0060 and \u0060eventsourcing/sqlite.py:720\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/postgres.py"},"region":{"startLine":1294}}}],"partialFingerprints":{"codehealthFindingId/v1":"1746318eb2e3eb3786cb1c8019a661b9dab0e0e293312b174060610a4c93aa1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): eventsourcing/system.py:395-406 | eventsourcing/system.py:493-504 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/system.py"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffd95d7153353269270ec9de4860778d9ed4efede6ce2252cd5c0a33cb77273"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): eventsourcing/domain.py:1735-1746 | eventsourcing/domain.py:1755-1765 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/domain.py"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce7110d2cf49d2f9f732bdf82489e3143700eaf6496ef41ae315ae6df0fef72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): eventsourcing/application.py:139-144 | eventsourcing/application.py:165-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/application.py"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"613ca3305a2fc3e5dceaa953f22520f23fcdf9b45ed863c47d5169ba3fcb6836"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): eventsourcing/cipher.py:48-58 | eventsourcing/cryptography.py:46-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 \u0060eventsourcing/cipher.py:48\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/cipher.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36b56f7c2d25ff324bd5a34fa81664333f1bc6d01e5d1efe8c464055c7587fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): eventsourcing/dcb/persistence.py:180-188 | eventsourcing/persistence.py:1550-1558 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"eventsourcing/dcb/persistence.py"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7e04d419076fc1c98dfe7317c2e3cbaa76fdd512c1636d83164d27048015d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): eventsourcing/dcb/postgres_tt.py:689-698 | examples/dcb_enrolment_with_basic_objects/postgres_ts.py:468-477 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"eventsourcing/dcb/postgres_tt.py"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"019e239b3ace236069902e2d3ed257820e417ec00c7db80f018e53bd5b36d9de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): eventsourcing/domain.py:423-429 | examples/aggregate11/domainmodel.py:27-33 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"eventsourcing/domain.py"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c49b6445a0331837e800a3d25751fbc9e7aa837b3244054118e7229261e9a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): eventsourcing/postgres.py:1047-1054 | eventsourcing/sqlite.py:637-644 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060c\u0060 to \u0060Cursor[DictRow]\u0060 in one and \u0060SQLiteCursor\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":"eventsourcing/postgres.py"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5be309f1be4bf18dad2c78b7bee9833a31c4e24da6beebae195cf8b15223fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): examples/dcb_enrolment_with_basic_objects/application.py:128-164 | examples/dcb_enrolment_with_basic_objects/application.py:168-204 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/dcb_enrolment_with_basic_objects/application.py"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4052999b08c9fd36606eaca1258fba003276a52664b54c2c3c3fa2c505b7ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): examples/shopvertical/slices/add_item_to_cart/cmd.py:25-38 | examples/shopvertical/slices/remove_item_from_cart/cmd.py:24-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":"examples/shopvertical/slices/add_item_to_cart/cmd.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19bffad7ff9b98abc60b3a34baed894ffe6585f63677358df8b55f7fecc3964"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): examples/aggregate5/domainmodel.py:75-82 | examples/aggregate6/domainmodel.py:81-88 | examples/aggregate6a/domainmodel.py:139-146 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060Dog.Snapshot\u0060 in one and \u0060Snapshot\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":"examples/aggregate5/domainmodel.py"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe08cb125c5d0cfd14f22943fbc0ac48ddd04e775f5de6e58ef4f99cc52aea84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): examples/aggregate1/application.py:14-25 | examples/aggregate11/application.py:14-25 | examples/aggregate2/application.py:14-25 \u2014 \u0060examples/aggregate1/application.py\u0060 and \u0060examples/aggregate2/application.py\u0060 are one unit implemented once 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 12 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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: \u0060Dog\u0060 names \u0060examples.aggregate1.domainmodel\u0060 in one and \u0060examples.aggregate2.domainmodel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/aggregate1/application.py"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ec71777376c9e1a6fff2e35b3fa24ef9bce4706c064bf200b1c78d1463d1ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): examples/aggregate10/application.py:16-32 | examples/aggregate8/application.py:16-32 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/aggregate10/application.py"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9424f5ac28c370bbbefbb7cb8effdc1994b89abdfa946c153684b513a6a3d94d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): examples/aggregate7/application.py:18-33 | examples/aggregate9/application.py:18-34 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/aggregate7/application.py"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7744917bccc30e04703ab62fe149242d27c857b005c83d1cd37af40fa7658fb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): examples/aggregate5/domainmodel.py:50-57 | examples/aggregate6/domainmodel.py:57-64 | examples/aggregate6a/domainmodel.py:115-122 | examples/aggregate7/domainmodel.py:58-65 | examples/aggregate7a/domainmodel.py:135-142 | examples/aggregate9/domainmodel.py:60-67 \u2014 \u0060examples/aggregate6a/domainmodel.py\u0060 and \u0060examples/aggregate7a/domainmodel.py\u0060 are one unit implemented once 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 34 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, 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 \u0060event\u0060 to \u0060Dog.Registered\u0060 in one and \u0060DogRegistered\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":"examples/aggregate5/domainmodel.py"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d2f0723325706b5a829436ab4882239579ef9670e9030769873ff79ebbd2c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): examples/aggregate6/baseclasses.py:51-58 | examples/aggregate6a/domainmodel.py:53-60 | examples/aggregate7/immutablemodel.py:57-64 | examples/aggregate7a/domainmodel.py:72-79 | examples/aggregate9/immutablemodel.py:57-64 \u2014 \u0060examples/aggregate6a/domainmodel.py\u0060 and \u0060examples/aggregate7a/domainmodel.py\u0060 are one unit implemented once 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 34 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a 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":"examples/aggregate6/baseclasses.py"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2433551df141faa302641662dc71050e5bd923b1bb554d627c5bd64c1b0bfda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5): examples/aggregate6/domainmodel.py:69-76 | examples/aggregate6a/domainmodel.py:127-134 | examples/aggregate7/domainmodel.py:70-77 | examples/aggregate7a/domainmodel.py:147-154 | examples/aggregate9/domainmodel.py:72-79 \u2014 \u0060examples/aggregate6a/domainmodel.py\u0060 and \u0060examples/aggregate7a/domainmodel.py\u0060 are one unit implemented once 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 34 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/aggregate6/domainmodel.py"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec826f6edbf1ccb996bbf1c6349ddde69a6b099cdd76e2c44d97bd7a07c81463"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): examples/aggregate6a/domainmodel.py:83-92 | examples/aggregate7a/domainmodel.py:103-112 \u2014 \u0060examples/aggregate6a/domainmodel.py\u0060 and \u0060examples/aggregate7a/domainmodel.py\u0060 are one unit implemented once 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 34 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, 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":"examples/aggregate6a/domainmodel.py"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a15052cde01d0171c139ae8fecf1651a9788718fbdde4573ff6de0bad1961a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): examples/aggregate7/domainmodel.py:82-89 | examples/aggregate7a/domainmodel.py:159-166 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"examples/aggregate7/domainmodel.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef749449288a0f1eaa5b3e72ce9138119d2688f0fc498209502ea129516926a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): examples/aggregate7/immutablemodel.py:40-46 | examples/aggregate7a/domainmodel.py:56-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/aggregate7/immutablemodel.py"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"71244efb12c906477ea0c81d281636f6b86490c199749836228c3bf7b42e901c"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Application (LCOM4 4): Application\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/application.py"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"58473646e9239acba2b3f1846f80a1eadd15c700c91716afc83714af52091b3a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DCBApplication (LCOM4 4): DCBApplication\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/dcb/application.py"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc18e5595f07f4fea9cfe678e038700051636cab7947a2221a47f6de18127a1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: PostgresFtsRecorder (LCOM4 4): PostgresFtsRecorder\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ftscontentmanagement/postgres.py"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16ffffc06781c074a79245076439fea0d5fcb11784a99ab2739c7b6295e864b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SQLiteFtsRecorder (LCOM4 4): SQLiteFtsRecorder\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/ftscontentmanagement/sqlite.py"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d116740cb95c9c406a8c18bf0db6d03f738d5d80a9d3b34df730e8161154dd5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Figure out actually what is causing segmentation violations with Python3.13. \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":"tests/projection_tests/test_projection_with_popo.py"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab936ce3a598886048d5e96f2006c842240ead8b079721f9e69ab6e9b1d29546"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Move the upcasting tests in here. \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":"tests/persistence_tests/test_mapper.py"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccf4f3e542cb7f092bf64dd2860cae39070f757224a86e9e4339f0ea80f03dec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Maybe aggregate could find aggregateID type arg in its __orig_bases__? \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":"tests/domain_tests/test_aggregate.py"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc2975947c94e2728ea639c8034b647a1187145f7d07aa1441d4abaebf55a1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Somehow deal with custom decorators? \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":"tests/domain_tests/test_aggregate_decorators.py"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa7e0e64f25bfc8ceb2a5798c4875eb539ed9b576ecb8b77d9924e57a308e76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Actually support this. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/domain_tests/test_aggregate_decorators.py"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"450b70c1e6ba6bb7814f52e52d64963bbb74a612f1c2c6c95e0e3539871a70a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Maybe define __eq__ \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":"tests/dcb_tests/test_domain.py"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c1c1c5562739399b50a00697b26303d46a03eb11221a6194e8f462a8d44573"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Maybe define __eq__ \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":"tests/dcb_tests/test_domain.py"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6eb09c7e827444991460dc64035abd36912c5a9bf9faff42109465d8eaa23d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Maybe define __eq__ \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":"tests/dcb_tests/test_domain.py"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f1861bbabbfa0021a6ca18b20626948df775891981871a4b6117361997294a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Make this a materialised view. \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":"examples/shopvertical/slices/list_products_in_shop/query.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd1edf56905e516234ad3ff4c1c0b5f019089778bcd8fb726bee98c6643bdf1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Make this a materialised view. \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":"examples/shopstandard/application.py"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eea86ee0c88c384685f5ff34fedc2d6e899810b88f0580a9928a2cc70df2e3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Actually test the event store independently of the example application. \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":"examples/dcb_enrolment_with_enduring_objects/test_eventstore.py"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f08c63fe8cc18109cc4a24245bbdacf0d6f2ff6fd69527ca34c611ceeb96e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Should this be \u0027fastforward or self.fastforward_skipping\u0027? \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":"eventsourcing/application.py"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"2729543deb29f06e54763e79137deb8434431e8f0ddd5901f60812965385384a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Rename to \u0027event_class\u0027 in v10. \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":"eventsourcing/application.py"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d75fa040540c9119cf9a0d62aa85f675381834ad113495a67caa017fbc04f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Rename to \u0027event_class\u0027 in v10. \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":"eventsourcing/application.py"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7782d4b8d6e49d5e6c8f77be3357616446dcaef4abfb177d28ac051f2563e8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Move this to a HasTimestamp? Why is it here?? \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":"eventsourcing/domain.py"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fbe1a7d376e0c8e098de5bde4de7ea7fc7f63e9d5c6ab3cdd9084d85af6a9b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Disallow unusual property setters in more detail. \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":"eventsourcing/domain.py"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b18f5b7e959a6c9bc3cd4d6e3b9fc763d31dfc5b7d8fa2fa6f17077ece240f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Review this, because other subclasses of BaseAggregate might too.... \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":"eventsourcing/domain.py"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89e6dbfea48e586011cd4a823f76048689b5d9870a5f6a0c9315774d50aa535"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Support VAR_POSITIONAL? \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":"eventsourcing/domain.py"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f662784a9f1f41239e585487954a77d3d35a7bd44fcaa7b0935ab7538f4321c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Support VAR_KEYWORD? \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":"eventsourcing/domain.py"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13061a31dbc8dff9e6f3aa351a5ae8b508ca77da269f74fa9cf4440a3b5622d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Support POSITIONAL_ONLY? \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":"eventsourcing/domain.py"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"205a350a661bea34c18b113f1d47c2c326f3b76092d921a20565f0f28e8aa3ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Review decorator processing below to see if subclassing can be improved. \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":"eventsourcing/domain.py"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"00effc78e700abc51c5dcfacb1bf77ea57a1ef8ed1842a3b706a5a92f3859874"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # # TODO: Maybe also prohibit triggering such things? \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":"eventsourcing/domain.py"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c5d202c2809fc4fc61aecb939b404ac7e64eaf6dcd4d132da2e4fe03b16c14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Check if this subclassing means we can avoid some of \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":"eventsourcing/domain.py"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70b8ee78ecf52249af9d93416ac9a8f744d4f1385a6010f6788f954c92bfbf4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Improve on this \u0027Any\u0027. \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":"eventsourcing/domain.py"},"region":{"startLine":1811}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b201106a3cfb1da00b8c6761cbff8934a1d880f43791c122c3c357d39c3de50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Write a test where a custom class does override __init_subclass__ \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":"eventsourcing/persistence.py"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5d2410d438a645d98d58f34babdbd86d352367d5ce0a60d26e0b3e9f940b2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Indicate both keys here, also for other environment variables. \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":"eventsourcing/postgres.py"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b64508fa087f5103ec058063263d6e4cada2bb387ee8b70091aae1a5cbd6fc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Improve typing of application classes and type annotation for self.app \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":"eventsourcing/projection.py"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"09342bab467acca7d9570c064b8f72a8ae70252bcedd882c9c15abcf026d114a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Inline this now. \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":"eventsourcing/utils.py"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b26eb8074e7e777f09fe2a3f8f70db79c857b4c6bfaaa1b50cf6cda6f97581"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Int keys? \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":"eventsourcing/tests/persistence.py"},"region":{"startLine":1595}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e34a0de3eb1081a64654f1da9ee8fd901d066a1cee880b715fc5f355d43b3c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Write a test that does this... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/dcb/domain.py"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6484965d39f9049e08aab04bbc41d5abaa95b0b9ff90b118d099ddaee64ed7fb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Write a test that does this... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/dcb/domain.py"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"01382f30fe85c5ce549cde4cb68cdd2ac14763122993aad4dcd34880604c3265"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Maybe support event name strings, maybe not.... \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":"eventsourcing/dcb/domain.py"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a12634a78970c23510e23bcbf69c2b9fa41a291e1e9692864ee2b1f553c593f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: For convenience, make this error out in the same way \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":"eventsourcing/dcb/domain.py"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c70238a918fa5a29c399a6eb40a2f80bf20483c85e4ebe31c137949258fbac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Cover this with a test... \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":"eventsourcing/dcb/persistence.py"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68e71a761f11785626178e7ee5183d6150c06f71f83ff7b1634cbc849e3b34d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Change the previous few lines to actually be an iterator. \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":"eventsourcing/dcb/popo.py"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f27b40308a9ba9be50e1e2679d75f20e87215803b10b2ff1d626d1370828d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: Actually return an iterator from _read()! \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":"eventsourcing/dcb/postgres_tt.py"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff313c9be46b29e26c26c3c65339fb54ade7d8216412f3d321262d842019cd5"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0ad8bdd4f275de50cf64efb4ce26dc69d58280f6e35f69125601b2dfb5afa40"},"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":"ad2cf8a7d70b29905af2bff6d73e688adf651384e0330eb96c06d351fa551919"},"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":"91df998f49d7c40999e5746a5d5a65b58b1de5ff0d56b3ce1c4a93a8d7f2f21e"},"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":"342f18e54b5cde648f8609d4d8ab0e63c64c8a8732de26dcf63f3ca74c998df1"},"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":"7e73e0bc93f48da160cd0b22a6bd77916ffcb297de45d0ca4189c06055660822"},"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":"a6f1611949edac5f6fad3cbfc056a6c6dec9ace4a3bcfebc37cd8356544bd7ac"},"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"}}]},{"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":"e3bad7421c3ab95c78394ddc71ff94096f848f7efb7a1372f456977cb87bfeb7"},"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":"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":"a8d7ee7d92330b592270b74052f5dc1e7c0571a7f49c979de8e50493ad1d5cc3"},"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":"64180f3d0cd6c8248d7704e80b4a97ff356c2d5247e63a4cf96b1dfd876191be"},"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":"335f0dd8d0a9b4ab2243ed8915903fe954a7dbddc7554ee1c738bc8783ccb558"},"properties":{"dependency":{"package":"black","version":"26.5.1","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":"6f3a75955fce4ed7b1eaacbccc73c288179a402f50a0bd7ce2931f57100f0294"},"properties":{"dependency":{"package":"setuptools","version":"84.0.0","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"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":"d0929ff28b2bdb2041137cbb097cf5a3f1ae5b8062496bf6dfe0294fbdac7f01"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5641f386990d017df6d403b4ddd454a4ec78edb8db698fa8d6c8d7941565e91c"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f3d2404f5db6b3a180105d220bdeef85309f5c2373a61b56202f69a63c5c5721"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2662ca4b9354ba7700a87801c904cee2b0a033a0c81e7e8cd44a9e20d2d87c4b"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f375fa51b8b081c9663767f479e19272597975d88944d7e6bc326458ea4fe403"},"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":"6b93947d6654a04b44df0b5e873c2f0810d23638038a6b061a3f1c553dd07c99"},"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":"D35","level":"warning","message":{"text":"Change coupling clique: prepare-distribution.py, release-distribution.py, test-released-distribution.py: 3 files \u2014 \u0060dev/prepare-distribution.py\u0060, \u0060dev/release-distribution.py\u0060, \u0060dev/test-released-distribution.py\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dev/prepare-distribution.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a777842e912f29ace7c059ccc6c7283e2ac64953969ab5310e4ce88792b7d9ac"}},{"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":"482b4235511b3f5adfbe0d0eda5deb16fe466c3e5746499e1dfc970e0552e7c5"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"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 1 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/runtests.yaml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No rollback/health safety: Deployment is orchestrated by compose, but no service declares a \u0060healthcheck:\u0060 and nothing pins a previous image to fall back to \u2014 the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db6bab8a28a2145f47e5a4e6683cda39d2ba0296c723238e8057da979ae1c706"}},{"ruleId":"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":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not self._has_been_stopped and not self._thread_error\u0060 appears character-identically in 2 files \u2014 eventsourcing/dcb/postgres_tt.py, eventsourcing/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":"eventsourcing/dcb/postgres_tt.py"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5be2f8c4ce5948049d48b4e2f1591d417dd0f6ce11440f0556e9886d335933"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not self.datastore.single_row_tracking and not self.has_checked_for_multi_row_tracking_table and self._max_tracking_id(self.table_migration_\u2026\u0060 appears character-identically in 2 files \u2014 eventsourcing/postgres.py, eventsourcing/sqlite.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/postgres.py"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9c2e90c423a55c03f08e48fd5426772e9d7e5eeda63e94e53978b5efcc0042"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060not self.datastore.single_row_tracking and self.tracking_migration_current is not None\u0060 appears character-identically in 2 files \u2014 eventsourcing/postgres.py, eventsourcing/sqlite.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/postgres.py"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"b122fd538722e16b8641a89dbf70b4fe0c0c17043ae8c7002bc065329e9887ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.datastore.single_row_tracking and self.tracking_table_exists and not self.tracking_migration_previous\u0060 appears character-identically in 2 files \u2014 eventsourcing/postgres.py, eventsourcing/sqlite.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/postgres.py"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9397bb21e80bde2a94f27919101d8fcdf19fed74ef815731a8a682f6c56234"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.tracking_table_exists and not self.tracking_migration_previous\u0060 appears character-identically in 2 files \u2014 eventsourcing/postgres.py, eventsourcing/sqlite.py. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"eventsourcing/postgres.py"},"region":{"startLine":1009}}}],"partialFingerprints":{"codehealthFindingId/v1":"06da78a759d16609a8ce5ff8ad8b258b8259d0a958f6791a0faf360572718a64"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-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-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":19,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}