{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"GUI.Draw (cyclomatic 81): GUI.Draw has cyclomatic complexity 81 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/GUI.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1974801c9f472bf1ebc68c496523cabee329f301604ac213f313edf196326538"}},{"ruleId":"D1","level":"warning","message":{"text":"PathNode.Directions (cyclomatic 71): PathNode.Directions has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Path.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f0415538e63e556d0faffd6ff5ec53097c27d38ed38d34bdef8b047cf76e26"}},{"ruleId":"D1","level":"warning","message":{"text":"TileNode.Load (cyclomatic 53): TileNode.Load has cyclomatic complexity 53 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/TileModel.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9443df8566f25bc771c9dd2c527723a967613ec052792450a59f8c79929775f"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvolutionNode.Go (cyclomatic 45): ConvolutionNode.Go has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Convolution.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"470f601a4b304d4833ec50625d55f8eca7de5a37001e8a8eaf186f59005688dd"}},{"ruleId":"D1","level":"warning","message":{"text":"RuleNode.Go (cyclomatic 45): RuleNode.Go has cyclomatic complexity 45 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/RuleNode.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d39dba307cd1d14fa5f05ca466f54d0c61fdd04c5201da2dd3d80d1f4138ffe"}},{"ruleId":"D1","level":"warning","message":{"text":"Graphics.IsometricRender (cyclomatic 39): Graphics.IsometricRender has cyclomatic complexity 39 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Graphics.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07ab80508aec3f39a556baf84bc492ec6bd443986bc7bdf4e7f99513c27acbb"}},{"ruleId":"D1","level":"warning","message":{"text":"Sprite.Sprite.ctor (cyclomatic 29): Sprite.Sprite.ctor has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 11 of the 29 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 200, 202, 198, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Graphics.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7e506693a84b023a7e2dcd6c6db284b7565d23442a83e6a415cfa078724c7d"}},{"ruleId":"D1","level":"warning","message":{"text":"OverlapNode.Load (cyclomatic 29): OverlapNode.Load has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/OverlapModel.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f204af78d2d8e291a762802788f5ffb589479fd125433881b627116b657a3c3"}},{"ruleId":"D1","level":"warning","message":{"text":"PathNode.Direction (cyclomatic 28): PathNode.Direction has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Path.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5ec62ac33fc535b10a80505b3fe7a21516323f29a4119404f33b3a34e32a4f"}},{"ruleId":"D1","level":"warning","message":{"text":"Rule.Load (cyclomatic 27): Rule.Load has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Rule.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba4c590490b44f624f095474a0b2bd20c267e5330583185df5f2caaf354f0a1"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvChainNode.Go (cyclomatic 24): ConvChainNode.Go has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/ConvChain.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"177613b50489f4f1d7747a08c656a23063c7f65a3e697e5ef6d5f3985af9d078"}},{"ruleId":"D1","level":"warning","message":{"text":"PathNode.Go (cyclomatic 20): PathNode.Go has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Path.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2689f97e31343de2dceb5cd2527982d9acaa10585b0cdefdd62c9802b8e17130"}},{"ruleId":"D1","level":"warning","message":{"text":"Rule.Rule.ctor (cyclomatic 20): Rule.Rule.ctor has cyclomatic complexity 20 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Rule.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c51906031af00e071874a07406b270e747ecb844d157334a65996e059082def"}},{"ruleId":"D1","level":"warning","message":{"text":"Search.Run (cyclomatic 18): Search.Run has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"a373c573319f467f7169f8ca3cf73ad0314809c37b89602bebe34496bd9f915f"}},{"ruleId":"D1","level":"warning","message":{"text":"WFCNode.Propagate (cyclomatic 18): WFCNode.Propagate has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/WaveFunctionCollapse.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8266d3a384957d45fc68a5a96d9fbf9e47ad69debfa299364588f1fcfeb3458d"}},{"ruleId":"D1","level":"warning","message":{"text":"Observation.ComputePotentials (cyclomatic 16): Observation.ComputePotentials has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Observation.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f769fb0741a4e06aa7cdc87ec607961d034f67a55579429fa90a560ecb5ae3ba"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.Main (cyclomatic 16): Program.Main has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Program.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c593b337133dcd13d4fdc359b2d980fc71223fdbb6ffe8de3dec70423f8cd9ec"}},{"ruleId":"D2","level":"warning","message":{"text":"GUI.Draw (cognitive 196): GUI.Draw has cognitive complexity 196 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/GUI.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d179cb29304364a3b304d5a7ddc71b29e2d3115bea80583a7e944146dd7374b8"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvolutionNode.Go (cognitive 130): ConvolutionNode.Go has cognitive complexity 130 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Convolution.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c195436852c1a0cd3b84b77e3e5cdfbcd0a0248277c30629610ffcb79fbd83"}},{"ruleId":"D2","level":"warning","message":{"text":"PathNode.Directions (cognitive 124): PathNode.Directions has cognitive complexity 124 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Path.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c193f608090e80fb438b8fd1f7731aab171da9a884fc74b21848043884ce64a"}},{"ruleId":"D2","level":"warning","message":{"text":"RuleNode.Go (cognitive 99): RuleNode.Go has cognitive complexity 99 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/RuleNode.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6c8cab0e9a041a7140e5f4eaed908d9382908b1a8d95614eb6643d7c5dfe4a"}},{"ruleId":"D2","level":"warning","message":{"text":"TileNode.Load (cognitive 99): TileNode.Load has cognitive complexity 99 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/TileModel.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde6593ebd14585cc8ecdcae7e68211212d0ce613ea8ebfc1019801c893e1c05"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvChainNode.Go (cognitive 69): ConvChainNode.Go has cognitive complexity 69 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/ConvChain.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"071e1d5cdb6fca958e7b21eaec3fdb560db182aba00205f22d25bbce112d4ad9"}},{"ruleId":"D2","level":"warning","message":{"text":"TileNode.UpdateState (cognitive 66): TileNode.UpdateState has cognitive complexity 66 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/TileModel.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f07cd1dfd20bc4c77ee7233c47935455ac2d748076cf95252bf995496d82fb2"}},{"ruleId":"D2","level":"warning","message":{"text":"Graphics.IsometricRender (cognitive 56): Graphics.IsometricRender has cognitive complexity 56 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Graphics.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdeef3f59aba15876bd1d5a5eba3788b9908c3c5d3cbbce9559f5297161ac1f"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlapNode.Load (cognitive 47): OverlapNode.Load has cognitive complexity 47 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/OverlapModel.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3893265cc009a91dcdf46651ae9d1da433178dfaf506c684885266790393c24f"}},{"ruleId":"D2","level":"warning","message":{"text":"Rule.Rule.ctor (cognitive 47): Rule.Rule.ctor has cognitive complexity 47 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Rule.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"523be84a8763246188a442679c499452302a15fad58cd44ec2a59cb71f5b2e77"}},{"ruleId":"D2","level":"warning","message":{"text":"Search.Run (cognitive 40): Search.Run has cognitive complexity 40 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c73201027dcdd1672d297c6ad535a3e0f1fe866d8bff5b567e24921bfe00a24"}},{"ruleId":"D2","level":"warning","message":{"text":"Rule.Load (cognitive 39): Rule.Load has cognitive complexity 39 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Rule.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8874363aa85633f2ff7fbf4e940eb7fb6fd6e14333b2dd1cd122b038440269"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.Main (cognitive 38): Program.Main has cognitive complexity 38 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Program.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da9b1265d29c9c12cc3b35b8c825844726fe6383adbfd1a383838de42429f33"}},{"ruleId":"D2","level":"warning","message":{"text":"PathNode.Direction (cognitive 37): PathNode.Direction has cognitive complexity 37 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Path.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee96d30b75a5f0096138089d5dcc3c8b67be1fccc15d2864aa51a060edc2535"}},{"ruleId":"D2","level":"warning","message":{"text":"OneNode.RandomMatch (cognitive 34): OneNode.RandomMatch has cognitive complexity 34 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/OneNode.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7afffb06b3d23e756382ae0ffe592612cd93fe6da3e8ef5a6a7b4858e2125875"}},{"ruleId":"D2","level":"warning","message":{"text":"PathNode.Go (cognitive 34): PathNode.Go has cognitive complexity 34 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Path.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a5740e7cb64e0237186856214cdf9cdc9a1d820a5fd48d30be6748aacd87d94"}},{"ruleId":"D2","level":"warning","message":{"text":"OverlapNode.UpdateState (cognitive 32): OverlapNode.UpdateState has cognitive complexity 32 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/OverlapModel.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a24468e0299154a6bd675739ae6a7ea70c89b11422b40bcd9031621a5c4295d"}},{"ruleId":"D2","level":"warning","message":{"text":"WFCNode.Go (cognitive 27): WFCNode.Go has cognitive complexity 27 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/WaveFunctionCollapse.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b88e0b95d71de2f919f474009681158d65b890e34a08618a779d07517cfbfe"}},{"ruleId":"D2","level":"warning","message":{"text":"WFCNode.Propagate (cognitive 27): WFCNode.Propagate has cognitive complexity 27 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/WaveFunctionCollapse.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd3c2d0600b597abf335715ba493da0e56951e07836256c6bdb1ffc440c13b7"}},{"ruleId":"D2","level":"warning","message":{"text":"Sprite.Sprite.ctor (cognitive 26): Sprite.Sprite.ctor has cognitive complexity 26 (threshold 15). Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 198, 199, 200, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Graphics.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a42d0791e98768125f4574bc6b0b41b6404d15c94304b5c71f90662ef7a8f98"}},{"ruleId":"D2","level":"warning","message":{"text":"WFCNode.NextUnobservedNode (cognitive 26): WFCNode.NextUnobservedNode has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/WaveFunctionCollapse.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae30019ba2d32d472aec32079929b9bf72614b20fe1fa73a6d6b61762474b15b"}},{"ruleId":"D2","level":"warning","message":{"text":"AllNode.Go (cognitive 25): AllNode.Go has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/AllNode.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"115af1ba4217ac89b32744c34cbde66ab5f754147d0f5326962130645a3bbb22"}},{"ruleId":"D2","level":"warning","message":{"text":"Field.DeltaPointwise (cognitive 25): Field.DeltaPointwise has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Field.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e04d69ce441d8d05abfca4ca4f6bf058e622ba188cabe3f79080a034a7881fd"}},{"ruleId":"D2","level":"warning","message":{"text":"Observation.ComputePotentials (cognitive 25): Observation.ComputePotentials has cognitive complexity 25 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Observation.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c907d0dd6d1d4986d7cfefc300da34dd0c69bc68c3122a9722812ebca03721"}},{"ruleId":"D2","level":"warning","message":{"text":"MapNode.Matches (cognitive 22): MapNode.Matches has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (MapNode.Apply) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Map.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc092a157baf962e21070654b3d87ffadc09fbc9618370ffdfdff6469accac3"}},{"ruleId":"D2","level":"warning","message":{"text":"MapNode.Apply (cognitive 22): MapNode.Apply has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (MapNode.Matches) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Map.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0bc64efd04c020d3cb4c1146ad6b7c0ce2bf182978e85caf20a803dab2ed42"}},{"ruleId":"D2","level":"warning","message":{"text":"RuleNode.Load (cognitive 22): RuleNode.Load has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/RuleNode.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a600dac94a66ca0ae5c39127f8748ac6549f8585eff9eb3eb69be7b5f3519"}},{"ruleId":"D2","level":"warning","message":{"text":"AllNode.Fit (cognitive 21): AllNode.Fit has cognitive complexity 21 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/AllNode.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a6f47cdcfb77a8612180f835ee7b0e3f7143a6bf57047e070c40d0339ca568"}},{"ruleId":"D2","level":"warning","message":{"text":"VoxHelper.LoadVox (cognitive 21): VoxHelper.LoadVox has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/VoxHelper.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"57cc414fee37109b28c22844f2e5c92ddd847e09cbee6cb72a54ce335d80f09b"}},{"ruleId":"D2","level":"warning","message":{"text":"Search.Enumerate (cognitive 19): Search.Enumerate has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55b83a1c9c5100656b7b7100817f0725bb0c67555a02503e7e2bb9a773842cb"}},{"ruleId":"D2","level":"warning","message":{"text":"Graphics.BitmapRender (cognitive 17): Graphics.BitmapRender has cognitive complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Graphics.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"3751a16f386d2e7b86fe6f0bba29fb53d86b8c92e1db6244572a7e1944eb61b9"}},{"ruleId":"D2","level":"warning","message":{"text":"Field.Compute (cognitive 16): Field.Compute has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Field.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c31964edde0146ef04f9e363112fafff92075bc698dc0e45babc16b3c7fc83"}},{"ruleId":"D2","level":"warning","message":{"text":"MapNode.Go (cognitive 16): MapNode.Go has cognitive complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Map.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"174bfc825c182777ba20768b2fd5309a25beee8cdcc7469ad83be680adb214a1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GUI.Draw: MethodTooLong \u2014 Draw runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/GUI.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ef19c178fc2cec538b82b617bb7c46f20009a3da86a5cb2e71b5fa14bdf328"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 11\u002B corresponding lines): source/Rule.cs:64-74 | source/Rule.cs:77-87 | source/Rule.cs:90-100 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Rule.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae64c97b35d970d701f180234859fb8d7b05cc462acad1abd823f39b1284fc25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): source/Map.cs:60-76 | source/Map.cs:79-93 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Map.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eebdf420805143e862a42bf843078374cc58cfc9cfd6741845fbd1122c7047c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): source/Grid.cs:124-138 | source/Observation.cs:99-118 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Grid.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b58b2a5453fe9111068e4fbbf50ee835b6efa48c8d004c99fdab6c6d73add0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): source/ArrayHelper.cs:48-52 | source/Helper.cs:84-88 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/ArrayHelper.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a76a83bf423ac4e78c51da5082b145aa0cff36de00045325d6117783b777b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): source/AllNode.cs:11-16 | source/OneNode.cs:10-15 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/AllNode.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4521a7dfc31211c2bdbaf95f2cf9adf77877d639de0fe4ea6d1b4845dd356a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): source/AllNode.cs:43-52 | source/OneNode.cs:53-62 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/AllNode.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e078e1b25eeda432c29021b58fd1b342b5dccd59fae37050bf7437fc310ea9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): source/TileModel.cs:169-177 | source/TileModel.cs:214-222 | source/TileModel.cs:239-247 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/TileModel.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d65f983471e60c5fc788adc592dd43db73fb5a684c080bce4515be01da04e88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): source/Convolution.cs:68-73 | source/Convolution.cs:92-97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/Convolution.cs:68\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Convolution.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c413f0e97abc08285e039e88cebad5f5a307543e1b5cb5b2acd1d0c762cde00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): source/RuleNode.cs:158-166 | source/RuleNode.cs:185-192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/RuleNode.cs:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/RuleNode.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"db16869757265642f44e449d8a1203fdb21680bfb2c8ad5465c0bd45e1b8e19b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): source/OverlapModel.cs:110-116 | source/TileModel.cs:270-276 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function 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 \u0060source/OverlapModel.cs:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/OverlapModel.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaddb979a21de8c6a0ef87382cff5003aa3bcc51fb0589ef1493539446e3436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): source/RuleNode.cs:33-39 | source/RuleNode.cs:50-56 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/RuleNode.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3747f9c58ec375053961cf2933eeaf755afbb31168b7c9767b238437bf4509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): source/TileModel.cs:180-185 | source/TileModel.cs:192-197 | source/TileModel.cs:204-209 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/TileModel.cs:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/TileModel.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"05be570546abbba167f7a8a255de64506b0c6377b69dcdaf467ec22bc72f3bcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): source/Convolution.cs:94-99 | source/WaveFunctionCollapse.cs:206-211 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Convolution.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa343e88c195803321ddebf9e96bd54fc454e7c56984b1d40f2e6d0c5bac0b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): source/TileModel.cs:201-206 | source/TileModel.cs:247-252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/TileModel.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca1f15e1650af4eb55a63223e64541ecc5d78a96e6355a2eb97cd10b50443b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): source/GUI.cs:222-226 | source/GUI.cs:257-261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/GUI.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6850574c7704983a266da9677d17794eb281fd176d4012ef6a31a2d392602b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): source/AllNode.cs:12-16 | source/OneNode.cs:11-15 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/AllNode.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3366896f6d69d51c6d6f26b2a38ec97d807747ec205bcdbd2dc12b814d8522f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): source/AllNode.cs:20-24 | source/AllNode.cs:26-30 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060source/AllNode.cs:20\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/AllNode.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b39f9cbd566df4e98c0ff6d3d91ca66d3daecdb14e6aef3e0f044f8ff72bd2"}},{"ruleId":"D8","level":"error","message":{"text":"No automated tests: No automated tests \u2014 no test code was found in this repository. Untested code is the largest single risk to changing it safely. Start with the code you change most often: add a suite in a framework a runner can collect (xUnit, NUnit or MSTest), and run it in CI so the gap cannot reopen."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3132564c6310e5d01a231f252a02d5d2f5a542c0a8fa29a14c89693f1e3df871"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 10 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Grid.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"859a009a46699723e2effaf8fa6b7851bdcf18ddd2626eb02ed79438f9abce63"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private byte[] statebuffer \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Grid.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7760d69701bc014e9cc03003c5e4203674a08c8c65cbba521e3ea2ed0e791856"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f36499dc7d217c55bb816782e5217a6c737f19c7041d82b10ed164419d601d"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: Graphics: \u0060Graphics\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (sprites; e.g. \u0060sprites\u0060 at line 140). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Graphics.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"707dc3a29492d834d661f44ce7517e4d2489ce025c693a6ba419a433ec5841fb"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches open with the same statements \u2014 the condition does not decide them: The first 4 statements of the \u0060if\u0060 and of the \u0060else\u0060 are identical, so they run on both paths regardless of the condition. Lift them above the \u0060if\u0060 \u2014 leaving them duplicated inside makes the branches read as though they handled this differently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Path.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ad572d25b04e90505ec1e5d15b04b45b45048d70d7b012d0bd44e7efcd73b0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Graphics.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b79b62f11f8826585e5f87c3101fcf700098c2658a98e1d2da3ee7dfaf96d2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Graphics.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"078afbf83a1a1dcbe3d971f180d6ede13449c9a0ba87773a34ff22d9ea303a74"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Graphics.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1634664a9906a976f57e5484b20becf48275089d317add78625074424418330c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Graphics.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee31f9de88a8d2543330eb905249025c9d00ee61d7f11cacaaeb347a71db0ce"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: 10 consecutive lines of code sit inside a \u0060/* \u2026 */\u0060 block \u2014 a block of code switched off rather than removed, which rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Grid.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57a65276fb4ab229c8181271a3c7e3a0ea108b7606797399d71d6300dcbe18b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Observation.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8dda69ba6e0bacb3489c7812c1f00dbee4b2675cb87cadf47fb8ae394f271d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7904ddae70e98116a595b6183fbe1a752c40a1e71144a5269d46ed94a66803b1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d66327d6541921444b13420a64dbaf758a8ac1ea363366693e4d2c3fc55bc34"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ac2762640fbd433aca794f7a36179d758e1034bab985e1c91ec5fefdd47aef"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5905016b40143256d962f4a97d391cef2ceac1a3a81e2baef082440d2a4328"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"594fd6d468514ca1e99f7058e385b2842dfe91a61c4a84441e775fdd8565dad8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08862bb8916db623f05e11625e941a60ab3167ea3247bc8b4c01f0d474a197f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3803106877ff1427b2545bbff91661e9174bddfad28ab9a6b9c7e52447114ba"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf84566e1dec829972d9da5dfcfc8454013a80abff3d6873888ee9b41e2a5fc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c61d589ea1c0293e1f5a4477dab670ea071719b7442c5face942a20df374924"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Search.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"a424ecb9669501382aba0a0710f4893cc0aec9dde00867904b82b1077c9c3a6c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/TileModel.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d67164690c7213df76b199b1b87cdaf8c237d2a187bae248a42c0d5dc8dbc9ba"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/TileModel.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab892878151ae2adc78519f17b66c657c6fce84090ab341ff3527c843b060f1e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/VoxHelper.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08f82034f31ce409f69a1c8398c2fef7196160ba0a379113b69a35494414d09"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/VoxHelper.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"747d4a472c9acf0628d1113eededff10db5a392b5bce9bf3084a12e3ea2c1685"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/VoxHelper.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92ffc75c308e65e8976368d635e4c2ea9ff0944429f6125084938e3552d2b5b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/VoxHelper.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d091e26247f3a85080b5187879a814c14dc2877428131f82ddef978b297ae6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/VoxHelper.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e510987229df791b75cc97c9e1a1f3769dc4b99979a7b6dc53555a3f5f85860c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/VoxHelper.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"24229c6a829b2992261f74c2c073c025408a83f5accd98be5247abcde17e506d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/VoxHelper.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5591cf3d4f758c2cf915cb5551a3cdc83a083850b5f6d71e8250da4b850498"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"warning","message":{"text":"No structured logging: No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page \u2014 but when a run fails on a user\u0027s machine, neither they nor you have anything to read."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s csharp pack, or a .NET security analyzer package (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060MarkovJunior.csproj\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"MarkovJunior.csproj"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6691a077e9251c85475a4e29e43ed04bd57460561d4f8ab230dc7201aa731fca"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: No packages.lock.json and no central package management \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0a97b4f69ccac509400ece7eedefb06d3ede0522cd4d8bcb5c068bea719545a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sx \u003C 0 || sy \u003C 0 || sz \u003C 0 || sx \u002B rule.IMX \u003E MX || sy \u002B rule.IMY \u003E MY || sz \u002B rule.IMZ \u003E MZ\u0060 appears character-identically in 2 files \u2014 source/Observation.cs, source/RuleNode.cs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/Observation.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"68551fa0b87c4c181ff2481befcb45ad12abc37f5e01592a1fa12eb23f17dbed"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060stream\u0060 is a \u0060BinaryReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 15). Every use of it in \u0060LoadVox\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var stream = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"source/VoxHelper.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bd076b93dfdaebb18a5071733f58168f3dc99286955478300d9f61dfe13458"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 0/1 NRT-eligible project(s) enable \u003CNullable\u003Eenable\u003C/Nullable\u003E (projects targeting a pre-C#-8 framework are excluded \u2014 NRTs aren\u0027t available there). NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}}],"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-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-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-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-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":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":0,"secretScannerRunsExcluded":0}}}]}