{"$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":"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":"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":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"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":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"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":"D5","level":"warning","message":{"text":"Off the main sequence: @vmprint/engine: @vmprint/engine: abstractness 0.07, instability 0.00, distance 0.93 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"26200b51caf269a7300f075fbb28dc85e7aefacfcaeeef1e0b0a17967c75e6e8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @vmprint/markdown-core: @vmprint/markdown-core: abstractness 0.11, instability 0.00, distance 0.89 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5b3836193aca3431d5ba63c091e78c6eb28fe26e56a9fd5972ea00a54cfd797"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @vmprint/local-fonts: @vmprint/local-fonts: abstractness 0.00, instability 0.17, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"758dc3ac83acae922f4adf1f63f9242d99a38990f86c63e3acd6de4bb08931a8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: @vmprint/context-pdf: @vmprint/context-pdf: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2caa12ec1c047bdb96ddba1280d29cfdf5308eb969a8c82d8e470774fa9fc4eb"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LayoutEngine (LCOM4 4): LayoutEngine\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":"engine/src/engine/layout-engine.ts"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab40d8abee02ccab6f61c89130a07418444894f255ccbe0cea23ac0f8867182"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the its own test command under node\u0027s V8 coverage suite in the repository root ran and not one test passed ([packaged-integration] FAIL: Error: Missing required build artifact: engine/dist/index.js), so the coverage report describes the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: jpeg-exif: jpeg-exif 1.1.4 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":2552}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f0757478916ab18d26e9cd660bf38675e5d70fbfd13173af2325cf091b4b1f"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/context-canvas: \u0060@vmprint/context-canvas\u0060 is declared as \u0060*\u0060 in contexts/dev-cli/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"203348c1cd15c66e449a29a02008bb2a73fa703e74d9892dd38a8e2df8e5fabe"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/context-canvas: \u0060@vmprint/context-canvas\u0060 is declared as \u0060*\u0060 in preview/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dce774b72f1394d2e5d1e4b853b36ef6d9c4342f881ef649159ca5230971d77a"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/context-pdf: \u0060@vmprint/context-pdf\u0060 is declared as \u0060*\u0060 in cli/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fa94b84bb56e979ce7a67c289cac905b63e4617ce71c7a8da8c5802bb5c63d94"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/context-pdf: \u0060@vmprint/context-pdf\u0060 is declared as \u0060*\u0060 in contexts/dev-cli/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c0e90f6cafd0615a6c9593a64283542d2b2d92810a337e6aec58e22835fe41a7"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/context-pdf: \u0060@vmprint/context-pdf\u0060 is declared as \u0060*\u0060 in pressrun/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e152bd8629a30b214223b3eece3dce9fa1a27c5c4c7a9239427854563db17ea2"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/context-pdf: \u0060@vmprint/context-pdf\u0060 is declared as \u0060*\u0060 in transmuters/dev-cli/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4c5f3082f4c2fce2d219436e4ad4e17051eb63f770589852108726066d097325"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/context-pdf-lite: \u0060@vmprint/context-pdf-lite\u0060 is declared as \u0060*\u0060 in contexts/dev-cli/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f356edf5d11d357f0912184fb12e7b948ddeb7e90691533f43f054c61f1736b7"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/context-pdf-lite: \u0060@vmprint/context-pdf-lite\u0060 is declared as \u0060*\u0060 in preview/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"88d5c57de46bf3fcd4522067dcb623ddf550de938ef076c00f327562f72cc350"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in contexts/canvas/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bdeed2957149d856daaa0273558f98e3191eedf974d295921b6923d8dd7dcd04"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in contexts/dev-cli/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ba05fad0cd8d30477277c0fe60c70d461f65df07e3beef271ed29e929169829e"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in contexts/pdf-lite/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e5466f82abeb61c11a6867d7aa8905ed9899bcc00761b9d53b0b9800cd72bfad"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in contexts/pdf/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8b1de4fc0c12ff2e753b335df1203d7bf386100f5cd416caee5e2630042d061b"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in font-managers/local/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b78301715149bb7cff1591cc54d2e97836ed8945db9d6a8269ba6f29c9dc958d"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in font-managers/standard/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8bc2c23f2db11ad2996c28641671aad1a3467528e450f857049cdbe3d0337609"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in font-managers/web/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"41d38372cf527cc7a4107dd19f38be085b384b53afb9fe22b5aa526e6f5b8707"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in transmuters/dev-cli/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1e4837f91347f40542ba3e19ba630a22e3a3cf0181ef5cd1945b4d143210ed45"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in transmuters/mkd-academic/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4a4d81c834ebd92a241177155c1b7e1c912fc31137d2cce6eef93f2646b45f49"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in transmuters/mkd-literature/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9aad67ef9d42cf561da2aa85330fe70d6abec5e24c5cfd430e197d17d260b3a8"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in transmuters/mkd-manuscript/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"285124adb4e09eb4528989f8030bf3f1adb425c3a821037bf6c2e1658aa8cd3a"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in transmuters/mkd-mkd/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bb8aa7b343bf86ed3317428513d30d98ab00a7040254cf500446a171c73b2a44"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in transmuters/mkd-screenplay/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b1e1f8bbb21d63f02abc8925dbd59051959750d3598db592625e71f49aa17d0d"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/contracts: \u0060@vmprint/contracts\u0060 is declared as \u0060*\u0060 in transmuters/mkd-zh-manuscript/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d6cbf77667038c3cded4c9bf431cf0bb983b8298124984785d16fc3979948fa1"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/engine: \u0060@vmprint/engine\u0060 is declared as \u0060*\u0060 in contexts/dev-cli/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a63794204ee33f899e6f5dee06729f69e70993e670a1a7adf0b57a4c4d1ead7b"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/engine: \u0060@vmprint/engine\u0060 is declared as \u0060*\u0060 in preview/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"18c939336327017e7e6b2bd2d9094ed2afe2b47f6a5a83a3857ba7e5d20af223"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/engine: \u0060@vmprint/engine\u0060 is declared as \u0060*\u0060 in transmuters/dev-cli/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"075dd14bc90d497585556e69a449861bb7587fc8b7c47ff56fe94e67b67c6360"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/local-fonts: \u0060@vmprint/local-fonts\u0060 is declared as \u0060*\u0060 in cli/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"5f6dc8d9d12508e6be128670440811febe0d3918be77adde71632352c0c0cd99"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/local-fonts: \u0060@vmprint/local-fonts\u0060 is declared as \u0060*\u0060 in contexts/dev-cli/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f453c6c17154c6ebde12d40a8049e60192c7da2d5211338f749119372146a029"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/local-fonts: \u0060@vmprint/local-fonts\u0060 is declared as \u0060*\u0060 in pressrun/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62cbf4b78adf9d19075c037402ae5a5787c9be30d0af819f5222923791496579"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/local-fonts: \u0060@vmprint/local-fonts\u0060 is declared as \u0060*\u0060 in preview/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"221f5c978fce059c48cbe47e158f23f17ae8d6ac686bc49ea9def88360dae799"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/local-fonts: \u0060@vmprint/local-fonts\u0060 is declared as \u0060*\u0060 in transmuters/dev-cli/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea68a169f5af21c69d90ccbc18ab70784f98df30bab93dd6c5628685af8b2988"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/markdown-core: \u0060@vmprint/markdown-core\u0060 is declared as \u0060*\u0060 in transmuters/mkd-academic/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8e6aa88ea42b0dfdd973126964ff20416a487fcd552cab54f4b90ef76a431dcb"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/markdown-core: \u0060@vmprint/markdown-core\u0060 is declared as \u0060*\u0060 in transmuters/mkd-literature/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3cdf7464d8580c31a7f6391783bb02545bca26db984853ca31b7031f6a7c48c2"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/markdown-core: \u0060@vmprint/markdown-core\u0060 is declared as \u0060*\u0060 in transmuters/mkd-manuscript/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8519a39a5485b3b2f62f8900032010b6fc772f68ca6c4d1adf0cef98a12d0faf"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/markdown-core: \u0060@vmprint/markdown-core\u0060 is declared as \u0060*\u0060 in transmuters/mkd-mkd/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"26ec6f49ff2e6561882e6ef32878e732e3629e8941fd759e64578cd28ed292fe"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/markdown-core: \u0060@vmprint/markdown-core\u0060 is declared as \u0060*\u0060 in transmuters/mkd-screenplay/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2bf6af232c6dfe6361bb096c635b621b3fb1a930d120b0b3a35c38ab73b30382"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/markdown-core: \u0060@vmprint/markdown-core\u0060 is declared as \u0060*\u0060 in transmuters/mkd-zh-manuscript/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62dcf060500e17f4bfc095db8c1c6e43c8251f12968271d30ace4f2047ab29fe"}},{"ruleId":"D12","level":"warning","message":{"text":"Floating npm dependency: @vmprint/web-fonts: \u0060@vmprint/web-fonts\u0060 is declared as \u0060*\u0060 in preview/package.json, which names no releasable version: any published version satisfies it. A production dependency that cannot be resolved to one immutable release makes the build non-reproducible \u2014 two installs a day apart can ship different code \u2014 and leaves nothing for a vulnerability scanner to match against."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d877fe6b9f87b262e4228afc7eb8757e8aa5363ed0a3d826a468efe2d388b051"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: \u0060markdown-core\u0060 is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060transmuters/markdown-core/README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9648d2b7819f84df346c922e1f9f38b49a04e903ed4dc1d118b4ab6b7a88503c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create the engine with the document and a font manager.\u0022 repeats the code it sits on: 5 of its 5 words (create, engine, document, font, manager) are already in \u0060const engine = new VMPrintEngine(document, new LocalFontManager());\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pressrun/src/index.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8d621099385dbef7027ef7b1a6dea5f295b54dfc3cc054412656ff29faef16"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060(repository root)\u0060 (67888 LoC, 34 module-visible types across 13 directories) overshoots its size bounds. 2 of 21 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 8.1/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2d5244dbb9040f0ef9a41721fc246c38399605a5b233c47266a2093207fec1"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060engine\u0060 (55742 LoC, 377 module-visible types across 19 directories) overshoots its size bounds. 2 of 21 build unit(s) (npm) overshoot their size bounds, lowering Project Cohesion to 8.1/10. Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/package.json"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8433631a52089f60930c5eeb1fe1010ec39077d47ec2de63004ea9f444325591"}},{"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":"643602ecbfe13f13a957e259c744ef15552d38c203e498b4d9a679f8aa47c4ab"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"611e3cbd58c3a7d78f632870c480e1a675bb075371b51ee197b9131ac7e08bc6"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec7739bba8dae7ea60d80ba6e119e565084af8f9c4e52d6b3287e07dcc5878dd"},"taxa":[{"id":"CWE-1333","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"56d7c0542bcbbd8d8c61f07327aa2080292f8d213e8f982f1a0933ffecde0a9c"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"5.0.7","relation":"transitive","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":"44bd2010a1faa043e7633f030f8b3b9a255f191a1e87f92642347e0a77ae4e6a"},"properties":{"dependency":{"package":"dompurify","version":"3.3.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"3.4.17","relation":"transitive","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":"66e45c79338e5e1175240ddc87a7925c38e72d7410d4eeac67a42d8a759d0ebc"},"properties":{"dependency":{"package":"picomatch","version":"4.0.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","relation":"transitive","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":"9ac7e4fc946bb3706acd0f81c1dcd621af46b7d1ade09f7cc6e4dcd9c55ab36b"},"properties":{"dependency":{"package":"sharp","version":"0.34.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"0.35.0","relation":"direct","declaredRange":"^0.34.5","reachability":{"kind":"production","file":"engine/tools/image-to-assembly.ts","line":24}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c98a45274708a8d77bc0379519bd153f209d8e140753a4013f877e2a841ab85f"},"properties":{"dependency":{"package":"fflate","version":"0.8.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"0.8.3","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"254e159535de5a467ea5671a4a81fbc3bf399623b11dcd1fc4071f2230ac5cd0"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"14.0.2","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b57bd94a9054ab1a78280337953ab23bcb5d2500ea7f4b4abe8dc82a1ef1d633"},"properties":{"dependency":{"package":"minimatch","version":"10.2.4","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"11.0.1","relation":"transitive","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3681e0b0dced2dca00be692922bda4012adb5a0234c1d22c53a13969ab5dd823"},"properties":{"dependency":{"package":"esbuild","version":"0.27.4","advisory":"[GHSA redacted]","severity":"low","fixedVersion":"0.28.1","relation":"direct","declaredRange":"^0.27.4","reachability":{"kind":"production","file":"preview/scripts/build.mjs","line":3}}}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: layout-session.ts \u2194 execute-simulation-march.ts: \u0060engine/src/engine/layout/layout-session.ts\u0060 and \u0060engine/src/engine/layout/packagers/execute-simulation-march.ts\u0060 change together 74% of the time (23 of the 31 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 23 shared commits counted here, the most recent 3 are \u0060e740718b\u0060 Restore chunk-world substrate and zone region identity; \u0060e6ca9881\u0060 Tightened two more boundary leaks: content-only redraw contexts in la\u2026; \u006054861722\u0060 Complete Stage 2 runtime ownership cleanup \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19acc206711c504b15d4933f28bf925c2726c160d4148e6428b2d1ad1a30fc06"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: execute-simulation-march.ts \u2194 simulation-report.ts: \u0060engine/src/engine/layout/packagers/execute-simulation-march.ts\u0060 and \u0060engine/src/engine/layout/simulation-report.ts\u0060 change together 67% of the time (8 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u006054861722\u0060 Complete Stage 2 runtime ownership cleanup; \u0060fd7c6280\u0060 feat(engine): restore reactive simulation proofs and progression support; \u0060a84e1aef\u0060 Flying saucer \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/execute-simulation-march.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd20779f3883daec5e47ef2eb3598e49d2d83ed2986020ad8db4c45c6cb834a6"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: hosted-region-settlement.ts \u2194 story-packager.ts: \u0060engine/src/engine/layout/packagers/hosted-region-settlement.ts\u0060 and \u0060engine/src/engine/layout/packagers/story-packager.ts\u0060 change together 64% of the time (9 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060ce96803b\u0060 Sync sealed contained clip layout from shared engine; \u00604e5748ea\u0060 Remove boundary-profile exclusion lane; \u00606de4082c\u0060 Formalize weighted exclusion assemblies \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"102ff29eacf783b4dfa1c22b02dfffac5c87e401dcd848be18522cec80c4f41e"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: document.ts \u2192 hosted-region-settlement.ts, world-plain-packager.ts, zone-packager.ts, spatial-field-reflow.ts: \u0060engine/src/engine/document.ts\u0060 changes together with 4 other files \u2014 \u0060engine/src/engine/layout/packagers/hosted-region-settlement.ts\u0060, \u0060engine/src/engine/layout/packagers/world-plain-packager.ts\u0060, \u0060engine/src/engine/layout/packagers/zone-packager.ts\u0060, \u0060engine/src/engine/layout/spatial-field-reflow.ts\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fc87776f94bb96825c5a8b94618175b528aa210fbf20174b9ca144f9f96598"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: world-plain-packager.ts \u2194 zone-packager.ts: \u0060engine/src/engine/layout/packagers/world-plain-packager.ts\u0060 and \u0060engine/src/engine/layout/packagers/zone-packager.ts\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00601c869a73\u0060 worldPlain no longer rides through ZonePackager as its inner host shell.; \u0060a61addae\u0060 ZonePackager now routes its remaining region materialization loops th\u2026; \u006043470eac\u0060 Hosted live setContent(...) is working now \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/world-plain-packager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c82f9f055e977f1b88e9fa3eada5e4768882705782050b7866c858ad2caa5af"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: dropcap-packager.ts \u2194 story-packager.ts: \u0060engine/src/engine/layout/packagers/dropcap-packager.ts\u0060 and \u0060engine/src/engine/layout/packagers/story-packager.ts\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006089d2db68\u0060 Last obvious packager-side fake pageIndex: 0 provenance write is gone; \u0060dd1d1138\u0060 second phase of overhaul; \u0060571fa016\u0060 Half way there \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/dropcap-packager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"035a3e1b644bf581c7bb63a0a4861e095703e513b6ba4ab649f83c48d1aebb84"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/index.html"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37667fb9635414238dee89fc5c138d2dc442b09919f647a33d3a55630c257d8"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/src/index.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"36908dcee963fc31cde70de1690464b6dbb250e15dd0b66835c4845f2f32f2c6"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/index.html"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6de8ec004fe6815e09cf3a8ae3785aeb7a14c646b3d3f50116d12d28dfb51d7"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Clabel\u003E that labels no control: This \u003Clabel\u003E has no for and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association \u2014 it is the TARGET of one, so a control still has to point at it. Give the label for=\u0022\u003Cthe control\u0027s id\u003E\u0022, move the control inside the label, or point the control\u0027s aria-labelledby at this label\u0027s id."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/index.html"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b844d0374bee1949ef0e544f7dcbed91922d3cf8a37f627254aff21b373572"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Ctextarea\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel for\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/index.html"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ff434accede2a265a948f844004c4b033f83c2bedcd03dca642cc611c5bbff"}},{"ruleId":"AC4","level":"error","message":{"text":"Clickable element isn\u0027t keyboard-operable: The repo\u0027s own CSS styles .brand with \u0060cursor: pointer\u0060, so this \u003Cdiv\u003E is a control \u2014 but it has no role, no tabindex=\u00220\u0022 and no key handler, so it can only be reached with a mouse. Use a \u003Cbutton\u003E, or add role \u002B tabindex=\u00220\u0022 \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/index.html"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f942e4dace71e243e06231b96791d022b62724d275a8f634adb68ebb81de84"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.btn-primary\u0060 sets color: white on background-color: #10b981 \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/styles.css"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06a3faf6564a526cfc33bc5d9afbfe0e5cfefcf35d37f0c727f572c5f6c216b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.7:1): \u0060#preview-footer\u0060 sets color: #6b7280 on background-color: #111827 \u2014 3.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/styles.css"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b5064969393ba8b4b60882b36b8cb6f6b430ef073ebb26289abd8edfe4014c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (2.5:1): \u0060.btn-primary\u0060 sets color: white on background-color: #10b981 \u2014 2.5:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/examples/preview/styles.css"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8696b7a9bc945dbeba3dae2a1b0b55b284afde98f15d8f09eb8155cb23f671a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (3.7:1): \u0060#preview-footer\u0060 sets color: #6b7280 on background-color: #111827 \u2014 3.7:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/examples/preview/styles.css"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a666af9984de3853c458137229605a86603aba7a084b5d404dcb5fcca2531acc"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060#markdown-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/styles.css"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"003fa0d5dff573b72bb720bac57df585b60c0f766f17a981557c5631eef865e8"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060#markdown-input\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/examples/preview/styles.css"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9da588a2a34547307b1f8b28e475451443477458d0881d7ed877e3fa3b3b6d3"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.scale-picker select:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/examples/ast-to-canvas-webfonts/styles.css"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef3ac2a54385aee6ff7c43d39815d379f77df597b997cf2d152256e6be99a9c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#font-progress-bar\u0060 moves (\u0060transition: width 0.3s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/styles.css"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fb513eec6391557886148d71d29a92767bb90983a3ad2a6e245fc78f471665"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#ast-drawer\u0060 moves (\u0060transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/styles.css"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e04074a99a074ad550f1fe9ffef371160aee9eea61177cfaf88d8526940da6d"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.loader\u0060 moves (\u0060animation: spin 0.8s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/styles.css"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80b92bd0b69722112f98f084543714c0d9d93eb2690bd260a3bd268043a621b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#font-progress-bar\u0060 moves (\u0060transition: width 0.3s\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/examples/preview/styles.css"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ebf03b33bfd20a39e74bbe908c233e05763c7b65b9cabc0683ed353d946a0f"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060#ast-drawer\u0060 moves (\u0060transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/examples/preview/styles.css"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60a3aa1cc0740f3c610415a53ba4aa5bcc8b520b915c07157e1f0f4e45689eb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.loader\u0060 moves (\u0060animation: spin 0.8s linear infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/examples/preview/styles.css"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fd139576c8225cd125e12074cacc9dfb557e121b4398c44523dbdf0b382348"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.button-link\u0060 moves (\u0060transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/assets/docs.css"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a7e6ac0692509021291d7addb878bf4463f99d1ff68e523449d1eecfb5f934"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Context (30 required operations): \u0060Context\u0060 declares 30 required operations: \u0060addPage\u0060, \u0060end\u0060, \u0060pipe\u0060, \u0060registerFont\u0060, \u0060font\u0060, \u0060fontSize\u0060, \u0060save\u0060, \u0060restore\u0060, \u0060translate\u0060, \u0060rotate\u0060, \u0060opacity\u0060, \u0060fillColor\u0060, \u0060strokeColor\u0060, \u0060lineWidth\u0060, \u0060dash\u0060, \u0060undash\u0060, \u0060moveTo\u0060, \u0060lineTo\u0060, \u0060bezierCurveTo\u0060, \u0060circle\u0060, \u0060rect\u0060, \u0060roundedRect\u0060, \u0060clip\u0060, \u0060fill\u0060, \u0060stroke\u0060, \u0060fillAndStroke\u0060, \u0060text\u0060, \u0060showShapedGlyphs\u0060, \u0060image\u0060, \u0060getSize\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contracts/src/context.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd3567297dde34a6b3e5667c783a032158887582b80c371606ab536997ea8b4"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: OverlayContext (21 required operations): \u0060OverlayContext\u0060 declares 21 required operations: \u0060font\u0060, \u0060fontSize\u0060, \u0060translate\u0060, \u0060rotate\u0060, \u0060opacity\u0060, \u0060fillColor\u0060, \u0060strokeColor\u0060, \u0060lineWidth\u0060, \u0060dash\u0060, \u0060undash\u0060, \u0060moveTo\u0060, \u0060lineTo\u0060, \u0060bezierCurveTo\u0060, \u0060rect\u0060, \u0060roundedRect\u0060, \u0060fill\u0060, \u0060stroke\u0060, \u0060fillAndStroke\u0060, \u0060text\u0060, \u0060save\u0060, \u0060restore\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contracts/src/overlay.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ba404d94794ccffa0a6c6489cff6cd704da8db948ff67c7b01b79f2ab01b68"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Context (30 required operations): \u0060Context\u0060 declares 30 required operations: \u0060addPage\u0060, \u0060end\u0060, \u0060pipe\u0060, \u0060registerFont\u0060, \u0060font\u0060, \u0060fontSize\u0060, \u0060save\u0060, \u0060restore\u0060, \u0060translate\u0060, \u0060rotate\u0060, \u0060opacity\u0060, \u0060fillColor\u0060, \u0060strokeColor\u0060, \u0060lineWidth\u0060, \u0060dash\u0060, \u0060undash\u0060, \u0060moveTo\u0060, \u0060lineTo\u0060, \u0060bezierCurveTo\u0060, \u0060circle\u0060, \u0060rect\u0060, \u0060roundedRect\u0060, \u0060clip\u0060, \u0060fill\u0060, \u0060stroke\u0060, \u0060fillAndStroke\u0060, \u0060text\u0060, \u0060showShapedGlyphs\u0060, \u0060image\u0060, \u0060getSize\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/contracts/context.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a55eb376c0f14c6d038cd06829b4b9944b7558048829e5a39a06bd74a1cfce"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: OverlayContext (21 required operations): \u0060OverlayContext\u0060 declares 21 required operations: \u0060font\u0060, \u0060fontSize\u0060, \u0060translate\u0060, \u0060rotate\u0060, \u0060opacity\u0060, \u0060fillColor\u0060, \u0060strokeColor\u0060, \u0060lineWidth\u0060, \u0060dash\u0060, \u0060undash\u0060, \u0060moveTo\u0060, \u0060lineTo\u0060, \u0060bezierCurveTo\u0060, \u0060rect\u0060, \u0060roundedRect\u0060, \u0060fill\u0060, \u0060stroke\u0060, \u0060fillAndStroke\u0060, \u0060text\u0060, \u0060save\u0060, \u0060restore\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/contracts/overlay.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f96360da20b27a365772cf8c1204e098fab8f3ac587db5b12e27ee271500e5"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: CollaboratorHost (39 required operations): \u0060CollaboratorHost\u0060 declares 39 required operations: \u0060recordProfile\u0060, \u0060recordKeepWithNextPrepare\u0060, \u0060publishActorSignal\u0060, \u0060getActorSignalSequence\u0060, \u0060publishArtifact\u0060, \u0060getPaginationLoopState\u0060, \u0060getKeepWithNextPlan\u0060, \u0060setKeepWithNextPlan\u0060, \u0060getSplitMarkerReserve\u0060, \u0060reserveCurrentPageSpace\u0060, \u0060reservePageSpace\u0060, \u0060excludePageSpace\u0060, \u0060ensureContinuationArtifacts\u0060, \u0060stageMarkersAfterSplit\u0060, \u0060stageActorsBeforeContinuation\u0060, \u0060getFinalizedPages\u0060, \u0060getPageFinalizationStates\u0060, \u0060getPageFinalizationState\u0060, \u0060getPageCaptures\u0060, \u0060getSimulationTick\u0060, \u0060getRegisteredActors\u0060, \u0060getPageReservations\u0060, \u0060getReservationPageIndices\u0060, \u0060getPageExclusions\u0060, \u0060getExclusionPageIndices\u0060, \u0060getSpatialConstraintPageIndices\u0060, \u0060getPageRegionSummaries\u0060, \u0060getFragmentTransitionSourceIds\u0060, \u0060getFragmentTransitionsBySource\u0060, \u0060getScriptRegions\u0060, \u0060findScriptRegionByName\u0060, \u0060getActorSignals\u0060, \u0060allocateLogicalPageNumber\u0060, \u0060resetLogicalPageNumbering\u0060, \u0060notifyActorSpawn\u0060, \u0060recordPageCapture\u0060, \u0060recordPageFinalization\u0060, \u0060resolveChunkOriginWorldY\u0060, \u0060createPageCaptureState\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/session/session-runtime-types.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61426fd878a426e982340cee15e075fe2a326bef68aee2fbd4c2394b6609e4d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SimulationRunner (18 required operations): \u0060SimulationRunner\u0060 declares 18 required operations: \u0060getCurrentTick\u0060, \u0060getCurrentPageIndex\u0060, \u0060getCurrentPageCount\u0060, \u0060getProgression\u0060, \u0060getCurrentUpdateSummary\u0060, \u0060getCurrentDiagnosticSnapshot\u0060, \u0060getCurrentPageCaptures\u0060, \u0060getSimulationStopReason\u0060, \u0060isFinished\u0060, \u0060getCurrentPages\u0060, \u0060runToCompletion\u0060, \u0060restoreSafeCheckpoint\u0060, \u0060advanceTick\u0060, \u0060continueUntil\u0060, \u0060continueUntilPage\u0060, \u0060continueUntilY\u0060, \u0060sendExternalMessage\u0060, \u0060hasExternalMessageAck\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/types.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b19afb76d26d0ec705e7b515c497c09239d54aa2004e58f6fc2281cf0c982c8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return 0x20;\u0060 also returns \u00600x20\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-encoding.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"809493a3715ef22983e010257229022d2ea4342ff832e3e16054375e6a31211b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return outcome;\u0060 also returns \u0060outcome\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/ai-runtime.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4db1d0c1965ecad4e2b050a86f067e8f9b019b4a39a28995f6794a5f22b3afd"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/runtime/march-runner.ts"},"region":{"startLine":1165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f511650495a788fa3821e55f88369c8263402aaa85213364a5742c831b55113"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return 0x20;\u0060 also returns \u00600x20\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/standard-font-encoding.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5f5f2c53e3ed57139c50f42778d27686f01e8e0f785cb2fde38be2aa3266af"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README.md links to \u0060guides/\u0060, but \u0060guides\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da6c9384b4b324639852bf85286f4de93c5e233e1c4223bc23d8ca5fb337518"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: README.md links to \u0060references/\u0060, but \u0060references\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a771d430c4dbccdd759b3dfed5475b06165e019c2526d1888b33b670d4ad656d"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: docs/README.md links to \u0060./api/\u0060, but \u0060docs/api\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/README.md"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"267cda189601ed79f891e7b3e50dcb566bf793e8892bfbfeef006f5e26f7430b"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: transmuters/markdown-core/README.md links to \u0060../draft2final/\u0060, but \u0060transmuters/draft2final\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/README.md"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2096855ba317221e420287b4fd2a95683a95b5d75d1bd7225f0202f407aa7367"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: transmuters/markdown-core/README.md links to \u0060../transmuters/mkd-mkd/\u0060, but \u0060transmuters/transmuters/mkd-mkd\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/README.md"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c9b383490b5de1508f7ffd799f61af42dac200523f10b5f333ee80096b9c4e"}},{"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 javascript-typescript pack, \u0060semgrep --config=p/typescript\u0060, or eslint-plugin-security \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: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.js"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67419d0783b4e772e20175b5bdce6a04723b40529aa59224c48c85b5941b7a0"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.ts"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1b20f79d8152296b532ba3ad1fd6c0b73ed012fabe5b2aa7dae549fa409596"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fsMod.existsSync\u0060 in \u0060resolveLocalPath\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/LocalFontManager.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06ce52f44f7f670a71c105a019b66981398202ee11e7f307be57e651831f87a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fsMod.existsSync\u0060 in \u0060resolveLocalPath\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/LocalFontManager.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c457d3cfdfdb32eb121c7999e1ee5ab5741817bf796a88e7ee2993b74bb22a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fsMod.existsSync\u0060 in \u0060resolveLocalPath\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/LocalFontManager.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2aa162b12fa543d5203ddc540046fba8e8da0cbe1bd55194f292c983ff16ff"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060loadFontBuffer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/LocalFontManager.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ba610c12c96e80237bc91430539673f2546ece88903fc8cbf9d3b5d6b9cf80"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060loadFontBuffer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/LocalFontManager.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f683a5266d6c0bf8b9c227c37f1d450bd6fbcacee2bf98aeb06d266214620c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060loadFontBuffer\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/LocalFontManager.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cd85455c96db0844d8c622afab73e3989dd036bf450f742adf200e0294dfb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 9 sibling directories (25 clone groups): 25 duplicated blocks under the repository root have copies in at least two of the sibling directories cli, contexts, contracts, engine, font-managers, pressrun (\u002B3 more sibling(s) not listed) \u2014 16 of them are reported below, and 9 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 25 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 25 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 25 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7db02d084e9dea9cd00def62ac465baa53d671ae6f51b987951a9971342628e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (10 clone groups): 10 duplicated blocks under engine/src/engine/layout/ have copies in at least two of the sibling directories collaborators, packagers, runtime \u2014 9 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 10 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 10 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 10 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/heading-telemetry-collaborator.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f5384c9ab49250743c82656bb963a29c76e9f29367bc595e33dfb9520772d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (7 clone groups): 7 duplicated blocks under transmuters/ have copies in at least two of the sibling directories markdown-core, mkd-academic, mkd-literature, mkd-manuscript, mkd-mkd, mkd-screenplay (\u002B1 more sibling(s) not listed) \u2014 6 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b953e2c94dbcab65d51dc241a126b8d227225db9d45ad6a8c88f697454bc40f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (6 clone groups): 6 of the duplicated blocks reported below have copies in at least two of the sibling directories geometry, layout, render, runtime under engine/src/engine/. That concentration is one structural fact, not 6 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 6 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/session-world-runtime.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2e4e81329b07bb187fc66d6ef855a98cb6da8c36b4e016c93d7636e961c038"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (418 identical lines \u00D7 2 files): transmuters/mkd-manuscript/src/format.ts:1 \u00B7 transmuters/mkd-zh-manuscript/src/format.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 418 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e04458f8a883ac2e100dfb118d08c1be95c345448fa7cf7469dae489302a04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (384 matched lines \u00D7 2 locations): preview/playground/app.js:1015 \u00B7 preview/playground/app.ts:1045 \u2014 the two spans are one implementation copied and then locally edited \u2014 3074 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.js"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d90ac32e8d5f0593f136a52eba203321aa0489e168252e65b86e406b128b09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (321 matched lines \u00D7 2 locations): contexts/pdf/src/standard-font-data.ts:1 \u00B7 engine/src/font-management/afm-tables.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 1291 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2312177a04f7ec9ae2c95ebc207f6dad6b1a9225271eb0e194c0f92d3c05145"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (223 matched lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:68 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 1725 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f14fa6cc02d6ea98e7269fa39f75a3e68f589811807cd4b576786c5a50fe621"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (198 matched lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:539 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:409 \u2014 the two spans are one implementation copied and then locally edited \u2014 1444 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac0510348305feb4bf4e146f9dc8f48f932f557e196ceebe9fe11d2d9f600ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (170 identical lines \u00D7 2 files): contexts/pdf/src/standard-font-encoding.ts:4 \u00B7 engine/src/font-management/standard-font-encoding.ts:6 \u2014 these 2 files are line-for-line copies of one another \u2014 170 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-encoding.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f7e74a3c08f589d6076e69c376924df60eb537b2a0d6c75c37706268f18161"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (108 matched lines \u00D7 2 locations): contexts/dev-cli/src/index.ts:25 \u00B7 transmuters/dev-cli/src/index.ts:38 \u2014 the two spans are one implementation copied and then locally edited \u2014 702 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/dev-cli/src/index.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b64ad50cb18906a836055245906ec74b98dce631b970ba7e314d50df6067d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (82 matched lines \u00D7 2 locations): transmuters/mkd-manuscript/src/validator.ts:3 \u00B7 transmuters/mkd-zh-manuscript/src/validator.ts:3 \u2014 the two spans are one implementation copied and then locally edited \u2014 791 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/validator.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31316ac211a542ee513c598a2058f23c79496f5779a23f1858a503bd26414fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (79 identical lines \u00D7 2 files): contracts/src/context.ts:7 \u00B7 engine/src/contracts/context.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 79 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contracts/src/context.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea94e035371c463f9fff6272a92412a71d3a022636a3988067a6906a764021d"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (77 identical lines \u00D7 2 files): engine/src/font-management/sentinel.ts:1 \u00B7 font-managers/standard/src/sentinel.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 77 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/sentinel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f1359937783d39146a346cf97cfb54a54a0644518289137e08f5d02635f706"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): contexts/pdf-lite/src/index.ts:427 \u00B7 contexts/pdf/src/index.ts:70 \u2014 the two spans are one implementation copied and then locally edited \u2014 346 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf-lite/src/index.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd22cafa6c63a6cf12d4002cf08e07244844760639cd8ed06956fb50b03f2ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:2333 \u00B7 engine/src/engine/layout-engine.ts:2546 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2333}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b6efa6974fa86778a96b9fc9ead237beb792338676fd56bd24cd52db94d4cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:864 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:2385 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8c57c4360e0182f136547b2c652ebe5b95be5e0f29fa98c774f363dda55b6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Wholesale file copy (50 identical lines \u00D7 2 files): contracts/src/overlay.ts:1 \u00B7 engine/src/contracts/overlay.ts:1 \u2014 these 2 files are line-for-line copies of one another \u2014 50 lines are identical, in the same order, in every one of them \u2014 so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) \u2014 the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contracts/src/overlay.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab39558c3c9fe3539684122c721646b026e7b524eb19656a0c8bc72fd342941"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): transmuters/mkd-manuscript/src/index.ts:280 \u00B7 transmuters/mkd-zh-manuscript/src/index.ts:182 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/index.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"28919e45194f867a587220b0b1c4a8cfe45e0baa4894c3e0c93b76891f2c01c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): engine/src/engine/layout/transitions-runtime.ts:304 \u00B7 engine/src/engine/layout/transitions-runtime.ts:539 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/transitions-runtime.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5f4bbb4b5cc39080838442c974691aad40c792f1c8ac947caa428abbf6b033"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): engine/src/engine/runtime/simulation/runtime/march-runner.ts:1030 \u00B7 engine/src/engine/runtime/simulation/runtime/march-runner.ts:1073 \u2014 the two spans are one implementation copied and then locally edited \u2014 242 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/runtime/march-runner.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82d169417ed7ddd7409cf52d5f38131d8b48a6ec3f3960acf76a90e6339a657"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): contracts/src/text-delegate.ts:11 \u00B7 engine/src/contracts/text-delegate.ts:13 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contracts/src/text-delegate.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54708d6537aa302d045987ebc2decec5feb01b169e80dc362822852351a8df4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:339 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:451 \u2014 the two spans are one implementation copied and then locally edited \u2014 428 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb867fabe2c7ee7f10d5924f342fc20777e154a846d83ad00b694a27d34faf53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): engine/src/engine/layout/collaborators/heading-telemetry-collaborator.ts:17 \u00B7 engine/src/engine/layout/runtime/signals/heading-signal-publisher.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 288 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/heading-telemetry-collaborator.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"40280a705c76a7a35aa5ab37782bb1b4e1604a85583a4da0546e565e67c8b46c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): engine/src/engine/layout/text-wrap-core.ts:546 \u00B7 engine/src/engine/layout/text-wrap-core.ts:624 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-wrap-core.ts"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dda0ba83cb0d2b30e4282cfde4d0005a3d0885f1fbd629ac799774b9fd2842"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): font-managers/local/src/LocalFontManager.ts:45 \u00B7 font-managers/web/src/WebFontManager.ts:112 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/LocalFontManager.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d89ce6863388927bde81b5ede89cc5b1108579034d95aeddc566cc5105f104"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:1813 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1865 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"90210987a82de298ecb0fe1662c4900e0cd9bdb4f1a23916ce1b7ba3014d7c7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3 locations): engine/src/engine/layout/physics-runtime.ts:444 \u00B7 engine/src/engine/layout/transitions-runtime.ts:488 \u00B7 engine/src/engine/layout/transitions-runtime.ts:642 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/physics-runtime.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"7538373c6859adac5305f0759a9bfca6278d778a4e8399e6afb1679fa787378c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-packager.ts:156 \u00B7 engine/src/engine/layout/packagers/hosted-region-packager.ts:622 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f55bdba40df99f97d3c0ec567cd20f60f18d9937df6a34da15b90112e6dba17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-packager.ts:652 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:436 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78c6f649d129b8dd8792805f8ae59bc629f59431d8fab15872100f2de1b1cf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): engine/src/engine/layout/packagers/story-packager.ts:485 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:523 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b7c0281a18460358fc53320d110f0d9727ecce5ec88d8a209e9e775955711f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): contracts/src/font-manager.ts:1 \u00B7 engine/src/contracts/font-manager.ts:1 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contracts/src/font-manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5812addd67d2d85eadcf7691559e64b15c8ff8721fa4bd571f8e3dfae71e360"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:2228 \u00B7 engine/src/engine/layout-engine.ts:2429 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2228}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4315b5567935448d571910f7765ec53f181b8a88d395d64d55c7e2553d0ef9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3 locations): engine/src/engine/layout-engine.ts:1547 \u00B7 engine/src/engine/layout-engine.ts:2260 \u00B7 engine/src/engine/layout-engine.ts:2465 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1547}}}],"partialFingerprints":{"codehealthFindingId/v1":"9294b418d137e793a3b8d4c4a16037a7203c752c094d58bf90ad892dde6cb371"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-settlement.ts:903 \u00B7 engine/src/engine/layout/packagers/hosted-region-settlement.ts:1142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f535a97d9baca91c3794b33ebc77ea1226cd0fde7f86c9e3cb261b3e1d0d78a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:1010 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1602 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"5998bededcffc1ff21c37a7c99ba7ef447a12da8969b3705ee9643e7cb3636b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): engine/src/engine/layout/runtime-formatting.ts:402 \u00B7 engine/src/engine/layout/runtime-formatting.ts:451 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime-formatting.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcefa6e13046a30f254e6e401e2d2476e50a70d7696805e66bb9d3dc016b88b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): engine/src/engine/layout/session-world-runtime.ts:159 \u00B7 engine/src/engine/runtime/simulation/runtime/march-runner.ts:185 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/session-world-runtime.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e7edbdbbb49a9bb909243a639fc03ba7bb056b19bbe426bdc51c51ceb98a2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): engine/src/engine/layout/collision-runtime.ts:107 \u00B7 engine/src/engine/layout/placement-session-runtime.ts:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collision-runtime.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"23082870f11fe4c187a85a70f8c3775ecd10f5586c248f5af40dbaa231fc80ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): engine/src/engine/layout/packagers/contained-flow-packager.ts:93 \u00B7 engine/src/engine/layout/packagers/flow-box-packager.ts:186 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d38bca849cdfb28fc752bcc7c3bf0553435c4aad7d32b295576c7ef3fa2bd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:508 \u00B7 engine/src/engine/layout/packagers/script-document-packager.ts: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":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"beafb516bfee13fce1544e34881596dbe98f3171e2a3c238d10079e99ecd9c2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:901 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:580 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec9924dd8a7134d62acfd9c902b9a36c3d29504fe1784688e79d3e0e9706aba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:468 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:526 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b8233cd8565dc4528e9aaf866cc2f2e314c3bdd9defb9b69a9a2d6dae6bbda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): engine/src/engine/layout/collider-field.ts:85 \u00B7 engine/src/engine/layout/collider-field.ts:159 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collider-field.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b437acb8837913a0e1a54e97eced01359cedc40a2f398f772e11b3bccf1de9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): engine/src/engine/layout/packagers/contained-flow-packager.ts:25 \u00B7 engine/src/engine/layout/packagers/flow-box-packager.ts:26 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24e230c6da90f2e1521d83d06cf31d1bf58bb913f0d9f381f2fd3501376bbbe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-packager.ts:50 \u00B7 engine/src/engine/layout/packagers/hosted-region-settlement.ts:325 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"217c403a075286c1797f08a08a951a87d440acc82517ccad811b9848c3ee7eab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:677 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:698 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f7f734c9a383fc6168107a657e2be799d35c70f8ccc3b0b42d595c506338e1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): preview/src/index.ts:241 \u00B7 preview/src/index.ts:985 \u2014 the two spans are one implementation copied and then locally edited \u2014 140 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/src/index.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c21e1e221046190ea3e181dd35352acadf45b3b937d130a0ece5b84249ee194"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): engine/src/engine/interaction-model.ts:643 \u00B7 preview/src/index.ts:527 \u2014 the two spans are one implementation copied and then locally edited \u2014 173 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ff24547e78e5683625c67cd08698c0a177e80a0f42310291c0ef0adcce374f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:2527 \u00B7 engine/src/engine/layout-engine.ts:2590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2527}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3c7b8d7dc6db47ba5e06406dba38d422eab29921423eaa236bf345dbaf2b91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): engine/src/engine/layout/packagers/contained-flow-packager.ts:146 \u00B7 engine/src/engine/layout/packagers/dropcap-packager.ts:323 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08e1003ab86a51bc416f7985d396b61fd91e6bebac086b12efd7ec7a8882731"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): engine/src/engine/layout/packagers/field-actor-packager.ts:139 \u00B7 engine/src/engine/layout/packagers/spatial-capability-packager.ts:130 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/field-actor-packager.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87eee3e3cb1a60453c61014679761c331e2d97f93291599f8349788c99726f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-packager.ts:231 \u00B7 engine/src/engine/layout/packagers/zone-packager.ts:116 \u2014 the two spans are one implementation copied and then locally edited \u2014 126 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"21917bc994ccef7442bae8018053d02a9adae2d2410a318d3334c43adebb3389"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-settlement.ts:864 \u00B7 engine/src/engine/layout/packagers/hosted-region-settlement.ts:980 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e6e13f0652ba05cc94362886fcf65fe30e2a9fa9d54b4cbe9a009ef8b4ef3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:429 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:486 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"a739eef6dd941f3f258b5345200865698c10b72b86635d41a8a5513ab5523578"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): engine/src/engine/layout/physics-runtime.ts:206 \u00B7 engine/src/engine/layout/physics-runtime.ts:248 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/physics-runtime.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a67e51ddd2ccad9d6adeaa6163ed679bc6619f15903edafd1733ade4ffb55a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): cli/src/index.ts:18 \u00B7 pressrun/src/index.ts:41 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/index.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fab3e963d427fd8fc497df058c5adee1a6b8e5605496caa23d8605aa0c4f77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:1643 \u00B7 engine/src/engine/layout-engine.ts:1663 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1643}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ebad2be5759591a8edea2f1968286312dfe41f0b94609bd6b654df15cd90a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): engine/src/engine/layout/packagers/dropcap-packager.ts:682 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:397 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/dropcap-packager.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"54112427ff6296685520ca3fcc896ad6d1eb3e772f159084e7e12e23a8047be7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): engine/src/engine/layout/packagers/flow-box-packager.ts:63 \u00B7 engine/src/engine/layout/packagers/spatial-grid-packager.ts:82 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/flow-box-packager.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9570fb4d239caa0ed4f8a0a39d0e439e5e86208041f8700d71e0e2fe4fd89b40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:1275 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:397 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e88b9bb3b1244836d2bd047c4d374bc7cbbf4532bebd7c2153461f57e366b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:1527 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1743 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1527}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5858719c4f7399b73bc0a93852c79db731042a8510fd6eeadedcff44a81dd72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4 locations): engine/src/engine/layout-engine.ts:2314 \u00B7 engine/src/engine/layout-engine.ts:2375 \u00B7 engine/src/engine/layout-engine.ts:2526 \u00B7 engine/src/engine/layout-engine.ts:2589 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2314}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6069341aa9a7fe219c4dc2d907bc63e039b4cdf045f81f54fa26283b5bb5ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:2620 \u00B7 engine/src/engine/layout-engine.ts:2639 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2620}}}],"partialFingerprints":{"codehealthFindingId/v1":"1840501573fe8961b1be9d7600e48a2337e5ccca0274538fa6a387a27e115793"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): engine/src/engine/layout/collider-field.ts:125 \u00B7 engine/src/engine/layout/collider-field.ts:205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collider-field.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6c9e212dddea22162281fa7b9d21d5455ff5a470ae3e4b043de321471223d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): engine/src/engine/layout/fragment-session-runtime.ts:370 \u00B7 engine/src/engine/layout/fragment-session-runtime.ts:389 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/fragment-session-runtime.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"391f24bafa1a4fe4df9ec1adffaa2cade87aefdaaa167feb560801659c7f98c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): engine/src/engine/layout/layout-session.ts:1440 \u00B7 engine/src/engine/layout/runtime/session/session-collaboration-runtime.ts:200 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba5c358f6028bc2324f33ba9b89a56978c2589c2c40fec939e494f7f2d3e2e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:373 \u00B7 engine/src/engine/layout/packagers/script-document-packager.ts:393 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f592b93a630a0d15424543fc75ee68a5adfa67b3928cb174cf4d1989c58d7aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): engine/src/engine/layout/packagers/story-packager.ts:779 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:887 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a5f4e3e0210213c143cad00c9a768d464b8ee68f21e1f28318d69c481a688d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): engine/src/engine/layout/collision-runtime.ts:202 \u00B7 engine/src/engine/layout/physics-runtime.ts:449 \u00B7 engine/src/engine/layout/transitions-runtime.ts:492 \u00B7 engine/src/engine/layout/transitions-runtime.ts:646 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collision-runtime.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6715dce564b9a1a5ea5b65614e6ff778b88afd6e507c8007b44a002859bc22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): engine/src/engine/layout/packagers/flow-box-packager.ts:409 \u00B7 engine/src/engine/layout/packagers/spatial-grid-packager.ts:317 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/flow-box-packager.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55c75eeda316c724830c58209672c5f0e84a1a6a7311972dcb67192d34fb312"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:674 \u00B7 engine/src/engine/layout/packagers/script-document-packager.ts:691 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc3da88e912f104dee40f122fbe738f59855a39d60a4377064ad1cc3825035e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): engine/src/engine/document.ts:562 \u00B7 engine/src/engine/document.ts:743 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"182b9f0075679035656216768b95e5a30eb121f7002dd1aaccfb8d2e46dbbfd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:1385 \u00B7 engine/src/engine/layout-engine.ts:1697 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1385}}}],"partialFingerprints":{"codehealthFindingId/v1":"177c39af04da7717f79ae8a4b88d03046207a9dba25e7f54dc0e29694a5df6cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:2298 \u00B7 engine/src/engine/layout-engine.ts:2502 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4417e2588e610b9485f0d1dc520aa438da667163c9d0bc24023fe9c227ff57b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): engine/src/engine/layout/collision-runtime.ts:53 \u00B7 engine/src/engine/layout/physics-runtime.ts:53 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collision-runtime.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b384ae79fc50b451ac918cf8176fb8d068d28f9ba4724884bf58f673c2975984"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): engine/src/engine/layout/layout-core.ts:280 \u00B7 engine/src/engine/layout/layout-core.ts:316 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"90beb3dd27ed96c8819a7bd7b46d5889873e847ca5f4247c3678874a78ebab13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): engine/src/engine/layout/packagers/contained-flow-packager.ts:197 \u00B7 engine/src/engine/layout/packagers/flow-box-packager.ts:395 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f9997862da0b2ed40d3e995078e3bf05f242f5985b784ea5b096829a22ca6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/geometry/svg-path.ts:95 \u00B7 engine/src/engine/geometry/svg-path.ts:110 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/geometry/svg-path.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdb31f51c85af4ddd808e7c7a07c5526fd33f53fe6a902bc23d01b739c45b73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:2252 \u00B7 engine/src/engine/layout-engine.ts:2457 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbde72f6165bfeb043f15e9a5395e03122579ccb17065781d31b2dc3727230f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/layout/layout-session.ts:1376 \u00B7 engine/src/engine/layout/runtime/session/session-collaboration-runtime.ts:136 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"62418e418e9a04b1cf5ef18dbae4ba60fa04cfc4dd31861e337e57697dc4337c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/layout/layout-table.ts:745 \u00B7 engine/src/engine/layout/layout-table.ts:766 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd8d0ad1d5f53261104cfe2ec4dee75de68c0c57f149254d288cbea7277ecd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/layout/packagers/dropcap-packager.ts:97 \u00B7 engine/src/engine/layout/packagers/hosted-region-packager.ts:136 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/dropcap-packager.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"3096888ed8525eea9b6b372026e68eb11b4e4340a56a5c4770a08b0991307ec1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-settlement.ts:885 \u00B7 engine/src/engine/layout/packagers/hosted-region-settlement.ts:1105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f7c9f7cd0dadacf27dab98fef17ee1346ff30d2692e1cd88fe468a66a1b9f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:1056 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1643 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f96d9c4124a0cf4b45d0086b0420fdfdf10b0047522b404fe8ab8693437a41f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:1389 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1447 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"3497b68c2c19a87d353b29743ae5ce693d56742ec7b1f6c7b64fae593465306f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:842 \u00B7 engine/src/engine/layout/packagers/script-document-packager.ts:857 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf875ef9a3783f33538ae0b889ebed31531253b0b29a2478f0432b7f9b1bd95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/layout/packagers/story-packager.ts:1817 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:2121 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fc1dc16e877edb1f7a2a77ab455812157d0663152138b37f104e4b863fa930"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/layout/physics-runtime.ts:94 \u00B7 engine/src/engine/layout/physics-runtime.ts:111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/physics-runtime.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e352f18282d783747d6de590ad6c1893c05c6b2498516b6422175ee20c7addc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:472 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:487 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab2af57cb5e095499e75b175f13953f8aa2c8f759a442532f692927e38e85b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/layout/text-wrap-core.ts:231 \u00B7 engine/src/engine/layout/text-wrap-core.ts:246 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-wrap-core.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9797e8a2503d8ba78d3ece049fe3eece9a980ecf5a4f25a62493c547733187f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): engine/src/engine/runtime/simulation/core/page-snapshots.ts:5 \u00B7 engine/src/engine/viewport.ts:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 107 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/core/page-snapshots.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f4eac1d91f81f455f5ae31d85535afe7f99979faaac0d4311689b1b0139b6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/runtime/simulation/runtime/march-runner.ts:457 \u00B7 engine/src/engine/runtime/simulation/runtime/march-runner.ts:695 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/runtime/march-runner.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4ae980f95871987f4851af5e2d8398aef0e420dd5af1204151c206c69739b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): engine/src/engine/runtime/simulation/runtime/march-runner.ts:650 \u00B7 engine/src/engine/runtime/simulation/runtime/march-runner.ts:700 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/runtime/march-runner.ts"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bb86518779ebfdac03140c30e3739e27f48d4912ee8e94d9fbb0e3345374df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): engine/src/engine/layout/layout-core.ts:258 \u00B7 engine/src/engine/layout/layout-core.ts:297 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f258423ab380a86fb1516be0fe4be797aa5f1fe34b45fcb3c2e925036dfa07f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:644 \u00B7 engine/src/engine/layout/packagers/script-document-packager.ts:658 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"6671d9bd3364b306f9d04b0d1871c5ef4248f7bf4361ec7e53e9cc390c4ade0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:973 \u00B7 engine/src/engine/layout/packagers/script-document-packager.ts:1116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb6e2e83a8cee6cdf1a179f57c7c6d61aba6542daad4b54057020ae080d5581"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:44 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:11 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5121630e3f745f5e4884fbb9603904c884fc135ebe9d2e93174c0a5e98764f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:1087 \u00B7 engine/src/engine/layout/packagers/spatial-capability-packager.ts:156 \u2014 the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"135dba85910dcd25dc5e65ef574697b571327df6ad4e0199c5b7b0d1029363ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): engine/src/engine/layout/track-sizing.ts:110 \u00B7 engine/src/engine/layout/track-sizing.ts:149 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/track-sizing.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d18fcb186cd882334ef7e991558c09864ce128529ccc9b07ea070050ce2db8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): engine/src/engine/document.ts:907 \u00B7 engine/src/engine/document.ts:945 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26b7222d5b5feadeb3494641f49c3e9e3ba6598c9b25743933e14c16d1fa54b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): engine/src/engine/geometry/svg-path.ts:52 \u00B7 engine/src/engine/geometry/svg-path.ts:81 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/geometry/svg-path.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87da27df4d76237caed836afa8ef3013142c0c9f0290cd5ec4e55edee527f53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): engine/src/engine/layout/actor-communication-runtime.ts:657 \u00B7 engine/src/engine/layout/actor-communication-runtime.ts:671 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/actor-communication-runtime.ts"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6d5b4a624f5d4af3eb6b9bb4303f1943d95fe324e8f88ada2415f6aea64808"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): engine/src/engine/layout/packagers/contained-flow-packager.ts:127 \u00B7 engine/src/engine/layout/packagers/flow-box-packager.ts:93 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5c20d393f7e82ae77fcdfc5da69d5501ac7fae328f5bc61088713e7897e4e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): engine/src/engine/layout/rich-text-extractor.ts:223 \u00B7 engine/src/engine/layout/rich-text-extractor.ts:246 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/rich-text-extractor.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f672f5bf8e3230dee416ec3c16a60152dd31495b815059da32fb9e375e72bf1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): engine/src/engine/layout/text-processor.ts:280 \u00B7 engine/src/engine/layout/text-processor.ts:334 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-processor.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc71e85132eae46d3fffee031832a387c35c4de482cb34cdb3807a582ea2026"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): engine/src/engine/layout/collider-field.ts:39 \u00B7 engine/src/engine/layout/collider-field.ts:87 \u00B7 engine/src/engine/layout/collider-field.ts:161 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collider-field.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4da00351f6a0dc434310831efacefcad7a764e60d680a7378b8bb11c70a219"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): engine/src/engine/layout/collider-field.ts:150 \u00B7 engine/src/engine/layout/collider-field.ts:235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collider-field.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadbc7d1d5257d1321613c3acb776a6a59458e4fc5709ed7c6f15be90a6d212f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): engine/src/engine/layout/layout-core.ts:484 \u00B7 engine/src/engine/layout/text-processor.ts:56 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5b1e58472785e9f23fd89410ff59b975646b39329b17d2d639ccb0b4d8b036"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): engine/src/engine/layout/layout-table.ts:214 \u00B7 engine/src/engine/layout/layout-table.ts:326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f33d048045c4624dae85340d4965e62f33bcd462e22973d4f0e058567d5161"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): engine/src/engine/layout/packagers/flow-box-packager.ts:173 \u00B7 engine/src/engine/layout/packagers/flow-box-packager.ts:277 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/flow-box-packager.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"99291caed0e0255a373764573e0b1eaec5aa48764a8e3e2495d7238a2aa317a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:971 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1566 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":971}}}],"partialFingerprints":{"codehealthFindingId/v1":"5be0e8faa094b50df15940a243442d89c7394cd51f8a72cfd25e83cf7757d9fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:858 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:873 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:904 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:919 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"344e1a13f9bbc73a026eec2b2649db4944c6ea07778746aa986c352dce7e715f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): engine/src/engine/layout/packagers/story-packager.ts:1638 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:1682 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9d4ed5997d61a7ae03f4557ec064e78b714fe5d19fba22c37a943a720df5ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): engine/src/engine/layout/packagers/toc-packager.ts:118 \u00B7 engine/src/engine/layout/packagers/world-plain-packager.ts:190 \u2014 the two spans are one implementation copied and then locally edited \u2014 73 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/toc-packager.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"0228cab478b362742fd42a66cbdbe1b7e0d14504e840eff21f36e8dd10a08069"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): engine/src/engine/layout/runtime/passes/page-start-exclusion-pass.ts:5 \u00B7 engine/src/engine/layout/runtime/passes/page-start-reservation-pass.ts:5 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/passes/page-start-exclusion-pass.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6744521dd10be4ff1a933de7a707dfd60c7fa89610fa4e7d71a55f21e4b1d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): engine/src/engine/render/direction.ts:101 \u00B7 engine/src/engine/render/direction.ts:235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/direction.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c733b6672a0f034882e38faaf9dd3b8d6882d7127d5b8aa8f47609345244ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): transmuters/markdown-core/src/index.ts:91 \u00B7 transmuters/markdown-core/src/index.ts:113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/index.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d8c23bc5e429517cd20a3c4e8d91817f762be8ce960c3193dcbe3170b65d71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/interaction-model.ts:985 \u00B7 engine/src/engine/interaction-model.ts:1132 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"fabcefef6032635467f712dbdcdefb5ccbf3b0edbed79aec91213e53d14ba076"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:2395 \u00B7 engine/src/engine/layout-engine.ts:2609 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2395}}}],"partialFingerprints":{"codehealthFindingId/v1":"9330a33fabea369b114c44affc33871425f57977a1d958ad8fadeaeb62d8d7fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/layout/actor-communication-runtime.ts:616 \u00B7 engine/src/engine/layout/actor-communication-runtime.ts:628 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/actor-communication-runtime.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace3334533f309d617b446ce3b139fee01f7f403f82f7e260c9b81d5549a4ece"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/layout/fragment-session-runtime.ts:146 \u00B7 engine/src/engine/layout/fragment-session-runtime.ts:274 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/fragment-session-runtime.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9321b71a7a2498ae155294f3332d915fd151995ec32b63715e7d5ba689eb713b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/layout/layout-session.ts:1326 \u00B7 engine/src/engine/layout/runtime/session/session-collaboration-runtime.ts:88 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2929bc1e87962d61e65ad6428c788a0dfe2b1366130ea13a31073d21012d832"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/layout/packagers/dropcap-packager.ts:171 \u00B7 engine/src/engine/layout/packagers/dropcap-packager.ts:779 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/dropcap-packager.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5593764cd8b0679580624a0f5cc55e6f6c392932f8d82a2a766f16d32a5f46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): engine/src/engine/layout/packagers/list-packager.ts:1298 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1390 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1448 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2356ddfe65fd5086f7e415a0383208f61dec5087eede6378b48fae36eb215c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:882 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:442 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f4dec445109a1435277d3a14c279bcb30a67d00b2a38b66f9121c665271faa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:176 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:139 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75b3b53c4e2d3dddef73b68efa08ad5fd5585339fda8535f8dae4ec39e8fa82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): engine/src/engine/layout/packagers/story-packager.ts:827 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:869 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:1659 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:1705 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4bc89d3895102dd659de9924f6bada411aa165effb9b522608bb7784cba73a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/layout/packagers/story-packager.ts:1266 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:1302 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61d6692ba63d0e6f57b1ad30d9682a9bfcdd255c973c3e21f846e092250f1c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/layout/rich-text-extractor.ts:182 \u00B7 engine/src/engine/layout/rich-text-extractor.ts:205 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/rich-text-extractor.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb379e0ca86a0b73649c99565acda8cc0524a5ecc10a55d7d70fef7e48553ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/layout/runtime/page-finalization/page-region-finalization.ts:367 \u00B7 engine/src/engine/layout/runtime/page-finalization/page-region-finalization.ts:379 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/page-finalization/page-region-finalization.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"8751a61b5a7700b0e3432dd7cf1462a7bc6b1482acf0b5f0298400f57413a48b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:350 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:453 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:512 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f1c55439ad45a6d880a784dc8e7003184d38b84bdf66dd8129d86b5abe3d77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/layout/spatial-field-reflow.ts:582 \u00B7 engine/src/engine/layout/spatial-field-reflow.ts:629 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/spatial-field-reflow.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f60ca9bea780541e492637b4556e00ee08fcd47d71a514ac1c0b1f3e2e0771"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): engine/src/engine/layout/text-wrap-core.ts:217 \u00B7 engine/src/engine/layout/text-wrap-core.ts:232 \u00B7 engine/src/engine/layout/text-wrap-core.ts:247 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-wrap-core.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a8186f4538e8b339f0cde6a8ab21dd8ae769fa6baf5b4b2294dc8ff655279d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): engine/src/engine/render/box-paint.ts:93 \u00B7 engine/src/engine/render/box-paint.ts:253 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/box-paint.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5820d192e6843f45c8e6ba27c8c23377058049db55517332631a0775c11e3f83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): transmuters/markdown-core/src/index.ts:145 \u00B7 transmuters/mkd-screenplay/src/index.ts:269 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/index.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c22665c396ac74fdb85cf2880d277105d709ea273ab8ff1a328d06b2668052"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): contexts/dev-cli/src/index.ts:141 \u00B7 contexts/dev-cli/src/index.ts:156 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/dev-cli/src/index.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"262ef28b35144c57fd1456ddeb0ef5398ba6d38da91f4088dce479a8b0f11f06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): contexts/pdf-lite/src/index.ts:153 \u00B7 contexts/pdf/src/standard-font-encoding.ts:125 \u00B7 engine/src/font-management/standard-font-encoding.ts:128 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf-lite/src/index.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"9216b7443dbe88d4b3f43c17dc54b355c25f20ce13c3c82f3b1d35e5ea184db7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): contexts/pdf/src/standard-font-metadata.ts:26 \u00B7 engine/src/font-management/sentinel.ts:25 \u00B7 font-managers/standard/src/sentinel.ts:25 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-metadata.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"676ef81ed635dfb14e4388f931b3182753542d50b5d22874df60bdef4c2458c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/context-renderer.ts:467 \u00B7 engine/src/engine/context-renderer.ts:499 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/context-renderer.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85c14331db4223f2de8e4d1fa442f7ae5c42f6d14833426a2ccf518d90bc8a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/document.ts:682 \u00B7 engine/src/engine/document.ts:739 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4098613c10e38d25deb150564210a1e7ec982c035b5aa9a37b8e9061209b40"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): engine/src/engine/document.ts:784 \u00B7 engine/src/engine/document.ts:821 \u00B7 engine/src/engine/document.ts:930 \u00B7 engine/src/engine/document.ts:962 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a11662b1eeacc37c45d7775193821b85e1d6aee23b60e0c00f637ef6a4ee34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/document.ts:1005 \u00B7 engine/src/engine/document.ts:1022 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"18139b4c995361c1857c6c13cf3568b30b3a4eb924263621bdc7d312575b4b12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:1147 \u00B7 engine/src/engine/layout-engine.ts:1166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c4151a30c1c6264e1cbc14fbffb7472ee3238e61d4f5866b27c56f9c9d3fc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): engine/src/engine/layout/collaborators/page-number-artifact-collaborator.ts:11 \u00B7 engine/src/engine/layout/collaborators/page-override-artifact-collaborator.ts:9 \u00B7 engine/src/engine/layout/collaborators/viewport-capture-artifact-collaborator.ts:33 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/page-number-artifact-collaborator.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02d8aaccaddbc989df1b6ebb7d570a1b5d1506942ef1b9dc6a5e87a7e74a4da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/layout/collaborators/page-reservation-artifact-collaborator.ts:6 \u00B7 engine/src/engine/layout/collaborators/page-spatial-constraint-artifact-collaborator.ts:12 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is inside a TYPE DECLARATION, not executable code. There is no function to extract and no call site to call one from, so do not read this as an extract-a-helper row: the collapse a type offers is a generic \u2014 name the shape once, parameterised over the part that varies, and have each copy instantiate it. First check what actually differs between the copies: where they are a MATRIX of cases (one entry per input, differing precisely in the case each one pins), the repetition IS the enumeration and collapsing it would delete cases rather than de-duplicate anything \u2014 leave those alone. Reported because the copies that are not a matrix drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/page-reservation-artifact-collaborator.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a91ecbbee9d01033aa74cef0731e403765871c5bb2f41ccdc979b8a8c2666d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-runtime.ts:192 \u00B7 engine/src/engine/layout/packagers/hosted-region-runtime.ts:250 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-runtime.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fc04d25c768fa7308488338eadc0a028faf8f42876bb1dc82cb604305825cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-settlement.ts:146 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:2521 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"a185d3cc658791df5bb602d66ad766fddc6a7143ff540813137fb8bd4416ef5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:558 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:242 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d1eb467806044ccc25ebd87354287c0921989356cd7e049861ae50d0b04cd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): engine/src/engine/layout/packagers/list-packager.ts:1105 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1798 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1849 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f83eff6d12419ce9ec63dd18343af69dfacc2661ada3278a5c288a6e8814c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:1142 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1157 \u2014 the two spans are one implementation copied and then locally edited \u2014 113 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5509552e5bfe3c9df911e80541e409594f5661561959822740367d2840166bdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:332 \u00B7 engine/src/engine/layout/packagers/spatial-capability-packager.ts:27 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccecb3955542fedc6ced593133524a83772dc9e7e6eadba759ac2990d36cd13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:642 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:833 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7e8d258321015933fef4e4f34c827a43580fcbcfc9470853e08b14a6d7c6d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:298 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:308 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f727d523240797bed3963b6a3716ceefc46ebe29d10e108c0ddf9dcc83c473c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/layout/runtime/session/session-collaboration-runtime.ts:45 \u00B7 engine/src/engine/layout/runtime/session/session-lifecycle-types.ts:21 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/session/session-collaboration-runtime.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd547827a77723ce18bcb7dd1a965064dcc53ab79ee6130e55d35613110a309"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/layout/track-sizing.ts:235 \u00B7 engine/src/engine/layout/track-sizing.ts:248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/track-sizing.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"485f94ef5e456f1544ce3c0f9c9e196b4db8f3f506befcfd0d6e0607b7466bf0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): engine/src/engine/spatial-document.ts:335 \u00B7 engine/src/engine/spatial-document.ts:347 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/spatial-document.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bce156a801376912884da2066c74216ef57a8e433a6992d094d32e066293c33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): pressrun/src/index.ts:52 \u00B7 transmuters/dev-cli/src/index.ts:56 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pressrun/src/index.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cac67d7f47d2ef7032145b3d5f09a09c8545be7035ec8ddf76a2e190e863473"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): preview/src/index.ts:923 \u00B7 preview/src/index.ts:940 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/src/index.ts"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdb609e2ce5717cd48d12becd093e50fd9a7f1a9c90b33739e2c23aea790ce6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): documents/assets/specimen-blueprint.overlay.mjs:62 \u00B7 documents/assets/specimen-blueprint.overlay.mjs:72 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/specimen-blueprint.overlay.mjs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7249f6680fdccb61726b1bf65c1dea24dfd90b920aa057961eef851b398f88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): engine/src/engine/document.ts:1093 \u00B7 engine/src/engine/document.ts:1103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de0bfdef5b8937e54424b6da8c7558291112f1aefb541450015f8adfd4e4ab2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:2218 \u00B7 engine/src/engine/layout-engine.ts:2412 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2218}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c60fcace6ce1c40af7fe1c7b53744a0c09213604d8caf176661083bbd8cbcc5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): engine/src/engine/layout/collaborators/contained-content-artifact-collaborator.ts:22 \u00B7 engine/src/engine/layout/collaborators/transform-artifact-collaborator.ts:11 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/contained-content-artifact-collaborator.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"038e024963e22bbde509cb31ba11f4d4c506b53150e4ff329fae5aac3f47863c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): engine/src/engine/layout/exclusion-field.ts:102 \u00B7 engine/src/engine/layout/packagers/spatial-field-capability.ts:98 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/exclusion-field.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54daac82d19d415c3ed21474cbdb58d232820b51464f75177bcc16972963c14"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-packager.ts:131 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:219 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aaa18acbe2d79b5e748860d8cb160125ee360332e262a700c2ce9491bf4b2ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:726 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:333 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e7d731c0c4dcce1cf44231f5543b620cc0bc73b521af05bea7c97e39228c0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:407 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:417 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:427 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe6d03c9531f9aeb8766134dd7bb110d066511a318b2ecc6194785a8fc5c4a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): engine/src/engine/layout/script-region-query.ts:81 \u00B7 engine/src/engine/layout/script-region-query.ts:115 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/script-region-query.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b3897ac45c3c1aedf51efb58b6fb3135bcd158e5b28283f24d5949c8205cd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): engine/src/engine/render/direction.ts:63 \u00B7 engine/src/engine/render/direction.ts:81 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/direction.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f96a3369b6dcfc1eff36e9ad67b8e60583cf37d21f8a0ce15660d49c8c845f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): engine/src/engine/runtime/simulation/core/page-snapshots.ts:22 \u00B7 engine/src/engine/viewport.ts:105 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/core/page-snapshots.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e5eee5e1610c75ba13716e34f6b08f01c6a9d503b2cf6ef14138c39e854bca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): engine/src/engine/runtime/simulation/runtime/march-runner.ts:960 \u00B7 engine/src/engine/runtime/simulation/runtime/march-runner.ts:970 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/runtime/march-runner.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abb3d2edef2447822704ff0c1c21d3150d7ea1a152dfac07af4b2410fe21f97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): engine/src/engine/spatial-document.ts:623 \u00B7 engine/src/engine/spatial-document.ts:633 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/spatial-document.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3f9a734bdffe11dd0f9cb275d7c6821f35d942d956abff67e989d59d52a410"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): font-managers/standard/src/StandardFontManager.ts:27 \u00B7 font-managers/web/src/WebFontManager.ts:111 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/standard/src/StandardFontManager.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"089360053cedf13e6aec3834812da358f9330eedd6f307a7c1756bb02211eed9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): preview/src/index.ts:821 \u00B7 scripts/test-packaged-vmprint-integration.mjs:103 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/src/index.ts"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbbf662e4391d8166f4393e5d556f70e5305979e9fd8dc8133e9d423f6ac9b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): transmuters/mkd-academic/src/index.ts:391 \u00B7 transmuters/mkd-literature/src/index.ts:320 \u00B7 transmuters/mkd-mkd/src/index.ts:162 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-academic/src/index.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0164a96a21160abe860cbfe07c4fdd0679c96ef12ef4fd989573e3128f24c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): contexts/canvas/src/index.ts:250 \u00B7 contexts/pdf-lite/src/index.ts:470 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/canvas/src/index.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0783412924f8e711d490920ab225adbbb7426fb5032d1b7f82336868467a7540"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): contexts/pdf/src/index.ts:243 \u00B7 contexts/pdf/src/index.ts:367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/index.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfcf84c52b25c859607d4c30a8073d95c5062f73c10bf452bba2fe00d87833b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): engine/src/engine/document.ts:464 \u00B7 engine/src/engine/document.ts:571 \u00B7 engine/src/engine/document.ts:752 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63c4d189f51700d2a37196c631a0dda83e85967a0ea3cec322607716bd2e714"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): engine/src/engine/document.ts:841 \u00B7 engine/src/engine/document.ts:912 \u00B7 engine/src/engine/document.ts:950 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d7f050c81657a2dc20037344f38e48271f755bbde656742a8984dcc3fc3b5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): engine/src/engine/geometry/svg-path.ts:166 \u00B7 engine/src/engine/render/box-paint.ts:358 \u2014 the two spans are one implementation copied and then locally edited \u2014 72 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/geometry/svg-path.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfd618abdb023a39f401b0961ab04f440f620af27b1a70cefade4ada5b129cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:1428 \u00B7 engine/src/engine/layout-engine.ts:1529 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab344fbd800b6d96c6a983064baea612a0d7fef0a371863ce404c0b84614e6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:1451 \u00B7 engine/src/engine/layout/runtime-formatting.ts:426 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e42bed38dc6abf8aeff1a29b0b55aafbe15368e733aee2b41b8c1fc8b30d60b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:2123 \u00B7 engine/src/engine/layout/runtime-formatting.ts:429 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2123}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc95e3b41a445fd23070f8ae20de938b6491bdecdc73b5f635a83e1e5149a294"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout/actor-communication-runtime.ts:430 \u00B7 engine/src/engine/layout/actor-communication-runtime.ts:506 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/actor-communication-runtime.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcada67fa09e20cce1031a8d5d2aafe1272727fb26b4c55d4a298ac69864131"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout/layout-core.ts:995 \u00B7 engine/src/engine/layout/layout-core.ts:1052 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ceceb2acbfe477cf320bb384442f1837b295bd8c28149db04a9a2bad217811"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout/layout-session.ts:805 \u00B7 engine/src/engine/layout/layout-session.ts:822 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0475577ddb4542462514f873a74ede97cd27f346dc78937081f1dba55a71389"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): engine/src/engine/layout/layout-table.ts:60 \u00B7 engine/src/engine/layout/normalized-table.ts:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 96 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4ae5a8c81d6f76d65bc25aa3b8055c63b18aca3bfd5538e7200928d1211ca4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout/layout-utils.ts:175 \u00B7 engine/src/engine/layout/layout-utils.ts:187 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-utils.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2115197df778e6dcee798ba203794ee30c47d68c4f421fa17c5694ec8f02729a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout/packagers/contained-field-geometry.ts:36 \u00B7 engine/src/engine/layout/spatial-field-reflow.ts:110 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-field-geometry.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9727b96558225c61727dc4dea2da3f2d3162139ccbb216d25e5db3f95caac227"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): engine/src/engine/layout/packagers/contained-flow-packager.ts:53 \u00B7 engine/src/engine/layout/packagers/dropcap-packager.ts:57 \u00B7 engine/src/engine/layout/packagers/flow-box-packager.ts:63 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:332 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 6 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfcb8f677ed4b8e89b34ec15f8e43d2bde4f133a6892bf09dfd24d86ae44429"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): engine/src/engine/layout/packagers/contained-flow-packager.ts:69 \u00B7 engine/src/engine/layout/packagers/flow-box-packager.ts:77 \u00B7 engine/src/engine/layout/packagers/spatial-grid-packager.ts:96 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a771284b7c89fb5a4776d537c0d29d0c2d37fd57c97c66f5179af28b5364f84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): engine/src/engine/layout/packagers/contained-overflow-fragments.ts:148 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:876 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:2403 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-overflow-fragments.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e59813be79034bed52ee058d19dbcf47edfa9c984756c2099a2e4ace76e272"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout/packagers/dropcap-packager.ts:306 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:323 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/dropcap-packager.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"844de0c013e0eafa700110f4f74b9c060fe48c958efeb06c7f5bdf7de4a2c973"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout/packagers/dropcap-packager.ts:733 \u00B7 engine/src/engine/layout/packagers/hosted-region-packager.ts:734 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/dropcap-packager.ts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce13b52dc8e9956b522c4d805d6098dca4a9c91814c6b233c98f4138f32b3c0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-settlement.ts:808 \u00B7 engine/src/engine/layout/packagers/hosted-region-settlement.ts:971 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"850207ae026862d538150e812834f7d5aa72dc4a95cac78323532ba48ba25480"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:828 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1482 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bd8eb4287a2007d706bcb4f526ee01686804e84b9d82529df9e8f81eed1282"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:1471 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1560 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d63c3204ba0ae05d44d9a2cba5a48222d483cf4bd815314686c791934952663"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): engine/src/engine/layout/packagers/script-document-packager.ts:20 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:45 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:12 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3fae9b49aac61cabd409f1dec14314ba704982c22ae18e2ff14bc36ff90171"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout/packagers/story-packager.ts:622 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:1339 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"c977942034c6648c3cae202833fba0b34ac57ab41d4d3609a7f3d152c240f481"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): engine/src/engine/layout/runtime/page-finalization/page-region-finalization.ts:236 \u00B7 engine/src/engine/layout/runtime/page-finalization/page-region-finalization.ts:255 \u2014 the two spans are one implementation copied and then locally edited \u2014 157 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/page-finalization/page-region-finalization.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f959174757ba4357b19811ba70072ebe6256150daa4e137792df091795ca233"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/layout/session-world-runtime.ts:72 \u00B7 engine/src/engine/layout/session-world-runtime.ts:101 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/session-world-runtime.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"85431ab2d68149de019902e812803df2c7bb70adbd54800ab3173880ae1694aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): engine/src/engine/layout/text-justification.ts:65 \u00B7 engine/src/engine/render/rich-line-layout.ts:211 \u2014 the two spans are one implementation copied and then locally edited \u2014 79 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-justification.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ce0924f9c8cce480797a4a6aca7fd0b39da94fbe5448624ff5284ac00b0ed8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): engine/src/engine/layout/text-script-segmentation.ts:88 \u00B7 engine/src/engine/layout/text-script-segmentation.ts:100 \u00B7 engine/src/engine/render/direction.ts:49 \u2014 the 3 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-script-segmentation.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc1defb8a2a31c7cbcec4d1dd2c76fd070caaf2261658f487208824e5f55862"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): engine/src/engine/render/box-paint.ts:470 \u00B7 engine/src/engine/render/box-paint.ts:487 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/box-paint.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"442cccc46b45b1d55e28e4ea1a432460a969ad3bae392740818ab4a31c7ef5cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): transmuters/markdown-core/src/context.ts:193 \u00B7 transmuters/markdown-core/src/context.ts:211 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/context.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01866a96c0c52e6fdf74e5a45f7ec29cc3e8603422f41cc3389e77ad2da5811"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): contexts/pdf-lite/src/index.ts:791 \u00B7 contexts/pdf-lite/src/index.ts:803 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf-lite/src/index.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c45d361626358413e75e871053abb45516bd6a3f2b1f637e953a6235fcd66a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): documents/assets/newsletter-layout-robust-continue.overlay.mjs:26 \u00B7 documents/assets/newsletter-layout-robust-continue.overlay.mjs:34 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/newsletter-layout-robust-continue.overlay.mjs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1c82e1d6cc8dc64efc8aa509e97aa462b9295ad08bf8c7eda634cda81b70b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): documents/assets/newsletter-layout-robust-continue.overlay.mjs:42 \u00B7 documents/assets/newsletter-layout-robust-continue.overlay.mjs:52 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/newsletter-layout-robust-continue.overlay.mjs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce1051202d4a52348226dbe782a8cfa449d4880f9c52497929d135a35158ff3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): documents/assets/specimen-blueprint.overlay.mjs:247 \u00B7 documents/assets/specimen-blueprint.overlay.mjs:462 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/specimen-blueprint.overlay.mjs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ce715e35e07fe2f42199500746da313b22bfa6b0ecced60b8234b1a2e3679a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/document.ts:200 \u00B7 engine/src/engine/document.ts:228 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"910b46c6d27612487a4b29fbb818f4924a54e6c8edc1ca5e10b1ab7459b38863"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): engine/src/engine/document.ts:531 \u00B7 engine/src/engine/document.ts:582 \u00B7 engine/src/engine/document.ts:769 \u00B7 engine/src/engine/document.ts:806 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"856c0c4e3469f7549d00714d5884847964642470b030c22569a7bb12ee393589"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): engine/src/engine/document.ts:551 \u00B7 engine/src/engine/document.ts:914 \u00B7 engine/src/engine/document.ts:936 \u00B7 engine/src/engine/document.ts:952 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"d384bec322b49a3880498c52a44f512b62b1cb50bc446fd68fb357f7246b1a03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): engine/src/engine/document.ts:818 \u00B7 engine/src/engine/document.ts:835 \u00B7 engine/src/engine/document.ts:958 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da7821652642fdc0aa967ddc40332e245d3ea84dafe14ea3442dfbac53d209e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/interaction-model.ts:377 \u00B7 engine/src/engine/render/rich-lines.ts:65 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c88460ab870d5ded6962323a6c44fd78418a9954fed43b80a41ae94f3b87e62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:316 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:446 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eacb6529b2c7f3bdd66a06eda4b3b0a632f08daa4c95e7f3d6cee730a20de8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:773 \u00B7 engine/src/engine/runtime/simulation/core/page-snapshots.ts:90 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4755121fb671f29c574e7b6d4aea1178be80136986311519b904d2f9357d805"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:956 \u00B7 engine/src/engine/layout-engine.ts:972 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"d904cfa7f957fb7a9a93db97095c6476a3ffad02180ef592fd3987aebfcff080"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:1327 \u00B7 engine/src/engine/layout-engine.ts:1335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab07c7020b2586544bdd8ba01724ac67562b8b71d96b18175ac983e43d0ca65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/collaborators/transform-artifact-collaborator.ts:11 \u00B7 engine/src/engine/layout/collaborators/transform-capability-artifact-collaborator.ts:11 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/transform-artifact-collaborator.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae73257613f8023680792735bd50647ea1116d082bf2a8a86c546ae7c8223d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/collider-field.ts:684 \u00B7 engine/src/engine/layout/packagers/hosted-region-settlement.ts:383 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collider-field.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62289b8c6cfde444d7422c4d75e7ef3b1ed5299b5cb6afdf8f7fb74cabcb95a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/layout-core.ts:167 \u00B7 engine/src/engine/layout/layout-core.ts:174 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af80f156009b6fa52ca2f565c34fbda93a6da93c111a1d696d7e6c56f0ef823"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/layout-core.ts:915 \u00B7 engine/src/engine/runtime/simulation/runtime/march-runner.ts:999 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"229b791f62d8e725459443c0c83e7c078369a94883964d3da945c674810031d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/layout-session.ts:1423 \u00B7 engine/src/engine/layout/runtime/session/session-collaboration-runtime.ts:183 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":1423}}}],"partialFingerprints":{"codehealthFindingId/v1":"75168703d1f2d5dad84d232b2d0f9b524ac26ef62bdbf617ad350abb5a8f95c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): engine/src/engine/layout/layout-table.ts:389 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:353 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0eb9f4a1b06f3e6c58f1d176af7e9f20c19a9caef4711b6826c394455f7b12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/layout-utils.ts:199 \u00B7 engine/src/engine/layout/layout-utils.ts:207 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-utils.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73fb21fa38821410f6b947952106d93cd35eeb4efc7290aefa9247db9a1fe55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/normalized-table.ts:107 \u00B7 engine/src/engine/layout/normalized-table.ts:119 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/normalized-table.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea2f1aed468e20a51a731871bd4d1174b04c915006eb1230f1df6837b240d30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): engine/src/engine/layout/packagers/hosted-region-settlement.ts:592 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:880 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:2406 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"588305015c216976b306985720afe7b2661bfe825466efeef05c8aac4bf71fc1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:570 \u00B7 engine/src/engine/layout/packagers/script-document-packager.ts:582 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"f387a93f182f0ab41f1e545363f0280929e5b5f1a7369c8e56a6cd75589da27b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/packagers/script-document-packager.ts:871 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:436 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"3979a1b9992dff1b6314309f63bef151febdd1a19fa2e348ed96f0d44ac087e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:737 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:348 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d7689a93bcd6e45b97ca41e16a373811453744e508f57a1004529a18ceea20e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/packagers/story-packager.ts:924 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:1750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"535d74b58b4aac4b7ab2ca089d40ead73b8f26f1932377e12f8d71b02d38867b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): engine/src/engine/layout/packagers/toc-packager.ts:187 \u00B7 engine/src/engine/layout/packagers/toc-packager.ts:245 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/toc-packager.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccede162e224720c4a3d0b4081182e824d2032fa93b0de36a5560ec1f0f39b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/simulation-loop.ts:115 \u00B7 engine/src/engine/layout/simulation-loop.ts:199 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/simulation-loop.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5609797755261d01127e97ab40af851c6399b12583d82a855a62307289fd3beb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/layout/text-processor.ts:536 \u00B7 engine/src/engine/render/rich-line-layout.ts:59 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-processor.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f1e3efc8c76700e47d231c5e9118e07513c7cddf4b18284a9e20cba636fa07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): engine/src/engine/runtime/simulation/core/observer-settlement.ts:128 \u00B7 engine/src/engine/runtime/simulation/core/observer-settlement.ts:137 \u2014 the two spans are one implementation copied and then locally edited \u2014 68 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/core/observer-settlement.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b197814edc2284cddb6e647a890f8aa7b32cc081bca4063fb391263f441381e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/engine/text-delegate-load-error.ts:2 \u00B7 engine/src/font-management/font-cache-loader.ts:7 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/text-delegate-load-error.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0deb647c4331782e31d590d151c2adee0cbeb9c4869377aa5ac7367b08017ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): engine/src/font-management/generate-afm-tables.mjs:288 \u00B7 engine/src/font-management/generate-afm-tables.mjs:296 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/generate-afm-tables.mjs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c9e1806ca82329fb71c32d23e9fd3e5400441bc6d36f0a29e0acc32a003f9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): font-managers/local/src/utils.ts:3 \u00B7 font-managers/web/src/utils.ts:4 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/utils.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b315fcf15de941e5d5796db520d14c2144ab2461e0fd8628580fd0975064e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): transmuters/markdown-core/src/index.ts:128 \u00B7 transmuters/mkd-manuscript/src/index.ts:277 \u00B7 transmuters/mkd-zh-manuscript/src/index.ts:179 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/index.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1627574065428d13144cb95c2f4e81f30cad84d95bc5d8d0ace66cde8ae6cac4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): documents/assets/newsletter-layout-robust-continue.overlay.mjs:17 \u00B7 documents/assets/specimen-blueprint.overlay.mjs:66 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/newsletter-layout-robust-continue.overlay.mjs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f5f49f2c79ed991d3edf921082f7590c0a2e28a03646b25bbb3be0602eaf6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): engine/src/engine/context-renderer.ts:166 \u00B7 engine/src/engine/context-renderer.ts:448 \u00B7 engine/src/engine/render/box-paint.ts:185 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/context-renderer.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f164ac7057e31ce832aaadd6d4d7e4d08a1c054f3348d4cd73d016e4db2d111"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/image-data.ts:133 \u00B7 font-managers/web/src/utils.ts:78 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/image-data.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"606f52de035bd2b292279b59eef0d7b8601b5acb4427e9908ed3d69a94911d4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:325 \u00B7 engine/src/engine/layout-engine.ts:457 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c438943ab6a8798e46cb3f6ecdf73dff2b87036f377e143467e2a960b7ad59c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout-engine.ts:822 \u00B7 engine/src/engine/layout/packagers/spatial-grid-packager.ts:252 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c0ea5194a866d2461770e5a27f9297e24206ab395f609e473b4baa6fd938f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/actor-communication-runtime.ts:211 \u00B7 engine/src/engine/layout/actor-communication-runtime.ts:231 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/actor-communication-runtime.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e709d75b9d27a98649b9e1cf91d7c922ea030f55ef9bfb9454d74a37cd85783"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/collider-field.ts:196 \u00B7 engine/src/engine/layout/collider-field.ts:225 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collider-field.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d06b4f868eba0cf0a2824315651a649c6d20fc3aec3ce16699a62df694dfe25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): engine/src/engine/layout/constraint-field.ts:44 \u00B7 engine/src/engine/layout/constraint-field.ts:92 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/constraint-field.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8967d3e1a23aff3f50c2f86bf782171687deeac735ad34f0078f2273e2f8db61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): engine/src/engine/layout/layout-session.ts:454 \u00B7 engine/src/engine/layout/layout-session.ts:465 \u00B7 engine/src/engine/layout/layout-session.ts:482 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea16c722afd0b97e9880e627268e37e0f51fd13456caa5a6f46af754b5e5ab15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): engine/src/engine/layout/layout-session.ts:790 \u00B7 engine/src/engine/layout/layout-session.ts:843 \u00B7 engine/src/engine/layout/layout-session.ts:869 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"03807fe3954e530663e650de1eacc4ee4211701b7976160253e0197ebbf5f725"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): engine/src/engine/layout/normalized-story.ts:49 \u00B7 engine/src/engine/layout/packagers/hosted-region-settlement.ts:184 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:2309 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/normalized-story.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ec63de976b33694867566d483ac7d71072fd5fa070fe7eba03c59061639c21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): engine/src/engine/layout/packagers/contained-field-geometry.ts:67 \u00B7 engine/src/engine/layout/packagers/contained-flow-packager.ts:417 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:2549 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-field-geometry.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e3c7c63066eef6eb89f194d5d9700014843ebec2901fa5982a62b3a862b98d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/packagers/contained-flow-packager.ts:417 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:2549 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cee7318449ae9cf3c19889d2819bb623471c3cac631f823fb8db90c2c4034f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-settlement.ts:115 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:563 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0ccabe2dfbd48a964e782085c19c5c2143333e08bd2a9807ce71e6393cc0c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/packagers/hosted-region-settlement.ts:361 \u00B7 engine/src/engine/layout/packagers/hosted-region-settlement.ts:471 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa71f4771733a416f2ca25c6492e114ae9e1271eba0dad6be88141d7001e40d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:153 \u00B7 transmuters/markdown-core/src/numbering.ts:1 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa59f8c31d2a7bae1ca29c9aa82cf9ecaa01202a650fc371032f8b1a9d5745c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/packagers/list-packager.ts:1681 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:2112 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1681}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8b4cace9d06aa657f5a5e3748792ac2595b286b64ec3ddf83eb408494857cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:381 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:404 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b9b2e64bc59b11b162d5e767a366bd2d7d66a51cafb02ba2f13e46d5de3849"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:842 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:857 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:872 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:903 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3e11760df3e437254f22ca1de0aa661f8b1b6a547473203df023e8f5741bf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/packagers/story-packager.ts:742 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:1489 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"916eafe828fef180d69b9592bb2b73ab8db50f11e33483967c35e9a9d9b71df6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/packagers/story-packager.ts:808 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:919 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"235502e4c70f33b8d3a86fd6d996e433d404c1d08516d71ba0ee6334203d7a70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/packagers/story-packager.ts:1241 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:1853 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ae29b0052fe1dc05008b74cdec33c35830098eb30f474b1dd693d40e8aac28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:542 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:568 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a387b6a23d1a624f95d719dd959b5f54255b5f9e73e8ab672b4972bf4b0000d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/layout/text-processor.ts:828 \u00B7 engine/src/engine/layout/text-tokenizer.ts:48 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-processor.ts"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1859292550521fd73dc602a35229ab158b47ed189bdf5f1cbe7cdb1177e76e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/render/debug-draw.ts:73 \u00B7 engine/src/engine/render/debug-draw.ts:159 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/debug-draw.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60aee161b5adba47d12641fd336ff4159268ec3d63d5527fae21e75419d320a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): engine/src/engine/runtime/simulation/runtime/march-runner.ts:988 \u00B7 engine/src/engine/runtime/simulation/runtime/march-runner.ts:1182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/runtime/march-runner.ts"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdebd70a2080935b8bdce6446cf8d84f458dd0bde1c8053db9d26ff4a33156e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): preview/src/index.ts:882 \u00B7 preview/src/index.ts:959 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/src/index.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"f86b73282dfcdcc9b2fccac14fb39ef78c36add57113d77eef06329f3dc46f4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): transmuters/markdown-core/src/format.ts:341 \u00B7 transmuters/markdown-core/src/format.ts:353 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/format.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de81fa377cf1d2a05c00d3b9311c06cf7b1372274bc35cc38d9907aa6d3de2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): engine/src/engine/context-renderer.ts:158 \u00B7 engine/src/engine/render/box-paint.ts:177 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/context-renderer.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f12d077eddf7fb956062fa1cda3c9b00cb343de9b9aeeafc161875d51ae6ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): engine/src/engine/document.ts:611 \u00B7 engine/src/engine/document.ts:633 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"382be222860465e81af2b001808ea1c7f56755f8e44d499a4fc3ec97bf9210de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): engine/src/engine/document.ts:758 \u00B7 engine/src/engine/document.ts:774 \u00B7 engine/src/engine/document.ts:919 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"98803ec966caf78d729e172f88705c745947778e5ec658644513a5cd28693f37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): engine/src/engine/interaction-model.ts:207 \u00B7 engine/src/engine/layout/packagers/text-hit-testing.ts:49 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3680489791c09f5d5a4275552eb6c1c95624196c5fe68d4741489edeb4062c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): engine/src/engine/interaction-model.ts:483 \u00B7 engine/src/engine/layout/collaborators/temporal-presentation-collaborator.ts:56 \u2014 the two spans are one implementation copied and then locally edited \u2014 51 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a40312e0ae47c9db16f3f5191828fd7e15f6bdaca826192a94ac8b866bd676a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6 locations): engine/src/engine/layout/actor-communication-runtime.ts:693 \u00B7 engine/src/engine/layout/actor-communication-runtime.ts:699 \u00B7 engine/src/engine/layout/packagers/script-document-packager.ts:141 \u00B7 engine/src/engine/layout/packagers/script-document-packager.ts:149 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/actor-communication-runtime.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"d471d926ac1acfe6c864702469ec4f7517bc9b20efcca268ba7a36f2398129cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): engine/src/engine/layout/collaborators/temporal-presentation-collaborator.ts:48 \u00B7 engine/src/engine/layout/collaborators/temporal-presentation-collaborator.ts:61 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/temporal-presentation-collaborator.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d503d863da977a52d0d6f8b6825d1793294452dd0202e4275130d4ae5d2d06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): engine/src/engine/layout/constraint-field.ts:150 \u00B7 engine/src/engine/layout/layout-table.ts:815 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/constraint-field.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2898004f00d3923c624353675070fec1463bf8125788aad2ec33052bce0cf27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): engine/src/engine/layout/layout-flow-splitting.ts:154 \u00B7 engine/src/engine/layout/layout-table.ts:907 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-flow-splitting.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae99c25f884c366ce201fcd19c42a3250615994f65d4c402f86a12a13059995d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): engine/src/engine/layout/layout-table.ts:672 \u00B7 engine/src/engine/layout/text-processor.ts:253 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"943f222a0132bdcadab60abd017149a1828bbe0aa7296b9289a8e277b81b9bd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): engine/src/engine/layout/packagers/contained-field-geometry.ts:22 \u00B7 engine/src/engine/layout/packagers/list-packager.ts:1143 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-field-geometry.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d6b16ba150104fba6691ffc6493de4b8543ce6e8e80d3449064b357f11ab81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): engine/src/engine/layout/packagers/contained-flow-packager.ts:172 \u00B7 engine/src/engine/layout/packagers/flow-box-packager.ts:143 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac7df704af01631ea2577909b5cb7a339133b27c022aced11295c6b149c514f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): engine/src/engine/layout/packagers/flow-box-packager.ts:377 \u00B7 engine/src/engine/layout/packagers/world-plain-packager.ts:254 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/flow-box-packager.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed50e1d041599ef9821e5b17917a91afb05e79bf6e503f21251edcafa9223982"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4 locations): engine/src/engine/layout/packagers/script-document-packager.ts:735 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:354 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:457 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:516 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":735}}}],"partialFingerprints":{"codehealthFindingId/v1":"7053663981ee14a0bc10133959224b9c421a023b803cf700996e3b557d0c2707"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): engine/src/engine/layout/packagers/script-document-packager.ts:1004 \u00B7 engine/src/engine/layout/packagers/scripted-flow-box-packager.ts:939 \u00B7 engine/src/engine/layout/packagers/toc-packager.ts:148 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"892857a4fe0f96961f623f339a47260f884150b12d639fc4701e75529d2e1028"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): engine/src/engine/layout/packagers/spatial-field-capability.ts:301 \u00B7 engine/src/engine/layout/packagers/spatial-field-capability.ts:311 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/spatial-field-capability.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef90a9bfd7c6d1affea6a0a89a4c333ec4fe1490cf22a5f5ed7852e70886b021"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): engine/src/engine/layout/packagers/story-packager.ts:757 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:839 \u00B7 engine/src/engine/layout/packagers/story-packager.ts:933 \u2014 all 3 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cd1122348712835b0150077bfb5b79dfbbe8e88703d12de06de82927a1a502"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:548 \u00B7 engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts:576 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d57919f0b9605e3c5ea665f1b0947dee584900b2329c17da428118e939d792"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): engine/src/engine/render/rich-line-layout.ts:63 \u00B7 engine/src/engine/render/rich-line-layout.ts:68 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/rich-line-layout.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"181bc0a40d079b286c5c50ca95205b2b3bdc9c20995330f1c9ccedd64074f74e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-suite-dependency]: engine/scripts/text-measure-server.ts:6 imports engine/tests/harness/engine-harness.ts, a module inside the test suite \u2014 test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/scripts/text-measure-server.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51ef4b3f21d2ccb86ab9b8297defa645d76e89259a2bad86a526d815e2863ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pourColumns (cyclomatic 97, cognitive 245): pourColumns has cyclomatic complexity 97 and cognitive complexity 245; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f443e67c1355335c2d4b01ebb7594e12e95dffdb110133f981889478f9935ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRuntimeFormattingBatchIntent (cyclomatic 73, cognitive 143): applyRuntimeFormattingBatchIntent has cyclomatic complexity 73 and cognitive complexity 143; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8cc3e5279651f62f611f97d28e9ac309a2c4a074d43c713caaa64fc88516634"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 73, cognitive 81): (anonymous) has cyclomatic complexity 73 and cognitive complexity 81; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/rich-line-draw.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"119f47c083a32d998529c690a0dacb43ed012c85b6c694637412e091922d88a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 70, cognitive 120): run has cyclomatic complexity 70 and cognitive complexity 120; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":3015}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ea46a43c1b3b9e86b333f70ee179e0daa0692abde470b0d8c4af7a8ea0c289"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reflowTextElementAgainstSpatialField (cyclomatic 70, cognitive 67): reflowTextElementAgainstSpatialField has cyclomatic complexity 70 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/spatial-field-reflow.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09d984e39bc66f0bdc507b2be580b2051976c2a5c676d6cb0deb8fde34eef73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 68, cognitive 75): (anonymous) has cyclomatic complexity 68 and cognitive complexity 75; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/box-paint.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd336bd4c0d26ebc64fb194a24b10c2a8123484e7cd3f25c3d3c2799914ddb1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materialize (cyclomatic 66, cognitive 73): materialize has cyclomatic complexity 66 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/dropcap-packager.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd890c0a60b22a487f637e64e9c9729d28a9d3b12c024256e8f0e81e9febcdc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRichWrapTokens (cyclomatic 65, cognitive 141): buildRichWrapTokens has cyclomatic complexity 65 and cognitive complexity 141; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-wrap-core.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1585f9cf84d35fd0434621e4edde78d9026870c26ead98573b7f0d079122660"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trySplitSpatialItemAtBoundary (cyclomatic 65, cognitive 101): trySplitSpatialItemAtBoundary has cyclomatic complexity 65 and cognitive complexity 101; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1552}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d14d9eeaea3189fca3305f4b1f7c3886142c44ef45765fe2c4e7e0c4f63fe26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function positionSpatialGridFlowBoxes (cyclomatic 63, cognitive 92): positionSpatialGridFlowBoxes has cyclomatic complexity 63 and cognitive complexity 92; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf22d4d8432c798de43db9ddd26ff4b0964b9c478af9d2e15db023e446fb3a5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureInlineObject (cyclomatic 60, cognitive 49): measureInlineObject has cyclomatic complexity 60 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-processor.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2660fda801130c5f12f4bc235d2d5ad5d08f17da19efdfe1a9a733ec38b6a5a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateLayout (cyclomatic 59, cognitive 83): validateLayout has cyclomatic complexity 59 and cognitive complexity 83; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"912c55a491e6a771945cb4a18c50ad9fcce9b334d2a7ce9f7121c5a30fef47f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeSpatialGridFlowBox (cyclomatic 55, cognitive 88): materializeSpatialGridFlowBox has cyclomatic complexity 55 and cognitive complexity 88; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd18eeb46ca49e945f5ebbd89d21568e3043a8e2cc10bc96e3a5b825846aeb55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateStyleObject (cyclomatic 54, cognitive 53): validateStyleObject has cyclomatic complexity 54 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab0abe98c861eb1e5062eef622ffcae46eb5c705b089edc14b2b18f45d791f90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pourAll (cyclomatic 53, cognitive 124): pourAll has cyclomatic complexity 53 and cognitive complexity 124; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d59b71cbd3054398ae2e405ccd56590e18e434a7f9ad811049c29e484fdb221"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitResult (cyclomatic 51, cognitive 140): splitResult has cyclomatic complexity 51 and cognitive complexity 140; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":1968}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7648a83dc439cb880a47cb76f560d46cbaa9b63e3c762ccce25cb212b12ac5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRuntimeFormattingIntentInternal (cyclomatic 50, cognitive 50): applyRuntimeFormattingIntentInternal has cyclomatic complexity 50 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2406}}}],"partialFingerprints":{"codehealthFindingId/v1":"8977ac8efb8ade3da0201b118c37f70e2f7dbf5f740187b6e17f8db2512a0d7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wrapTokenStream (cyclomatic 48, cognitive 159): wrapTokenStream has cyclomatic complexity 48 and cognitive complexity 159; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-wrap-core.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10390b78cdf2d1e06f9ba6d5478c9c4a7984a32a9dc456bf28bf9b17bd37907"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateElementNode (cyclomatic 48, cognitive 64): validateElementNode has cyclomatic complexity 48 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc2bc20f90d399ad1ec53d6e5faff3f0b6c937dbf6bfcfba6e4edebef4eb71f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 40): (anonymous) has cyclomatic complexity 48 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/src/index.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"7521fa20133f15ab9ab8ef38b1a82bb743cc1b08151a2e41d7e7814857eafcf2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runHostedRegionSessionBounded (cyclomatic 47, cognitive 102): runHostedRegionSessionBounded has cyclomatic complexity 47 and cognitive complexity 102; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7d5287b1d581b148e27014790d3943c97a49e4394ba7c4d0c0e43170c4d219"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRuntimeFormattingRestoreIntentInternal (cyclomatic 44, cognitive 42): applyRuntimeFormattingRestoreIntentInternal has cyclomatic complexity 44 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee8dc19cfd765022155a55c8580cd3355c4ca4578cc614d6501a440f58da9d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inlineToElements (cyclomatic 41, cognitive 71): inlineToElements has cyclomatic complexity 41 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/inline.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0642742a9fe26450abcbcfc599b8f53622e0ad94ea26b6d520fef9f6ed60a34b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeTableCell (cyclomatic 41, cognitive 48): materializeTableCell has cyclomatic complexity 41 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca82f189fc574e9b3a103486fc78410176d092f3f35912ac850945d028ebd314"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flush (cyclomatic 40, cognitive 77): flush has cyclomatic complexity 40 and cognitive complexity 77; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-screenplay/src/format.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"92af005b40ba7f68c52701c79cd3d87b701471fd7cad26ec0d66a917e95c0ea1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flush (cyclomatic 40, cognitive 65): flush has cyclomatic complexity 40 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e8b7a1f1e10757b6a950748c2a78c8de12f96d9f2a92645b25402906b4ceda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flush (cyclomatic 40, cognitive 65): flush has cyclomatic complexity 40 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-zh-manuscript/src/format.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3108fefc69619f897da0723f4261630f61de7af906c682a72125cb21d5c1f753"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeElementNode (cyclomatic 39, cognitive 46): normalizeElementNode has cyclomatic complexity 39 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3e495bc5192c32d14ab9d19b61f8e81f8190b067963a3528bf5f86c3d22c18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCommittedState (cyclomatic 38, cognitive 46): updateCommittedState has cyclomatic complexity 38 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51985de897787786595ea3019fffc6cfaf1c9cb3a701085533e50fa4cef418f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeElementStyle (cyclomatic 38, cognitive 29): normalizeElementStyle has cyclomatic complexity 38 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"219c96e156624e344dfb2e623f9a62e5261f0951113e2fc3b54cf932347da971"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 51): (anonymous) has cyclomatic complexity 37 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/spatial-field-reflow.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee463904dc81b57abaad89d04d7d11ae325695d24f99773420da2cfd0086042c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSvgPathSubpaths (cyclomatic 35, cognitive 67): parseSvgPathSubpaths has cyclomatic complexity 35 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/geometry/svg-path.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b5cb10ca3de68d25dbcb2319a6a3c8b3731f3cb45b7f237124f16c99f42b1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 55): (anonymous) has cyclomatic complexity 35 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/direction.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ccd42e0949002754fd6e1466d6439d0163327d584dc6f3f5b6b13882406cdb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hitTestPoint (cyclomatic 35, cognitive 33): hitTestPoint has cyclomatic complexity 35 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c53e45a4165d3c44252653192cc38917274c039e2984a5cd11c7181e49d92e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDynamicPackager (cyclomatic 35, cognitive 29): createDynamicPackager has cyclomatic complexity 35 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/support/reactive-proof-packagers.ts"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff584d03f4ce8538a687f7c4f6944a239d476330e3d168ff29cb536fb448540"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tryPrepareItemsAgainstSpatialField (cyclomatic 34, cognitive 52): tryPrepareItemsAgainstSpatialField has cyclomatic complexity 34 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fe0867db852c6df89e1368ca844c070a1da839aecfbbf9fc62e52372254265"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitSpatialGridFlowBox (cyclomatic 33, cognitive 30): splitSpatialGridFlowBox has cyclomatic complexity 33 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3d3a56dc51853c3c4cef3c9b65f7c4f48b0c7ab7a2ca907792b122e50b9f73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hitTestRichTextBox (cyclomatic 33, cognitive 29): hitTestRichTextBox has cyclomatic complexity 33 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/text-hit-testing.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e851efbb951b8908863f4d938295a17809a982e7bdc57699b20ad74e8fb1ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 32, cognitive 34): run has cyclomatic complexity 32 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/scripting-performance.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6ac9354014da05e2f4f4b32ecab25fb7c63cc2d4cc3b06ce02aeb8e86297b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveContainedFieldFrame (cyclomatic 32, cognitive 21): resolveContainedFieldFrame has cyclomatic complexity 32 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-field-geometry.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a7b81f829549f1d7cf7fb7b4db385a4ef991c58d281aff0d91d590bfd74dc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapInline (cyclomatic 32, cognitive 21): mapInline has cyclomatic complexity 32 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/semantic.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e952a744eafa70d605894418487be79b2290bc70bf04c9fea8f513c75c696e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getScriptClass (cyclomatic 31, cognitive 39): getScriptClass has cyclomatic complexity 31 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-script-segmentation.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac63eb89356c50d37374214dea3be6798dc3edafa115b5a7f125424ccede6b71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureText (cyclomatic 31, cognitive 36): measureText has cyclomatic complexity 31 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-processor.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf2edd8603becea0ebaed069e09a3f1e42676b6f41e867dfcc8ed935107eda6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeFlowBox (cyclomatic 31, cognitive 32): materializeFlowBox has cyclomatic complexity 31 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24fb81330d60d5ddf26374f20cf9e543ab0c55ca1331fae8b0f80e0c4d93aec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderPage2 (cyclomatic 30, cognitive 55): renderPage2 has cyclomatic complexity 30 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/specimen-blueprint.overlay.mjs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54e68f7945743ceadf6b767415e7361e9b5aa1b24776a64383a929858c2e1fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function advanceTickInternal (cyclomatic 30, cognitive 53): advanceTickInternal has cyclomatic complexity 30 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/runtime/march-runner.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e029a938677657252dae875c4addc80e13a03d7d34febc46b611737e904262c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 30, cognitive 35): handle has cyclomatic complexity 30 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/format.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"292d7b9b52bfe896a98f678bd8b087b00a29e78ec570f44374c09597c9a1611e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adaptFlowBlock (cyclomatic 30, cognitive 34): adaptFlowBlock has cyclomatic complexity 30 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/spatial-document.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3328e43561bc89d11ebbc777f0347cd28cbd52f626aebeb58c08141e654ab3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStrongDirection (cyclomatic 30, cognitive 32): getStrongDirection has cyclomatic complexity 30 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-script-segmentation.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"63736299df1f2f5b77ca7bb5c68f7307247b02caddbde02840845f309416f940"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawContextBox (cyclomatic 30, cognitive 24): drawContextBox has cyclomatic complexity 30 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/context-renderer.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1588dcdc097562077f8696df9a5125ce9c6ad610a5104ecbfe82883c48e5fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTableElement (cyclomatic 29, cognitive 45): normalizeTableElement has cyclomatic complexity 29 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/normalized-table.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e4a8685be8469358c2af4afc76126978831eafcad44d2aa3c255a00352c0ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitFlowBoxWithCallbacks (cyclomatic 29, cognitive 29): splitFlowBoxWithCallbacks has cyclomatic complexity 29 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-flow-splitting.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad884dbb9b415fc3d37cd6c6ee79c1438674a23eef5786fef8a870aea997e2a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 24): (anonymous) has cyclomatic complexity 29 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/box-paint.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"2beaa7ee12e6fbe9b4e15fb4f4adbd8839a1549a8447a1f12b1edafe592b3496"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 41): (anonymous) has cyclomatic complexity 28 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-segmentation.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"050bc6e56fd0c53d55e2b71a0af69a103eb2d8e20b6cc0e58793d3a670f38af2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 35): (anonymous) has cyclomatic complexity 28 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/src/index.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"e348923ea10d5c89c5c64bbf956bb3025c55a26fff565d6f8a54e76e7b21a409"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 25): (anonymous) has cyclomatic complexity 28 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"966dfa6741d7bc5061405e1720eae39520ecdb1302155cc948633b88a9fedc39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawShapedGlyphsAsPaths (cyclomatic 27, cognitive 39): drawShapedGlyphsAsPaths has cyclomatic complexity 27 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf-lite/src/index.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bf3d0e787e14abb5b83d3f459042927bfbdcafc659694bbb4aea022c99c523"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRuntimeFormattingIntentToSourceElement (cyclomatic 27, cognitive 27): applyRuntimeFormattingIntentToSourceElement has cyclomatic complexity 27 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime-formatting.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fce0d28d8d6dbf1aabe5698dcab3bbfab6fd4411010362aefceb5ff2a1e8e60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTitleAndCover (cyclomatic 26, cognitive 33): handleTitleAndCover has cyclomatic complexity 26 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-zh-manuscript/src/format.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d20851641f383863cb5932a961b7d40e1d49ab6ad4c58217492241b9ff7fb60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertEllipseCarryoverSignals (cyclomatic 26, cognitive 21): assertEllipseCarryoverSignals has cyclomatic complexity 26 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4723e9ad3a899551ee4969e860f3c1b6997c01545adca8b51241a1e745ccc8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function layoutRegion (cyclomatic 26, cognitive 12): layoutRegion has cyclomatic complexity 26 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7093bcec0ecf873ca78ed8297bf1598294a7aa4c417016ca08a005e0a02c9a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showShapedGlyphs (cyclomatic 25, cognitive 35): showShapedGlyphs has cyclomatic complexity 25 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/index.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"201b1a4177bdf71dd0318177b7b9bbf24e21da10c4e5dc2a12ef17fcb8f68183"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderPage1 (cyclomatic 25, cognitive 35): renderPage1 has cyclomatic complexity 25 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/specimen-blueprint.overlay.mjs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"6063258b7bb9f4b6f55aa97c580feb11b4998ad46381223bbf12094345f0bb43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectRequiredFontConfigs (cyclomatic 25, cognitive 29): collectRequiredFontConfigs has cyclomatic complexity 25 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/font-registration.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69d313c8c3ceca1ebe362d17570528ee9fe61a648e42c52b5979e124b7fc790"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adaptSpatialGridCell (cyclomatic 25, cognitive 29): adaptSpatialGridCell has cyclomatic complexity 25 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/spatial-document.ts"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfea4eb0171f383b4d2fe9a2c970191f6c8b3c846bafa7a3a5f4104c1dd742f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeRuntimeWorldRegion (cyclomatic 25, cognitive 24): normalizeRuntimeWorldRegion has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b216115801f20b6d37b60bfce2819a0703a1085043c73a2b8faadee7a67ec3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeKeepWithNextPlan (cyclomatic 25, cognitive 21): computeKeepWithNextPlan has cyclomatic complexity 25 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/passes/keep-with-next-pass.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f439a485e4815f1842eb3fd3a2ff9501df3f8a401e0f8699f63bac042dab192"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAfm (cyclomatic 24, cognitive 45): parseAfm has cyclomatic complexity 24 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/generate-afm-tables.mjs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"80730cd4c4d70034a6c7c88c78116ae8a2449ffd2bc35bc1922928abe5a2dead"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeTable (cyclomatic 24, cognitive 36): normalizeTable has cyclomatic complexity 24 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/harness/spatialize.ts"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2b5bb9716203dd7c8f6a17acd95b5a96be9a782bd93b86725fbb59aa256f14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTitleAndCover (cyclomatic 24, cognitive 32): handleTitleAndCover has cyclomatic complexity 24 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5b753df686bb368a88641d62b2c351e4c4cab0ebb6625ee6d5176a81928f52"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliverMessage (cyclomatic 24, cognitive 31): deliverMessage has cyclomatic complexity 24 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"6055169ead22ad38957418bd133d65498d80d9699866fc3096e4fa0741514c25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRichSegmentsAtOffset (cyclomatic 24, cognitive 27): getRichSegmentsAtOffset has cyclomatic complexity 24 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/rich-text-extractor.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"43710fa22d7ce7e1a177d0d0ab524066d3d7b37cb84c66158c3bf7c1e647cf93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPackagerForElement (cyclomatic 24, cognitive 24): buildPackagerForElement has cyclomatic complexity 24 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/create-packagers.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abd0da428feb174cd02940ad6d8a2f4e86490fea5d5854562f2348cee9a1e28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertNativeNestedListSignals (cyclomatic 24, cognitive 21): assertNativeNestedListSignals has cyclomatic complexity 24 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"542d3eff6b722ca53f6b55a859ba0538cbb0b45a0287a1f217fb10820758759e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapBlock (cyclomatic 24, cognitive 20): mapBlock has cyclomatic complexity 24 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/semantic.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb24fa44bf3e816c6c6f6d0bfde4ecf910a1553e485bae7fff3f15f0844cfc1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEmbeddedImagePayloadCached (cyclomatic 23, cognitive 32): parseEmbeddedImagePayloadCached has cyclomatic complexity 23 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/image-data.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce16ba0b0891d7615a6029729301ca29c4ea29beba56751a0971802abffe707f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadFontBufferInternal (cyclomatic 23, cognitive 31): loadFontBufferInternal has cyclomatic complexity 23 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/web/src/WebFontManager.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"519162538af30176aec423eb114781a095504da0c146efb6a84bd338f6f6a625"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLayout (cyclomatic 23, cognitive 29): buildLayout has cyclomatic complexity 23 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/theme.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"735accdbfecc8912e8b757045cc80e088c1ff31c332c20f6cbd8a25005ee8334"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySourceBackedRuntimeFormattingIntent (cyclomatic 23, cognitive 23): applySourceBackedRuntimeFormattingIntent has cyclomatic complexity 23 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2bf1b1f93053fbdaf6600c66d19d21c4c26835f8f068d8d9e8c7daacf9a025"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wrapRichSegments (cyclomatic 23, cognitive 23): wrapRichSegments has cyclomatic complexity 23 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-processor.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"f731b57c43f5e1dac2874683ad4b33c261cdef46b27403e471d63fa8bc4c1296"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 18): (anonymous) has cyclomatic complexity 23 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":3900}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd75cdc96048a82a9bd68381cf021870b861f4913a554a45a20100de44572f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeOverlayTextMetrics (cyclomatic 23, cognitive 14): computeOverlayTextMetrics has cyclomatic complexity 23 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/context-renderer.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b6e424f5dfa113caa42b78bdbd4a88689e23b444012400b6184f2008ecf39d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveActorRuntimeFrontier (cyclomatic 22, cognitive 22): resolveActorRuntimeFrontier has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"b28a5ba6219d517635c6a2590779995d36cdc65f89b6a09e87935e819d6090df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 16): (anonymous) has cyclomatic complexity 22 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/box-paint.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"17675536a224c9f9199fcc214af0af6f065baec82fecd0f0fd634e50fcf2ae7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectScriptRegionsFromPageSummaries (cyclomatic 21, cognitive 46): collectScriptRegionsFromPageSummaries has cyclomatic complexity 21 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/script-region-query.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e3599076c3fef84364e47536ddd04f740be39596d18b116e810a551d7dea1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluateObserverRegistry (cyclomatic 21, cognitive 43): evaluateObserverRegistry has cyclomatic complexity 21 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/actor-communication-runtime.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"908f346c7377326ec31c5504ff560625d907a5b5f685ea48489c983389fb539f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 37): (anonymous) has cyclomatic complexity 21 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c36f163a419d0c298e6e8ca3657789d0e3d734bb22f157888a9de0147f3a62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matches (cyclomatic 21, cognitive 35): matches has cyclomatic complexity 21 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/format.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fc3a5f82dbdc0bb61f7bd7f9dae7b3fb34fda54fbc7bfbe3b98a7f4ac43f36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitByBidiDirection (cyclomatic 21, cognitive 32): splitByBidiDirection has cyclomatic complexity 21 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-script-segmentation.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cc5fa4a10cca31e5cabbf540bd791f440191b70e01ab223693e06b94df66a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitColumns (cyclomatic 21, cognitive 25): splitColumns has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"b550dc88af985f73e6399692e91930003da2e70584f54958ea4065206aa941bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeStory (cyclomatic 21, cognitive 25): normalizeStory has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/harness/spatialize.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4768d185927fbdc36087778bfcaf975dd60c787cb36389ebc4258d63c7abe4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSpatialFieldDirective (cyclomatic 21, cognitive 20): validateSpatialFieldDirective has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"68371dde73ed1853550600373d7c62505dc834563344af84f866fba7a93bbfc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function excludePageSpace (cyclomatic 21, cognitive 20): excludePageSpace has cyclomatic complexity 21 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/session-world-runtime.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a8cb5372b6b612c18f43c1aa65c8659dd616d213119a6527d66d82b7601f32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTableCellContentOffsetY (cyclomatic 21, cognitive 12): resolveTableCellContentOffsetY has cyclomatic complexity 21 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8de42e18f880fd8367c78b81b1310bd92323325b51a505b146acf7325209c2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSimulationComplete (cyclomatic 20, cognitive 33): onSimulationComplete has cyclomatic complexity 20 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/transform-artifact-collaborator.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ab0655ec83690302b66f42103a1ec8d0ff9ec91802fa13453a5fdc7b29e8e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyAdvancedJustification (cyclomatic 20, cognitive 30): applyAdvancedJustification has cyclomatic complexity 20 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-justification.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ddc5aeae578bfb117b16c35ce3ae047a3d4dae25415980dcfd1514b0dccb0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateDocumentContract (cyclomatic 20, cognitive 29): validateDocumentContract has cyclomatic complexity 20 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d098b154073175f508462daadd0e8de6520fd8e9d754dae2ca254e9d293abae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveConsumedSourceChars (cyclomatic 20, cognitive 29): resolveConsumedSourceChars has cyclomatic complexity 20 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4765aaf2be15ee784a89eaa785746dd1d4ab73af3a109b07186fd3785786d2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTableSplitMaxContentHeight (cyclomatic 20, cognitive 27): resolveTableSplitMaxContentHeight has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6aa5dc5f4cf52428ed458baf9157428c8c373f402995530843300e76722267"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPageSnapshotToken (cyclomatic 20, cognitive 23): buildPageSnapshotToken has cyclomatic complexity 20 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/core/page-snapshots.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"87015d76f4aad74c6080de163098c161de748f41f833af19f8d5244f3041b704"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishTraversingFlowExclusions (cyclomatic 20, cognitive 22): publishTraversingFlowExclusions has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/world-plain-packager.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"67629c462b5c8579876a33e128575aee897fd47b4001ede7f19018b26f528aed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeDocumentToIR (cyclomatic 20, cognitive 21): normalizeDocumentToIR has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"1efe0c32c76e307466ac7e824db0ea16182a505fdc3fac000b2b21ad66a9a57b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveStreamingState (cyclomatic 20, cognitive 19): resolveStreamingState has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/support/reactive-proof-packagers.ts"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef5607fbec5491da1d2d6772bc3b2b6eb66b54b40bf66d99bf118b2b59f309c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getJpegDimensions (cyclomatic 19, cognitive 27): getJpegDimensions has cyclomatic complexity 19 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/image-data.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3330af1093eea3a7916f950ce673298fdcf5ed8ce036091fc892bf26d83e16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function placePackagersInHostedRegion (cyclomatic 19, cognitive 27): placePackagersInHostedRegion has cyclomatic complexity 19 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5883681c7637a16f78c185a7dedb4d07d7c3a0e9081950b8430dba7b0668a7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 25): (anonymous) has cyclomatic complexity 19 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/box-paint.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37e8c13991c209f79b194dac0ebf75b098ab289279b8b177f01907f9a4da2f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadFontBuffer (cyclomatic 19, cognitive 24): loadFontBuffer has cyclomatic complexity 19 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/LocalFontManager.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"78199f650ec74a3c5e6b276d52281102a993cef5edbbc710a0ef84d6c138644c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 21): (anonymous) has cyclomatic complexity 19 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9910126cc04843e089c61c029523653169a67c02dba1daae419dd4993aa714"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 19): (anonymous) has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"9240b4b6fe1a3200627366dd0d25f69bc7e72549aee6b333c329ca29a6535a48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectAutoHyphenBreaksByLang (cyclomatic 19, cognitive 19): collectAutoHyphenBreaksByLang has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-hyphenation.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2069a344530cf4f54c58216602fa64daf33c7b7958d79b596e23729d4d404ca4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDynamicPackager (cyclomatic 19, cognitive 18): createDynamicPackager has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/support/reactive-proof-packagers.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8aeb6885778b25db265304c247c39806bc3fcb19f145c2648e3c052e7b565f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDynamicPackager (cyclomatic 19, cognitive 18): createDynamicPackager has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/support/reactive-proof-packagers.ts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf10ecfdfae077d0a3512fce55d4abcdb5be1d16e04d7f13699bcf4776fdcd21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFlowResolveSignature (cyclomatic 19, cognitive 16): buildFlowResolveSignature has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"378736fbe7ca71429a16f7984b617bbecea5f31f19ba459688a94a7b5c80fffb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 15): (anonymous) has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.js"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d210de8b049d4709ffa5d531dd352c00b00d23f98f819978c0d6868f83ea25a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 15): (anonymous) has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.ts"},"region":{"startLine":1464}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f17031371ad1b6f32b496f334a3332e4a64e174ba2837f12c221e0962b7985"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSimulationComplete (cyclomatic 18, cognitive 26): onSimulationComplete has cyclomatic complexity 18 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/contained-content-artifact-collaborator.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4995b12e32e3ce5b4c6c9e29ef2aabda8212acb901815dca3ebb9bea10f789"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 24): (anonymous) has cyclomatic complexity 18 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a49f96cd749a8893178ea4f79f478722867ea920930af479ddfd2132dffe93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateCommittedState (cyclomatic 18, cognitive 21): updateCommittedState has cyclomatic complexity 18 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"8080ba9e89c69eaed9efa3b4d03bc5d6bd8bd42edac674b8aef815002a578115"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifySimpleProseEligibility (cyclomatic 18, cognitive 20): classifySimpleProseEligibility has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c9c03a02f018fecd3f8bdbe15ada97b09757763a16049b848b6ff4149b4421"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatRuntimePartRange (cyclomatic 18, cognitive 19): formatRuntimePartRange has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime-formatting.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8571b89784fa240efad961f1509314f948eff474bceef54942cf9f0d89a4828"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateElementProperties (cyclomatic 18, cognitive 17): validateElementProperties has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ed5d42a4def8dd85e8446ce0254b456b37fadc5ff6aa89bb4165bfc944ff25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pourTextChild (cyclomatic 18, cognitive 17): pourTextChild has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"371afa303887fa7f36390868c11ed65dd5556b2819ceb5ed6419b551df89dc19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDynamicPackager (cyclomatic 18, cognitive 17): createDynamicPackager has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/support/reactive-proof-packagers.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a35fb6acd7ef58ec2781e1ca545743299e3d7d148e441e5125f0fc2151a28bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 16): (anonymous) has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"288f69712ed5959ffb90c7168426681b0131e41363e4b31659e97effd47e7c9f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareSpatialPlacement (cyclomatic 18, cognitive 16): prepareSpatialPlacement has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/flow-box-packager.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffff47a94550519479490b19832cac0f15eaf1ef2975f7abc6d54ce07dd3f5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendSegmentToLine (cyclomatic 18, cognitive 16): appendSegmentToLine has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-wrap-utils.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"487557441e03c9d7676e9ae407ab54f2fedc5504efaab90de57efe7e98f8993a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeCommittedSignals (cyclomatic 18, cognitive 16): observeCommittedSignals has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/support/reactive-proof-packagers.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"99430f4949cb99d74cb9fbd3d1384ccddf7fbbbebec11d2b7054b67cbf651ae8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertPolygonCarryoverSignals (cyclomatic 18, cognitive 15): assertPolygonCarryoverSignals has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":1416}}}],"partialFingerprints":{"codehealthFindingId/v1":"8304e9abf9486a24bc5165d1f67e8ea60f32c9a3a6094c6a11756c176881b2a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveContentBox (cyclomatic 18, cognitive 9): resolveContentBox has cyclomatic complexity 18 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5bfd6daedf83c26b2046fea05f20f243053c4de418c1d930a78d1611cb40b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyStructuralOperationBySourceId (cyclomatic 17, cognitive 32): applyStructuralOperationBySourceId has cyclomatic complexity 17 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9282f34497ab47cf967dada4ab61a26973d5b8dd3922a1135dd98e89860280"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyStructuralOperationBySourceId (cyclomatic 17, cognitive 32): applyStructuralOperationBySourceId has cyclomatic complexity 17 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5f0cb5728c3691509fdb2ddfde05bf6b71945ba4f5e628702ccbea918bad80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyStructuralOperationBySourceId (cyclomatic 17, cognitive 32): applyStructuralOperationBySourceId has cyclomatic complexity 17 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a706689df824b2449659dd7ff183e00e6f9221892ed736914b8e70cfa213974"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function segmentTextByFont (cyclomatic 17, cognitive 32): segmentTextByFont has cyclomatic complexity 17 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-script-segmentation.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cce3d6bc360e29429907de38a1cc5c1ee5660985b7353e595a4cb824f69de4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 28): (anonymous) has cyclomatic complexity 17 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/src/index.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"760aa0bb402b9c36add78aee8127bc0884016b3eb912daea77ef13e6da5d1267"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tryHyphenateSegmentToFit (cyclomatic 17, cognitive 21): tryHyphenateSegmentToFit has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-hyphenation.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ef91c9a5f822d0ebdf2748155dddb217ec398c0f950bd1dd5f8b2f8e0b0020"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tryShowStandardFontText (cyclomatic 17, cognitive 19): tryShowStandardFontText has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/index.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1894b5eb8516c1039c8bcc3b5f2e87a394aaed924142d06a4519a8ba9889d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chooseEarlierFrontier (cyclomatic 17, cognitive 18): chooseEarlierFrontier has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cc9e5cb2e03af920629bd615e5a3dd0494f289fb0551fe1c7d85fecd4b8a0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chooseEarlierFrontier (cyclomatic 17, cognitive 18): chooseEarlierFrontier has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"50016b0a7e9670d3b8ea9a5c02a61e01b15701927b9d5c4b408611fb1e379f4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeOverlayInteractionRegion (cyclomatic 17, cognitive 16): computeOverlayInteractionRegion has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/context-renderer.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"7316d0d9b7fc2d8cd20def5d42bd1d5b87bb973f75f98430ac6a9a9de19e515d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectLineBoxIntoContainedHostFrame (cyclomatic 17, cognitive 16): projectLineBoxIntoContainedHostFrame has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3be0f1982d266252b6939c86e816f3c97c1d44dc8f9812b8d546d72cd6387a30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFlowBoxMeta (cyclomatic 17, cognitive 14): buildFlowBoxMeta has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8ff5ae95a16f90f3fc162a52ad8cfb679b11c42a61a179af1d1a7f80311d4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSimulationComplete (cyclomatic 16, cognitive 34): onSimulationComplete has cyclomatic complexity 16 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/source-position-artifact-collaborator.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4832778e6033c934e56c3fbe8a95db3d84c8bdb6ee13b9cdb711182977961d0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evaluatePlacement (cyclomatic 16, cognitive 30): evaluatePlacement has cyclomatic complexity 16 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/constraint-field.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"961070fe31246324aa67b92c9ed5807ec7b1594f74c296df2f4dcc916018d683"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 26): (anonymous) has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/format.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb8f0c467489d2721450e0bfad02ec3f74553f9b0cdafa43cf115ff9f797cbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSimulationReplayLoop (cyclomatic 16, cognitive 22): runSimulationReplayLoop has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a02ab4cd89326d8cf36be7f4728e0a94ad5b31b57e7f6ddb5c0449ea4f2e7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSourceId (cyclomatic 16, cognitive 20): resolveSourceId has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"6262bbcc97aed9f06a36e53257e284c2e5504cc1bc6f9a9dd195c4a13e940ffc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSourceId (cyclomatic 16, cognitive 20): resolveSourceId has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"027e11a52aa32b52f5fdd0a7b2305471cc3766a7eec70b9505ae9ece769a3d8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSourceId (cyclomatic 16, cognitive 20): resolveSourceId has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cafb0a0ae763cf340ea8c8e306ea330798baa50948e62ed646aa91fd733b349"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onActorCommitted (cyclomatic 16, cognitive 18): onActorCommitted has cyclomatic complexity 16 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/signals/heading-signal-publisher.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09111d4bdc8269f8ae078244590a6048658a32d792105cc0038e8565043b75b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeZoneMapElement (cyclomatic 16, cognitive 17): normalizeZoneMapElement has cyclomatic complexity 16 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/zone-packager.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4c9648dac7fc0784904d24ccd7fb72c4286172ffb0ec9d61fc8c8dcee4f5e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDocumentSourceText (cyclomatic 16, cognitive 16): parseDocumentSourceText has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1578}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad71a17685b741474b2382496f22a9242d24eb0c6476322aeafe57f679c9f2d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildResolvedLinesCacheKey (cyclomatic 16, cognitive 15): buildResolvedLinesCacheKey has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"29785dfa51798655a69c826e61ab5bf47239ecf6d7091a7be35c36e096fcf1b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerSpatialExclusion (cyclomatic 16, cognitive 15): registerSpatialExclusion has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/flow-box-packager.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"337b246e50c1fa1e99e4b4565f4a46dcf9192dab2206b241628ec592ca6ba3a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeInlineContext (cyclomatic 16, cognitive 15): makeInlineContext has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/inline.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9407fc0aca1c0febf7e71f8b045044a3294ac008092a1b5247dd8c7a6ecb2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onActorCommitted (cyclomatic 16, cognitive 14): onActorCommitted has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/heading-telemetry-collaborator.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9276ac1b62486906fa13b1b06d24c6d46acd5c840942cd4a94018a7a108269bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareContainedPlacement (cyclomatic 16, cognitive 14): prepareContainedPlacement has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ceaa257b626eebad27e6c1d0d955e1f2957aa20ee66db485c73fa1a0107be2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveWorldPlainHostLayout (cyclomatic 16, cognitive 12): resolveWorldPlainHostLayout has cyclomatic complexity 16 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/world-plain-packager.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b254bc884732145b9032f626644b65e8f0fe826de5a3ed3ff985267da636ebb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 9): (anonymous) has cyclomatic complexity 16 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/text-hit-testing.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1cdec25de5425f428d2b830bf52992b8a70bafd1ea569a42925780c707fec9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveHostedRegionLane (cyclomatic 15, cognitive 23): resolveHostedRegionLane has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef84adb4c95b25a6189c853f705f92affac2542ab495610615499c162f6cedf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 20): (anonymous) has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"210146e9d7bd6625adb6cbd233fae5d4d33847494694a3fe5145f0485b91b169"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyContentOnlyActorUpdates (cyclomatic 15, cognitive 20): applyContentOnlyActorUpdates has cyclomatic complexity 15 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d6883caeee70a91455c5e9f96fec95030fa3d526fdc2e42273c5d8fe23c965"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 15, cognitive 18): run has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/index.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"982d94b36d2e442f8f163f92a812de1e3984f009c4f44942fbaa0b5b6a1a6b06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureChildIntrinsicWidths (cyclomatic 15, cognitive 17): measureChildIntrinsicWidths has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"392fdee11ab3fdd0e78a06dafcb5bd294eb91db8281b44088fcd7c271d807ec3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 17): (anonymous) has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/text-hit-testing.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e909d519d051e59ba6af46235b2232e99cf7978b96541def88bb7f5311d92e1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setLiveActorStyle (cyclomatic 15, cognitive 15): setLiveActorStyle has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a10f8f133db5d16c9121a717b78f20bb65eb01d34065a24bf147a36c8f3796"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) has cyclomatic complexity 15 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":2221}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e3ef3449d0f75c3844422fb8e263ec6d20b7fec6463d742bcf5e036d943bdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateStoryLayoutDirective (cyclomatic 15, cognitive 14): validateStoryLayoutDirective has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"0474280dd36391e8b504646e329167fc0bee7bcafb24996a7d00c35b64444543"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySourceBackedContentOnlyFormattingUpdate (cyclomatic 15, cognitive 14): applySourceBackedContentOnlyFormattingUpdate has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ce9f960ce97e8f24a6ae153a1f29c57e301c347514705dbb00e4ab7839faf2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTableCellBorderStyle (cyclomatic 15, cognitive 14): buildTableCellBorderStyle has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"155fd08268b65fc77ce927bfee129f44b8bc28e83cf698d2439a6170f38cfcb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onPageFinalized (cyclomatic 15, cognitive 14): onPageFinalized has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/page-finalization/page-region-finalization.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3329b1426dab71a969da354aaec284ee14eeee9a9b393f13ae37c34eaab00b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOpeningDropCapProperties (cyclomatic 15, cognitive 14): getOpeningDropCapProperties has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/format.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30c79ac80d40f917fcb093a6727a02fa8b2f01053e88efc308da8b16adb5526"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveHyphenationSettings (cyclomatic 15, cognitive 13): resolveHyphenationSettings has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-processor.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab17147f867b687ae033c24992837b8a4d0a77eece1b0f8faeff104e32370cd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEmbeddedImageData (cyclomatic 15, cognitive 12): parseEmbeddedImageData has cyclomatic complexity 15 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/image-data.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c933a9cf4af7fe125c87d63fd723317de41b4269d3e6aab594dfb55b498b009"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hitTestPoint (cyclomatic 15, cognitive 11): hitTestPoint has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecce7495db7d3b6e55d8597231836f70fb13324a30947501c7b4b4207387a62d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hitTestPoint (cyclomatic 15, cognitive 11): hitTestPoint has cyclomatic complexity 15 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f33e8a3b0fd9eea38fac41a318ad807aa76ad6f661293e11b4fa4e97156c148"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildWorldSimulationHitBox (cyclomatic 15, cognitive 10): buildWorldSimulationHitBox has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5af4ffcb52e0e8266b0d3d08176d88e805b1255b8cb8028a8288f7ea2d3c1dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function elementTreeHasPhaseHandler (cyclomatic 14, cognitive 28): elementTreeHasPhaseHandler has cyclomatic complexity 14 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2bd683693e6a179e2d24383a54977030affa5792465a1ead4c3f5b4b7f986d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSourceNode (cyclomatic 14, cognitive 26): findSourceNode has cyclomatic complexity 14 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/scripting-fixtures.spec.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fc7627153823a9f40942738e2022536da025b4e2216d3408755144666ac046"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCarryOverObstacles (cyclomatic 14, cognitive 25): buildCarryOverObstacles has cyclomatic complexity 14 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":2622}}}],"partialFingerprints":{"codehealthFindingId/v1":"561e9ba0af802cb33db3febdb669a9efda02a68bf7b1a1df7db30f609d4d18de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 23): (anonymous) has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad5ec4738be86ed5af61a6f469b3a6f7077bbce7850c1f7cd381ffa1f31e547"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function supportsCluster (cyclomatic 14, cognitive 23): supportsCluster has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/text-delegate.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"85602b3f6947477593cfb36b1b5291b695e81f4d93da1364680c676a5644312b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 22): (anonymous) has cyclomatic complexity 14 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd7502da02df50331247f156a6a9bb72a2aa3e917eb75a444d881455c3fc196"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeClipAssemblyMembers (cyclomatic 14, cognitive 20): normalizeClipAssemblyMembers has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/spatial-field-capability.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee7720031a2254672b4055387fad922228e7202f0eb86cb88f0c35d86793680"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findWinningPageOverride (cyclomatic 14, cognitive 20): findWinningPageOverride has cyclomatic complexity 14 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/page-finalization/page-region-finalization.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c58bb39f1019ced2bfbcbbbadb9803b99f1314beab1e1d835cdd8c4c6327ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scoreListHitCandidate (cyclomatic 14, cognitive 17): scoreListHitCandidate has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bcf179596dace2e67bccddc3b11bd7239c7ccfdf0050f16468cd7cedfa030c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trySplitHostedRegionTextPlacement (cyclomatic 14, cognitive 16): trySplitHostedRegionTextPlacement has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"96151dbc014c4db50e5b6fe6a96cc46bc4d63fb3724c2494a75a951ea860e6b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldReserveItalicRunEndInk (cyclomatic 14, cognitive 15): shouldReserveItalicRunEndInk has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-processor.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a3b1801cc0475ede747bb56757f0490fd4a0e495d03d9a06e0c82c92314b57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 14): (anonymous) has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"080a951af5789f7241d3c31691ab01e5312674bff83552161b3ebb911c0f6451"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveActorRefFrontier (cyclomatic 14, cognitive 14): resolveActorRefFrontier has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"f751e745db1c42b531f19ac6dd7ea763bd3ef883e4b7b6000c91e56e63897368"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createContinuationFlowBox (cyclomatic 14, cognitive 13): createContinuationFlowBox has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-flow-splitting.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c691b60f0702beb769a6757b10e3cc92313cd773022f8baea2f3020d63415bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSourceRef (cyclomatic 14, cognitive 13): buildSourceRef has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/harness/spatialize.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"864a11e9b9693389b09b2286fbc46b9ba760e60356ce847da7f57d50254e3e4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/harness/spatialize.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaf2c3b98de54ec38b3d34b7a3c8f4244f709cc62e56579384b8cdf56f9ff00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeFormattingSourcePath (cyclomatic 14, cognitive 12): resolveRuntimeFormattingSourcePath has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/spatial-grid-packager.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"641ef4fabf8b9965c6df94f86d52fb94309bf68eb87ee3941b759348e7cb56bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"1028c2f5779b6d6e6a4f99c9288031137ab324f8f23f932ea7b88aa9589b5577"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeClipAssemblyMember (cyclomatic 14, cognitive 9): normalizeClipAssemblyMember has cyclomatic complexity 14 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/spatial-field-capability.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13a48c528aa2201c7384a6b9c900d7acd11a1490efb419792c9e7b6adb361e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseYamlBlock (cyclomatic 13, cognitive 27): parseYamlBlock has cyclomatic complexity 13 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7c11ede8e4cfd91f21ba2d192410bf34bb451700fdf82d13d25d0e7f70e035"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 25): (anonymous) has cyclomatic complexity 13 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/font-registration.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e570a3b7eec7290ca7d97379ddaa7ebe93b51128a8b7c50c371f2d44548c49c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tryPlaceHostedRegionTextActor (cyclomatic 13, cognitive 21): tryPlaceHostedRegionTextActor has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e065fceb7a522b119dd30e6a1cac3f7e682af56cbd5ba3c65341d35a47ed85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 19): (anonymous) has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-segmentation.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85cbe4e7ece03b144db6605f375c6979ff9ff82f209abd3f6d86301045fee0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 17): (anonymous) has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/src/index.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd12956119023d75c9efdcde804a8348ec45c86331344dbf1d27a030fea83780"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveContainmentSlotsForLine (cyclomatic 13, cognitive 16): resolveContainmentSlotsForLine has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/spatial-field-reflow.ts"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d065144869d4c9c024642e7651e45692bc51accc6006da02999185c46875dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateManuscriptCompliance (cyclomatic 13, cognitive 16): validateManuscriptCompliance has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/validator.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe809a3cdbc8bc05ec10637824f9b9bb0cc14ac46c170777ed2f7cb3d351987"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateZhManuscriptCompliance (cyclomatic 13, cognitive 16): validateZhManuscriptCompliance has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-zh-manuscript/src/validator.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3d0e33ea75124effadedab2723e584bf0f38f91a03ab6e04ebc262c7d2ded5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showShapedGlyphs (cyclomatic 13, cognitive 15): showShapedGlyphs has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/canvas/src/index.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"03faeba5fb0289054f5e3821dca08affa087d47283cc07bc3245d63a7fd49b72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSimulationComplete (cyclomatic 13, cognitive 15): onSimulationComplete has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/transform-capability-artifact-collaborator.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"241a0f667df2c29f0fef8e6787c5476552a73fdd41aeb0615382739e5e603c36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveLines (cyclomatic 13, cognitive 15): resolveLines has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":1277}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d45c0cd20edd938c9b023be69a48549a97a547fc173b178920d6a8101d30c58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePlainLayoutInfo (cyclomatic 13, cognitive 15): resolvePlainLayoutInfo has cyclomatic complexity 13 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-tokenizer.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cdf1b9f49491fd853938462184a48c138a63e0d54da6c43f5d7f088bc1daa1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/box-paint.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc259c9de7d14a463d247cee301fa8be7868f3a3a729030fd680b0bdf6f0079e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildDialogueTurn (cyclomatic 13, cognitive 14): buildDialogueTurn has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-screenplay/src/format.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f42359928ef3d8ab25480cf662afd6311e0ab1e5dcde5c024bb4d98d276f303d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function showShapedGlyphs (cyclomatic 13, cognitive 13): showShapedGlyphs has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf-lite/src/index.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fb4b7b3d2d500ab26e0e1f29e3f07ad41929f64e3da76139d65d66b2f52a7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redrawRuntimeActorThroughHosts (cyclomatic 13, cognitive 13): redrawRuntimeActorThroughHosts has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"967dc3558197d60f031e2e51ef4604daf134f4beb1eaf78dfc13ccf77e7a6e5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleObserverGeometryAtCheckpoint (cyclomatic 13, cognitive 13): settleObserverGeometryAtCheckpoint has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/core/observer-settlement.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5581ef49e01039e6ee1d36dd216e7f9ea53c7e423fd876acb3d82d06f5d700a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f456edf3be7c9de7b0469fd734bbd00d99f56b6f5cecc41794acb8e8ddbbd0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":2327}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e74882bb4a154d6f948cd18dc85997e892ab993e457d285386661c23b47f407"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2cf376e065b056f47ca5ec806d8e3af1b04a94692c47b009c3e64ca45d0786"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function growExpandingProbeForNode (cyclomatic 13, cognitive 13): growExpandingProbeForNode has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"158dfa28bb874102f08da761fb598729c994bcc03702da9f9bf73208b61aed03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function growExpandingProbeForNode (cyclomatic 13, cognitive 13): growExpandingProbeForNode has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-zh-manuscript/src/format.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"6acd3f676d013d6907c386e985e40cfc0633381314c258306bf859cd545dfe98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotBox (cyclomatic 13, cognitive 12): snapshotBox has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/temporal-presentation-collaborator.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43a8b8fa61caefdb32470660297c2da72935f405a8a619a98105f55a1435e62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeListElement (cyclomatic 13, cognitive 12): normalizeListElement has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/normalized-list.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4834ce9cfe636eb55bfbacded4e84c7e1da6266ec6ee8ed97a43d425105750"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeMotionDirective (cyclomatic 13, cognitive 12): normalizeMotionDirective has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/spatial-field-capability.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"793bfd490eb17ec89273e326f7ead53b97ed5a59075c450754ee0d2ed4e715e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 13, cognitive 12): (top-level) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/session/session-runtime-types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f1c77ee5fff024ccc3807915df8e3d0a3b9222b3036099f73ce804b010e2ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createBlockObstacle (cyclomatic 13, cognitive 12): createBlockObstacle has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/harness/spatialize.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"1109a9e4a7d9228557be4a7d3dc0fcf34ca86a6faf05ca9090ba5ee9f42ab02f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCookingStageVisual (cyclomatic 13, cognitive 12): resolveCookingStageVisual has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/support/reactive-proof-packagers.ts"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"c460dc9c6c5fbd70db0d18dafafea73b5dce065488da1924bd38f0b6207c78a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeRuntimeReplayUntilOptions (cyclomatic 13, cognitive 11): normalizeRuntimeReplayUntilOptions has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"182688f7935447d995bfbffecf13348395cccf4cdbe28c7a1a7ff01ee6e04b6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareSpatialFrontiersAscending (cyclomatic 13, cognitive 11): compareSpatialFrontiersAscending has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/actor-communication-runtime.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3395f95f856295e856036d10e1510a4cdae360fc4cfb099c945c8c72013d7d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 11): (anonymous) has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/exclusion-field.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ef002736e245d1ec25867ccc18c48891b754193522b3a5fb98dd5a3a5a0ae5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toPaginationLoopAction (cyclomatic 13, cognitive 11): toPaginationLoopAction has cyclomatic complexity 13 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/pagination-loop-runtime.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"440d340018f2704a2a3f4af0d28987204154b2b23dec62b0d49414bc65ac3274"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/flat-pipeline.spec.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b8a676017f5664802e7d7d3031034cc3313b42f60a5d67a84ea873f2be023d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createContainedBackgroundBox (cyclomatic 13, cognitive 9): createContainedBackgroundBox has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb751d1fee9e93476b651298b8e459283dac0b54a7ff51ffd9b1b07151d02f21"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 9): (anonymous) has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/spatial-field-reflow.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"a979389bb2ed6476f4fabba1fe676b05543b53dcfaadd35e3ad957145b22c93b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatch (cyclomatic 12, cognitive 36): dispatch has cyclomatic complexity 12 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/format.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"241c215132305df8cb0f37d9f273abe08825eeef8762eead71252992b300a490"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visitElements (cyclomatic 12, cognitive 24): visitElements has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec712385cb3a05ce18fdcb2e8db7ce3868666f4076043a0023db8c65fdf8aa7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visitElements (cyclomatic 12, cognitive 24): visitElements has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6d40759309906a80fa1d40466a2538f7b4b465ad922eface637850118906fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visitElements (cyclomatic 12, cognitive 24): visitElements has cyclomatic complexity 12 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"421337f50b2d284a6f1110c967c8495ea65ec2d1be2b3ac9ba95780845beb376"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeSourceFrontierFromPages (cyclomatic 12, cognitive 20): resolveRuntimeSourceFrontierFromPages has cyclomatic complexity 12 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"557577e326b6c6b4fd7e529fad277ee1348279616dcfbd4de7ae50f7a8a460b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 19): (anonymous) has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/web/src/WebFontManager.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ba06068c649fe51f255b50088c69cb197a1c9c9dfb6dd241662fa7b4b2843a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 12, cognitive 19): parseArgs has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/dev-cli/src/index.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f249b472cf2573074e116abb744492d10dfa0a6d08754153a0b698a6542ac4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 12, cognitive 18): parseArgs has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/dev-cli/src/index.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f205817c162a34099c8605abb1a567eea91328d9cae8a12ccb5292b280155f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 18): (anonymous) has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/font-processor.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99710dfa1818ea0eed62adb628e19dee915e9c733e6c22f551fa4711333ef1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function paintVisibleCanvas (cyclomatic 12, cognitive 18): paintVisibleCanvas has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.js"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfab8f0654f6bd0e73822855e510749af61032aabdfb5709b560296001435f90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 18): (anonymous) has cyclomatic complexity 12 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.ts"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5eec77744e0fecb471a0c1fba4d732d50a511cbeb6d0451bb6ba5c2dc21182a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeRuntimeFormattingPatch (cyclomatic 12, cognitive 14): normalizeRuntimeFormattingPatch has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime-formatting.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c593a875ea7173b6ca9c772fcab169194b4eaaf0d9433a68ad896259ae31fb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitByScriptType (cyclomatic 12, cognitive 14): splitByScriptType has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-script-segmentation.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb15e523c3cf2d279498b6c9a37e23ba9d76c0de1303e78d2bc59233feea011d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawTextAsGlyphPaths (cyclomatic 12, cognitive 13): drawTextAsGlyphPaths has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/canvas/src/index.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"011438c294f634e1bed962237ea1dbbe396187b6590c15beac6cdbfea3f06894"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeBoundedWithOptions (cyclomatic 12, cognitive 13): materializeBoundedWithOptions has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcc38621046f29a0f7b50a359af61c34ec62f4b59ba81577e2e21ae6bd5a2a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshRuntimeActorHostChain (cyclomatic 12, cognitive 12): refreshRuntimeActorHostChain has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"db82200420348ae3184e64bc72cd12ac82bc69862c9c64dd08d37eca2dfbcf89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRuntimeFormattingIntent (cyclomatic 12, cognitive 12): applyRuntimeFormattingIntent has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e13de0887750b5f202dcb750615cbe75dad99873396911cd2f8211ca7a2963a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeHostedLeadListItem (cyclomatic 12, cognitive 12): mergeHostedLeadListItem has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6acce4bfbf051bc9f0dbd01758b9f977672db06c00c8dfee3c20c93d7f67ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/rich-line-layout.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"04512ddc029ad2b2b51e9dc8b2a652904d261115e3c1cafb29e55526f6846a6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreSafeCheckpoint (cyclomatic 12, cognitive 12): restoreSafeCheckpoint has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/runtime/march-runner.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3e13df81cd2aafb69d7e02eb8217252b2e44d1943dcd9c95e036996008d186"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":1900}}}],"partialFingerprints":{"codehealthFindingId/v1":"db23807f3c79dd05d949012f5edb5251f04e45638da692330491dd063e44d06f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70d614a681e385d88a20fe4ffe1c66d3d1bb5813b0a9be4a5ac506b8a555223"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 12): (anonymous) has cyclomatic complexity 12 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"807c4eaf7b0646e174c843ca0d22bf4c54717d47aaa4ca057c217ec0d6af597d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareRuntimeReplayFrontiers (cyclomatic 12, cognitive 11): compareRuntimeReplayFrontiers has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"0725a521a9824443c11ce85dcb883c85e869f08636436290e46865b568fe7b16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publish (cyclomatic 12, cognitive 11): publish has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/actor-event-bus.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b7260e46e1fb3b6a643ce29b054ed3ad3a33e3c5bb7bdc8c84f49a4d7fe06f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSimulationRunnerPass (cyclomatic 12, cognitive 11): createSimulationRunnerPass has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6adc037cf5d6bfed8ecf3d8db7c59bbae5bff735e6ff181460e311ff435f14d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeLayout (cyclomatic 12, cognitive 11): normalizeLayout has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/normalized-story.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"460bf02f3fb642ac8042dcb6a02d2ad0459addb7244f3b7a2f81d1ffab44c746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerContainedField (cyclomatic 12, cognitive 11): registerContainedField has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-field-geometry.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7881fd8fe7403801c6befd7c626e70a910fb9e7c6592eb6364e5fe63b2f5a573"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 12, cognitive 11): constructor has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ed79b57fcbe70bed6df32f83c4fe0fff9a33d66b2bd2509c739f705ccd1746"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trySplitItemAtBoundary (cyclomatic 12, cognitive 11): trySplitItemAtBoundary has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1462}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac8861382f7ee4621e46ce06d3a0046002ec1d060edf508667138eca5c4a11df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preparePaginationPlacement (cyclomatic 12, cognitive 11): preparePaginationPlacement has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/physics-runtime.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4d71b0a8fa87f7c04e13056d91b995854adf3e39af74450bf1a047c0ee4527"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRuntimeRangeFormattingPatch (cyclomatic 12, cognitive 11): applyRuntimeRangeFormattingPatch has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime-formatting.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9d3513f77751345dcd9d12127c3028bc62e1fc24357d09280c52caa1218db2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createViewportTerrain (cyclomatic 12, cognitive 11): createViewportTerrain has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/session-world-runtime.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bd2319b06315e7e6e6542d8d3216b20eac328fcdc1dc3913d17428b620d1d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldStretchBoundary (cyclomatic 12, cognitive 11): shouldStretchBoundary has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-justification.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c3fab46378ed987272769f7fb77cd7b3f891df5bf96cfaab5d45438b498865"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCJKChar (cyclomatic 12, cognitive 11): isCJKChar has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-script-segmentation.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea0756bcdc9b2fd89f029dfc5a5637d610c5c06dd739f4facd0b8873f285adb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createFlowBlock (cyclomatic 12, cognitive 11): createFlowBlock has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/harness/spatialize.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a64a7b09232509801c18095b4c2e2908e8acddd2060b470700ccc421b8c863e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/harness/spatialize.ts"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d35b818af5934ca6f170cb30af5a42f3fd7eec5fa98c16aa5df4f788abdd299"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function synthesizeWorldPlainElement (cyclomatic 12, cognitive 10): synthesizeWorldPlainElement has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ee40ae215bacb00b569cbb022d23efaf14e9eed0faf9ea35d7dcbdb7083ee8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyChild (cyclomatic 12, cognitive 10): classifyChild has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/normalized-story.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c23b8b75f52efbb02f6cf8e13e9114ef48968944f9d89e939816accbd5ee1bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime-formatting.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c15b1332837633b975760db836a1d44ba81dd98197d1427c49124134130ddc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/context-renderer.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"58adc64cbb2b7221fcd860a59250cc44e7a7fc99ab69e3e40d809cdb4cc127c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeFlowBlock (cyclomatic 12, cognitive 9): normalizeFlowBlock has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cd92ae77228ff2b651b2d66ba6aea7ebf370e67a6a6ef171da8356179002b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/context.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c764a2641f1190397008a9408b28ff4850049a8df6c1373d86b98a9d17ab77c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectCoverFields (cyclomatic 11, cognitive 18): collectCoverFields has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/validator.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb18b152c33cdc9bfd095d8013c4499516e4c839aa26fde119df148f2c96331"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectCoverFields (cyclomatic 11, cognitive 18): collectCoverFields has cyclomatic complexity 11 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-zh-manuscript/src/validator.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"85978b815bece6b8cc7d5c27fbf98f4a172f91fed3cb3094f7b2f647856ddd05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function placeActorSequence (cyclomatic 11, cognitive 17): placeActorSequence has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/fragment-session-runtime.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb8bcd55d1b563d2517d563b7273cec4181ece7e98622d904c02cfcbbfdace40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 17): main has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/sync-shared-engine.mjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3a339c135784e8715adbc5ec083462116735b0c0c372903b70abc3b3c10f3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapBlocks (cyclomatic 11, cognitive 17): mapBlocks has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/semantic.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f023f8711925fb444a2c5638b1f9bad410ad9192c89b6238f315ae767a45705"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 16): (anonymous) has cyclomatic complexity 11 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/standard-font-encoding.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01b97db417ea3afa19b29b603db08e3f4a3c1fb87f5de9534645ef48286c10b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeRuntimeReplayPageChanges (cyclomatic 11, cognitive 15): computeRuntimeReplayPageChanges has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"7856e2b12f5b86a3cf3c42c9e80cfb64ca4a3d4e251b4162ed3df204f56d3b06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getContinuationArtifactsWithCallbacks (cyclomatic 11, cognitive 15): getContinuationArtifactsWithCallbacks has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-flow-splitting.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5d75cffd6a23833792bda96a97500748219582ea0778db4cdc86fa1d7d88c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyWrapperInlineMargins (cyclomatic 11, cognitive 14): applyWrapperInlineMargins has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/rich-text-extractor.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"27410426488ed60274354f224f0415ab2da0bc1b73805814e560266a8a56c9f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function step (cyclomatic 11, cognitive 14): step has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/simulation-loop.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bed3e2a789c2ad8eaf97509ec6fb2860e3e12fcfe1778f7b3ecec7e100d7cfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateEffectiveLineHeight (cyclomatic 11, cognitive 14): calculateEffectiveLineHeight has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-processor.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"3939be6efda23ba1627a84a03d83d37fddb653b99b59daa4a7b3e9effc863def"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/rich-line-layout.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7cfe7113d50677062632ff3f78308c4eac22d5fb4806f82f5dfa959c15d7fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 13): (anonymous) has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/direction.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44608f531a55facfa0d6186518b68a08486b86b94b58b0c36159e304e496f2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderPageToCanvas (cyclomatic 11, cognitive 12): renderPageToCanvas has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/canvas/src/index.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c75cf2c25f710d6b410e258e6da32a559ce2d9ece8c173039c303251e3af20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onPageFinalized (cyclomatic 11, cognitive 12): onPageFinalized has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/region-debug-overlay-collaborator.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"968263c77b847888bc689f3c1111c9b890d6b12e020de187cc97f0e358c1535f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hitTestPoint (cyclomatic 11, cognitive 12): hitTestPoint has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"348ec203db9499d06f1167361984cf7aac321c16d3f2d9369ed44c9a2305a0f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/direction.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9050c9c7f775835a560977b59168f2e39226c192b9b93bf3418b06d6b1bac66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/rich-lines.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dd5a020665d49bb42a454fb8d4416b6a22583952312ca5eefc0ceaff036fde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 11, cognitive 12): main has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/proofs/generate-saucer-flipbook.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"976e3828a94cfbe55f50b4a599da209a1f9716eadb7177d69f8a2ef9db2bacd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materialize (cyclomatic 11, cognitive 11): materialize has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/spatial-grid-packager.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b18a34d9b21ae70f8c04f332ce08329c1f2614a84edd78e2c4f743667b0d1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveSurname (cyclomatic 11, cognitive 11): deriveSurname has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-zh-manuscript/src/validator.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9136add5f87b515fb9e913fa74f135799da6c3de931e48b7c2250d6af6f88a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measure (cyclomatic 11, cognitive 10): measure has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/scripts/text-measure-server.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7801c59e41710dbc8400109c83ae3e4223912df94b6e4a3f5141ab03efca8a1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeRuntimeReplayFrontier (cyclomatic 11, cognitive 10): normalizeRuntimeReplayFrontier has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd4ea99a15cb9991ff7ce49a766b52973e4827ae1162ed00e731688909f36ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 10): (anonymous) has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb17de4da07b7ff96001e4ad62d8148afce8d4cd6e9e25a16643776aa6fd2415"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queryBand (cyclomatic 11, cognitive 10): queryBand has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collider-field.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d9f762296edb27c66959b2375e021f105b431a8be0621b098d9884508abc1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function materializeImageFlowBox (cyclomatic 11, cognitive 10): materializeImageFlowBox has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec88c5b076fe77e5b181859b7a357a841db03655ae8bd7bd9123c5c41cb90ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveListOptions (cyclomatic 11, cognitive 10): resolveListOptions has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/normalized-list.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f628274c1ced8dc2d769a38b4dd28ebd7c39ab460c0d04e1390116c701621a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureRuntimeGeometrySignature (cyclomatic 11, cognitive 10): captureRuntimeGeometrySignature has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3976511ef7836ab205020dae593f7397856fe019ae5ccb9b13c0dd5c574e1a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldPreserveHostedBoxSourceId (cyclomatic 11, cognitive 10): shouldPreserveHostedBoxSourceId has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0c2ed6624fd782edcb962f573b6865ad0042ba03ea0b2bbb7a8badeed1cd7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPoorHostedRegionContinuationStart (cyclomatic 11, cognitive 10): isPoorHostedRegionContinuationStart has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d25c1b7add7ed700901e4d4cff8aa8103514e736a5fbade031438a5f3c4fa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldPreserveHostedBoxSourceId (cyclomatic 11, cognitive 10): shouldPreserveHostedBoxSourceId has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"485725f675a08c4d8c14def3d51154d2ea90cd92657eb4a3d9d5fc3c4db0386f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createViewportDescriptor (cyclomatic 11, cognitive 10): createViewportDescriptor has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/session-world-runtime.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"466d618a88beaa5a7806b79a6dd7849a08469fea77fb514b946e3c424715d540"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderedFirstLineBaseline (cyclomatic 11, cognitive 10): renderedFirstLineBaseline has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/engine-regression.spec.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"58fcf81d59e4b59c2ad92ddbbe4b8907e09eb79d77bee10227737a0b17fc0638"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stepSimulationTick (cyclomatic 11, cognitive 10): stepSimulationTick has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/support/reactive-proof-packagers.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"284c5761fc3e213ea94cdd085c85197e195c050afd0abde815d46ba9176824ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createDynamicPackager (cyclomatic 11, cognitive 10): createDynamicPackager has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/support/reactive-proof-packagers.ts"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f8d4921669b017a1771f6fe96636ab6fc8c15995b9bdcfab68539f6b1f6436"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 11, cognitive 10): handle has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/format.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae2c169020918406ec963d0afde3904cb1295579a0976ac05ef1a2dc5953dce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeFormattingActor (cyclomatic 11, cognitive 9): resolveRuntimeFormattingActor has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fc2418aa80acaedf6109b85bde14c7b492484a4ac2a302549a2e6961ef6516"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishActorSignal (cyclomatic 11, cognitive 9): publishActorSignal has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/session/session-live-runtime-host.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8cb9f7927b2cb98523f6953549307674183741b8c4ff646e552822191fa446b"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/font-management/afm-tables.ts: 8162 lines of code: engine/src/font-management/afm-tables.ts has 8162 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/afm-tables.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d1b2c3fbe8fc08a536d53d0e6458bc7245781f7fc44b4b40c958a4e82a85ce"}},{"ruleId":"R3","level":"warning","message":{"text":"contexts/pdf/src/standard-font-data.ts: 4147 lines of code: contexts/pdf/src/standard-font-data.ts has 4147 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58c3ad1fc05a94a562b778f3f68ee81073de224ecb42e194b8c7c4f3396af4b"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout-engine.ts: 2518 lines of code: engine/src/engine/layout-engine.ts has 2518 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"000cc86bbf37efbbddca24cf5766e9272097f46189f5b14c0c00665564988bb3"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/packagers/story-packager.ts: 2516 lines of code: engine/src/engine/layout/packagers/story-packager.ts has 2516 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"083d15bf49d49c5c41f91c27c0e1574c867fe1d2709e7b7d1b6effcc62b4683f"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/packagers/list-packager.ts: 1801 lines of code: engine/src/engine/layout/packagers/list-packager.ts has 1801 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/list-packager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea64948ea9fc4a48d80f4842f88079c8038b8f7ff9364a7ea81b72c37e37abcc"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/layout-session.ts: 1754 lines of code: engine/src/engine/layout/layout-session.ts has 1754 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba73b20ebdb0ae269a1917e0a50402d15df65d6add92195dc659f5167f79f17"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/document.ts: 1646 lines of code: engine/src/engine/document.ts has 1646 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca51ca19fe6c8d5e45f64c2a5da50728ed5650f1976a45e730a87a0898f3f8e6"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/layout-core.ts: 1518 lines of code: engine/src/engine/layout/layout-core.ts has 1518 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4d590d9cf9f2b8c66883a4ec879705d24d62bd4eb7de660128cdf44cc1da17"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/runtime/simulation/runtime/march-runner.ts: 1190 lines of code: engine/src/engine/runtime/simulation/runtime/march-runner.ts has 1190 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/runtime/simulation/runtime/march-runner.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed3ccf2675bd56aaa7b725820f697eb81d99ec24410e095cfc0076ca80c05ff"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/packagers/hosted-region-settlement.ts: 1166 lines of code: engine/src/engine/layout/packagers/hosted-region-settlement.ts has 1166 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c312ed6b4db7959628115e414b1b63269d012714dfda102ddca7e358491200"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/interaction-model.ts: 1094 lines of code: engine/src/engine/interaction-model.ts has 1094 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/interaction-model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f667270d5aaebfaf00f79764ad89393b6a168c56f27d6b58d14d77424b15b40"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/packagers/script-document-packager.ts: 1091 lines of code: engine/src/engine/layout/packagers/script-document-packager.ts has 1091 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5366553b2dfc708206b8561836f1300031eb77d14ce505893eed92ba0460852"}},{"ruleId":"R3","level":"warning","message":{"text":"preview/src/index.ts: 1045 lines of code: preview/src/index.ts has 1045 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1face189ed5ba711c180fd1468b897fb1c85386842b7569d32478cb82c7c1e"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/layout-table.ts: 1037 lines of code: engine/src/engine/layout/layout-table.ts has 1037 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a91c9d0da3f936146cbf819f1f9e04b672ee40ecca17198b636446a0d8a061"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts: 1036 lines of code: engine/src/engine/layout/packagers/scripted-flow-box-packager.ts has 1036 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/scripted-flow-box-packager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c38b0fb89b6f57e30350add0f05faf6f731f162d989766c9147100c936a5b6"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/text-processor.ts: 861 lines of code: engine/src/engine/layout/text-processor.ts has 861 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-processor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3be4a51b6970fb344d571a869d08d55b0a664a762adb2d625c77e2918658b02"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/transitions-runtime.ts: 783 lines of code: engine/src/engine/layout/transitions-runtime.ts has 783 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/transitions-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed1080ffd2eb50103220d94d4675f5a544035b1804c0a4ddbdbb0b78117d91a"}},{"ruleId":"R3","level":"warning","message":{"text":"contexts/pdf-lite/src/index.ts: 765 lines of code: contexts/pdf-lite/src/index.ts has 765 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf-lite/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42338c056da53e9dd0b6446f76857c4d4745094d46671cd6cef72f95aabd2ce"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/packagers/dropcap-packager.ts: 728 lines of code: engine/src/engine/layout/packagers/dropcap-packager.ts has 728 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/dropcap-packager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"213cb5bfffd98bf479237282fa103ac0812fe4a7712013f42e0c86f25bc84cc9"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/packagers/hosted-region-packager.ts: 706 lines of code: engine/src/engine/layout/packagers/hosted-region-packager.ts has 706 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad528fa8466ff2a8ec74bb652c663d319e838229783e57c65ca65a7dea925b83"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/collider-field.ts: 645 lines of code: engine/src/engine/layout/collider-field.ts has 645 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collider-field.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5518fcc0b3128621b1eca06d8bb1c8b457c7f4c3ba2d18f0460346a09c73d1f7"}},{"ruleId":"R3","level":"warning","message":{"text":"contexts/canvas/src/index.ts: 641 lines of code: contexts/canvas/src/index.ts has 641 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/canvas/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6d79bddd08df712581bffbdd437ac1f69fa63da868fc4533075ab9f8a8b1dc"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/spatial-field-reflow.ts: 635 lines of code: engine/src/engine/layout/spatial-field-reflow.ts has 635 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/spatial-field-reflow.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4964114416b28beca25a508c70c94a509a3fe26ed4b01d887efe33605029f369"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/actor-communication-runtime.ts: 631 lines of code: engine/src/engine/layout/actor-communication-runtime.ts has 631 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/actor-communication-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad02e9ff2ca760dd1b2b05ee63434af5f8cec3797ec1d55ddd589601a6debaf"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/text-wrap-core.ts: 616 lines of code: engine/src/engine/layout/text-wrap-core.ts has 616 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-wrap-core.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3959f450d2cf6f208dd2c05f7cd6d5988c32e89d0ba7b3c85d3f20dc92dcbab0"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/spatial-document.ts: 594 lines of code: engine/src/engine/spatial-document.ts has 594 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/spatial-document.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c69edf13b2c85d9d07df353170d003adc595798dcb8e253aa40be3c1470e0b"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts: 587 lines of code: engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts has 587 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdc0379148e71d5e61650131fd5426619b82251459c260b0b2fb67648182a60"}},{"ruleId":"R3","level":"warning","message":{"text":"transmuters/mkd-manuscript/src/format.ts: 584 lines of code: transmuters/mkd-manuscript/src/format.ts has 584 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a061a13ffdc1ed05157c53fa94be4956391bdd43207ec96249ddb89d8c1101bb"}},{"ruleId":"R3","level":"warning","message":{"text":"transmuters/mkd-zh-manuscript/src/format.ts: 581 lines of code: transmuters/mkd-zh-manuscript/src/format.ts has 581 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-zh-manuscript/src/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdebf925c195f8084fc4892eadae6144a28276188ba30e61d196013d66edf71c"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/session-world-runtime.ts: 559 lines of code: engine/src/engine/layout/session-world-runtime.ts has 559 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/session-world-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e25579da055f20d2f3f020bfd00386e861ef0efc4d9a56b4da1a47f06d8d27f"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/runtime/page-finalization/page-region-finalization.ts: 526 lines of code: engine/src/engine/layout/runtime/page-finalization/page-region-finalization.ts has 526 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/page-finalization/page-region-finalization.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ea20450b75d41e762beb9c79fd9fc909437a2d686db23c68f797909518a578"}},{"ruleId":"R3","level":"warning","message":{"text":"documents/assets/specimen-blueprint.overlay.mjs: 507 lines of code: documents/assets/specimen-blueprint.overlay.mjs has 507 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/specimen-blueprint.overlay.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72edbcbbd63700a184f6ed471e1503fb6001a16c531c2e168398fd73d072c621"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/context-renderer.ts: 497 lines of code: engine/src/engine/context-renderer.ts has 497 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/context-renderer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bb6497f792e84b62fbc915cb274ae308d0db20e2a6dd2df46e3c296b09029b"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/physics-runtime.ts: 496 lines of code: engine/src/engine/layout/physics-runtime.ts has 496 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/physics-runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dfa91a2e15a41954d3b792d116a44d8ad76cd5dbabc77edd25fa4aadb81db1"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/render/box-paint.ts: 469 lines of code: engine/src/engine/render/box-paint.ts has 469 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/box-paint.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fde5d376486dc22367afb4cbabc23bbdd28ecd11380384159abf9eaf86eb000"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/runtime-formatting.ts: 432 lines of code: engine/src/engine/layout/runtime-formatting.ts has 432 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime-formatting.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1aad7b5b775810981c80f353b2b278a0fc2184d7c336c4bc3fa2d4fe209b47"}},{"ruleId":"R3","level":"warning","message":{"text":"engine/src/engine/layout/packagers/packager-types.ts: 415 lines of code: engine/src/engine/layout/packagers/packager-types.ts has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/packager-types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ccb71a1124f853029aaef6ad6f40153afbe5ed6d28eac22e8b5fb4502266aa"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-data.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74f28b233f886d9f3a63e9a0c927c552ca6b5108598ab4239c188ed27bed9ab"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f19a789325f56dd39e0c949ea3d6e5e1bb4e3f636f3cd5d95e6385baa2ccc0bc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f44ba8cb3eda7eb0352c8a048814c36ab99cfe4ac6b269edbeeb77320e13a21"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13aaab83e9cb0a2741c1b3bfc8319eb968f2704cddf2d08269cc3d933e8152ac"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/canvas/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"598fe7489603d8b0f33d41bd29bc11e27670110e9bbfc7253809f89f9c2becd3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74983a329d47c4802a6907fc8362c5fb58cf7e5a10932537635c0016d0535786"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-zh-manuscript/src/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"677d46055901ee1810a0f66d33e9f71da53f5b31ded131653fc5d849f5933f42"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/specimen-blueprint.overlay.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"194914ed9466f006724ed732f632a008a056194e391462e77433dc90438be016"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-academic/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a09f161c82149acb112f6e163cf56e82d95f7e9fc13eea0b81e48decd190ebc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fa01fad419ee94c04a725c430188d47ed112e05cdf69676741c09a773994ae"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/generate-afm-tables.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bd9a2ae83b526d9bd3ac91fefd6c1efa2d68f4a3aa571826261c7dcc153779"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd289b85723c5e7b89fd294d7fe8b429dbc22265ba07a279e1fc94de2478e57"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/web/src/WebFontManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0231a3b165fc90f866d91eaf50e0b159872c4d5f94100966b2e7bfa6ccdf6662"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-literature/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"629f125cd540c9dbb572d388739eaef08e9afcbad95b07c67b147fcf50712337"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a073b1a69de11b303d13246c9b109a95207eb6d487da202c306281dd2afeed5b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-screenplay/src/format.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5032e2ebc49bd48c649c9335a1b7fa27cc6be543ef1d2e6ce7b7f7751855400b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/dev-cli/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7f2ec66797b5b8ce1a660161f4e8f5b10429b16836dfaab27f1133e651188d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-screenplay/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d96c21f5419f17c791af824d8ed19d1f8110c6ea6312d705abcdee7e520d82"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/semantic.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b4bfb2d945d23f526f6182920f404f9b4597a8ee2703cac59f256ccd6f14c1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/inline.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14557251638f161cea8429b60a569d125a60dfe4e893fa0d193c5dd7da4c1eaf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cli/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04017a96e664792776a40b64f80737d75a88e968804ad666a9cb8a2d642133fc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tools/image-to-assembly.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"377a139b9dbbebece51a1be64be1a7fef14a8d733f8508dea81071ca10165f2a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-zh-manuscript/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"708b7e358e0cbcf7ed550a5d088b8501e82e29a6299c6435d6fb32b40a56b536"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/context.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4215876ed5653b81c4181eff859eafc1b4f0ccbd11ce9417323d02739946cf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-encoding.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a67ecddfe447fc46fe79db318b5d2f2ccc3f6bfa9abb963c877497752e2379"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/dev-cli/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f983d4ca4f5d5052a3d627031f6dcc476acc51d2f07b441ab3a1b3d8bf2a9f2e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-mkd/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5c90eafedc620d43f3b9169c830c9f63119f510f36cfb2e81c582396c53d9a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/newsletter-layout-robust-continue.overlay.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f41b2f4ec84097ffcfd7d5e77208f9e69979eebf3200fd09ea6129ac298c07a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac12a5df11d74b3b8fd4c87a1d24883c8559a9b7fe3358a2c4d4301534070099"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/scripts/text-measure-server.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74591f9ac78ec24f3ca9bd15c6374abd02f0040ce146bd5c0e11a4dd99284632"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/theme.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb964915442544657fc717ff371c36c080615ee23fe28e1028d0ca6c94f5c17"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tools/compact-exclusion-assembly.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c897126d55cd78e0cb82c16797d4ddc1bb9629406b246346b08f1c7ab2748e81"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-zh-manuscript/src/validator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"788261765ddd7eb442837c130e861949d709fd27d9fe371d25feb5ea018fa30a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/web/src/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3765067a43627a1df9eeffb95a806476f32683c471874cceaa89600d20719b94"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pressrun/src/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"863213f6dbc2ce354d6a023c5edf16029969b171a432adc81e9f14416b59ffb5"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/validator.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4aa8d5f57a133b0b43a0eaaf9e128d6b437acf4ee4fd5e6278661b355ea8e9"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/web/src/PersistentStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e1f217fbea43035d2f3971c077e72238108fdbda7db192222a54b8906c80af"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/scripts/build.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfabca667291908f9ca9c7823eb5eb3029b0b5e261bd1c44b70c8fb2e4fd28ef"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/scripts/playground-server.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6314fc1feaf14839d2a4508159291b72260425767ba3a8380052ad0d2facb03e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-metadata.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"425aa08009f8c9877eb5c6ff5da14dbbb76640e6c7097912b925aba88df19f41"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/parse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e7149444c4e80ae2b8e2f9ca1019eab97d914218437d3378a5ea81bd85eb46"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/numbering.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"990f2cb45e7956c466ce24da77a5d17ad26fe6cb1fdaf9ec02287f8f54ee627f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/web/src/DownloadLimiter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bde5b78fa9e17a9335dcb3c05f6364e1bd9d4d94ec59cf6008e9b3641cdac0e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/scripts/generate-registry.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"904f6e268d2f871942fabfe6efc8a86929ee1d7827ac8943f61d70f0b7d43f8e"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"R6","level":"warning","message":{"text":"Type errors in this package cannot fail any build or CI step: \u0060contexts/dev-cli\u0060 is TypeScript, but a type error in it cannot fail anything this repository runs: its \u0060build\u0060 script (\u0060esbuild src/index.ts --bundle --packages=external --platform=node --target=no\u2026\u0060) compiles TypeScript with a transpile-only tool that strips types without checking them, and no script, config or CI step of the package runs \u0060tsc --noEmit\u0060 or another type checker over it. Add a type check that can fail \u2014 a \u0060typecheck\u0060 script running \u0060tsc --noEmit\u0060 (or \u0060vue-tsc\u0060/\u0060svelte-check\u0060) that CI or the workspace pipeline runs, or a build step that checks before it bundles."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/dev-cli/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b629212e16511f6a208f98b3de02386d18e6e970918aaabd2a685419e4d6f0a"}},{"ruleId":"R6","level":"warning","message":{"text":"Type errors in this package cannot fail any build or CI step: \u0060transmuters/dev-cli\u0060 is TypeScript, but a type error in it cannot fail anything this repository runs: its \u0060build\u0060 script (\u0060esbuild src/index.ts --bundle --packages=external --platform=node --target=no\u2026\u0060) compiles TypeScript with a transpile-only tool that strips types without checking them, and no script, config or CI step of the package runs \u0060tsc --noEmit\u0060 or another type checker over it. Add a type check that can fail \u2014 a \u0060typecheck\u0060 script running \u0060tsc --noEmit\u0060 (or \u0060vue-tsc\u0060/\u0060svelte-check\u0060) that CI or the workspace pipeline runs, or a build step that checks before it bundles."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/dev-cli/package.json"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5a69a428260fe832064c68732d5836881bdf00cb5599cd24c03fccc8211d90"}},{"ruleId":"R6","level":"warning","message":{"text":"Type errors in this package cannot fail any build or CI step: \u0060transmuters/markdown-core\u0060 is TypeScript, but a type error in it cannot fail anything this repository runs: its \u0060build:js\u0060 script (\u0060esbuild src/index.ts --bundle --platform=node --target=node18 --external:yaml\u2026\u0060) compiles TypeScript with a transpile-only tool that strips types without checking them, and no script, config or CI step of the package runs \u0060tsc --noEmit\u0060 or another type checker over it. Add a type check that can fail \u2014 a \u0060typecheck\u0060 script running \u0060tsc --noEmit\u0060 (or \u0060vue-tsc\u0060/\u0060svelte-check\u0060) that CI or the workspace pipeline runs, or a build step that checks before it bundles."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4c0c80284c5049c15f0f8ccf34738d43e5efc3391860b174d45f312166e1ec"}},{"ruleId":"R6","level":"warning","message":{"text":"Type errors in this package cannot fail any build or CI step: \u0060transmuters/mkd-academic\u0060 is TypeScript, but a type error in it cannot fail anything this repository runs: its \u0060build:js\u0060 script (\u0060esbuild src/index.ts --bundle --platform=node --target=node18 --external:@vmp\u2026\u0060) compiles TypeScript with a transpile-only tool that strips types without checking them, and no script, config or CI step of the package runs \u0060tsc --noEmit\u0060 or another type checker over it. Add a type check that can fail \u2014 a \u0060typecheck\u0060 script running \u0060tsc --noEmit\u0060 (or \u0060vue-tsc\u0060/\u0060svelte-check\u0060) that CI or the workspace pipeline runs, or a build step that checks before it bundles."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-academic/package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd48e688d60a15d1bacc5234167f720839fb6c6758fadb415f00faf1efdce1e6"}},{"ruleId":"R6","level":"warning","message":{"text":"Type errors in this package cannot fail any build or CI step: \u0060transmuters/mkd-literature\u0060 is TypeScript, but a type error in it cannot fail anything this repository runs: its \u0060build:js\u0060 script (\u0060esbuild src/index.ts --bundle --platform=node --target=node18 --external:@vmp\u2026\u0060) compiles TypeScript with a transpile-only tool that strips types without checking them, and no script, config or CI step of the package runs \u0060tsc --noEmit\u0060 or another type checker over it. Add a type check that can fail \u2014 a \u0060typecheck\u0060 script running \u0060tsc --noEmit\u0060 (or \u0060vue-tsc\u0060/\u0060svelte-check\u0060) that CI or the workspace pipeline runs, or a build step that checks before it bundles."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-literature/package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5af4a1ffb762afff629f49c0a160e05934e314723b9eb98ac6668dd9085c98"}},{"ruleId":"R6","level":"warning","message":{"text":"Type errors in this package cannot fail any build or CI step: \u0060transmuters/mkd-manuscript\u0060 is TypeScript, but a type error in it cannot fail anything this repository runs: its \u0060build:js\u0060 script (\u0060esbuild src/index.ts --bundle --platform=node --target=node18 --external:@vmp\u2026\u0060) compiles TypeScript with a transpile-only tool that strips types without checking them, and no script, config or CI step of the package runs \u0060tsc --noEmit\u0060 or another type checker over it. Add a type check that can fail \u2014 a \u0060typecheck\u0060 script running \u0060tsc --noEmit\u0060 (or \u0060vue-tsc\u0060/\u0060svelte-check\u0060) that CI or the workspace pipeline runs, or a build step that checks before it bundles."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed14d29e7bf460a088887d809644ea194ce0a108b696c1c3f5be422a8b4c8e6"}},{"ruleId":"R6","level":"warning","message":{"text":"Type errors in this package cannot fail any build or CI step: \u0060transmuters/mkd-mkd\u0060 is TypeScript, but a type error in it cannot fail anything this repository runs: its \u0060build:js\u0060 script (\u0060esbuild src/index.ts --bundle --platform=node --target=node18 --external:@vmp\u2026\u0060) compiles TypeScript with a transpile-only tool that strips types without checking them, and no script, config or CI step of the package runs \u0060tsc --noEmit\u0060 or another type checker over it. Add a type check that can fail \u2014 a \u0060typecheck\u0060 script running \u0060tsc --noEmit\u0060 (or \u0060vue-tsc\u0060/\u0060svelte-check\u0060) that CI or the workspace pipeline runs, or a build step that checks before it bundles."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-mkd/package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c136c6df379218c83c26750bcb8c640f52c09aa35da80f8ef994a1ccb436ae07"}},{"ruleId":"R6","level":"warning","message":{"text":"Type errors in this package cannot fail any build or CI step: \u0060transmuters/mkd-screenplay\u0060 is TypeScript, but a type error in it cannot fail anything this repository runs: its \u0060build:js\u0060 script (\u0060esbuild src/index.ts --bundle --platform=node --target=node18 --external:@vmp\u2026\u0060) compiles TypeScript with a transpile-only tool that strips types without checking them, and no script, config or CI step of the package runs \u0060tsc --noEmit\u0060 or another type checker over it. Add a type check that can fail \u2014 a \u0060typecheck\u0060 script running \u0060tsc --noEmit\u0060 (or \u0060vue-tsc\u0060/\u0060svelte-check\u0060) that CI or the workspace pipeline runs, or a build step that checks before it bundles."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-screenplay/package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfa26b6b89d831577803a06e0cb57b0c67694f8c248f2eb9eccfa6af270616f"}},{"ruleId":"R6","level":"warning","message":{"text":"Type errors in this package cannot fail any build or CI step: \u0060transmuters/mkd-zh-manuscript\u0060 is TypeScript, but a type error in it cannot fail anything this repository runs: its \u0060build:js\u0060 script (\u0060esbuild src/index.ts --bundle --platform=node --target=node18 --external:@vmp\u2026\u0060) compiles TypeScript with a transpile-only tool that strips types without checking them, and no script, config or CI step of the package runs \u0060tsc --noEmit\u0060 or another type checker over it. Add a type check that can fail \u2014 a \u0060typecheck\u0060 script running \u0060tsc --noEmit\u0060 (or \u0060vue-tsc\u0060/\u0060svelte-check\u0060) that CI or the workspace pipeline runs, or a build step that checks before it bundles."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-zh-manuscript/package.json"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b752b84049aa34afff79f0eec60dc6da42ae089863e2eef7e06bd09cdf6ae3e8"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1506 LoC): no import path from any entry point (63 application, 16 tooling, 53 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"133ed05d66ad80a12ae6c2a0a40466777c4d5e291db21521afa454ea0b61c511"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1404 LoC): no import path from any entry point (63 application, 16 tooling, 53 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9240a13be9b940471fd9dc932ec6560fe287332a2a032809002acffb202681c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~394 LoC): no import path from any entry point (63 application, 16 tooling, 53 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/generate-afm-tables.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e811f4b2d0f8906751851926d6ea700b6f5d20912b3462b81883e3a5f971a5a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~15 LoC): no import path from any entry point (63 application, 16 tooling, 53 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-delegate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"128d2906dced372a34006004bcc09079ba68dc2f94f43160278a7bd9d442a785"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~11 LoC): no import path from any entry point (63 application, 16 tooling, 53 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/browser-text-preprocessing.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcacffeeea9f253c39777af9a9b84e58e2c84d46ecb21f60d48609f06d8026c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~9 LoC): no import path from any entry point (63 application, 16 tooling, 53 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-measurer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e450d7ed1e45ee3a865f1b1ed6fbda0dbbde38ffc8c25abfdc4d145f243c770"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~4 LoC): no import path from any entry point (63 application, 16 tooling, 53 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b338394ccc91528aff1ae509c6ee186ae8e0419b79290b1d610e1865ddf9ed"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (63 application, 16 tooling, 53 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/table-packager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4ad2a458e193c52f59947c39d8892064d45129e1bc0596a183bbf8f93dd187"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (63 application, 16 tooling, 53 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-delegate-errors.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d62704e16e9aa94a3dfc7d2a04dc8d4a8b56cba01b68053c64710bb8ac257f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027STANDARD_FONT_MAGIC_BYTES\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-metadata.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb2ab983cefc49ef4d7d9f843b26d909c16d9b3a1b51957c705da580a645e5c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027STANDARD_FONT_SENTINEL_VERSION\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-metadata.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"21bb409552b209092d0c864761bac005728978d2c52653cc1c4cfd03817e9210"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027STANDARD_FONT_SENTINEL_LENGTH\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-metadata.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e31f2ff4cbb4493f5172199afd51905db24e0acff72b6de92315d840555184a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027parseEmbeddedImagePayload\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/image-data.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa986f1c55db7322bbd7df9c73013136fd87ef885e3bc15e720c841bd268961"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isTableRowElement\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"303c147b434a697e089fe339feec45c28de74cad3e9fd0450c7963ee8f8a51c4"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isTableCellElement\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f83b4865561d09477868e3885cc92eeb540279eda0d425f0517a3d9b25c206"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TableLayoutContext\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":1112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e28ef7e66bb20b7adefbcd4864c5a17e3a9115823f70044a72b98df814aafa"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027materializeTableFlowBox\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa80a1d1090d7952f20684726d9e060066559c7bb6e66da3791e26171e99baa"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027splitTableFlowBox\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"882d427e767e7c5d20cf0a815ddaf23a9d1b7d07f752c971fe788934491aa7e9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027positionTableFlowBoxes\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-table.ts"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a177c680a5b52b1ec6c3b9752d79ceca2a9962ce95b308194f269ddce2ed4c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027ActorActivationState\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/packager-types.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"91947aa8843c6c5bc6575b31f3389eed51868c43115861fbc0e0201a2283ffc0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PackagerTransformKind\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/packager-types.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a26d5aede9bddf6a3179c2e0f2632882a93f4f53287dca41373858ad69f38f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027PackagerTransformCapability\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/packager-types.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"614d3261056951cf6169371ae32bb059f8662c77ea15916b114653c67d24d509"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolvePackagerTransformProfile\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/packager-types.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d038a4bdd0d24a946db1590bbfd47441ac8d5960a0c3827d9eaa42dda857f0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027KeepWithNextCollaborator\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/passes/keep-with-next-pass.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"306fa1114122d6bc505cdffc88e2e640d0ef490af9fd5c939293656f093d4ab9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027findScriptRegionByName\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/script-region-query.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccffda4e41b0a23fca46364bc04f8f45ae507b5d45f42f14337a13281e40f0e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolvePlainLayoutInfo\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-tokenizer.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a916d48bd4890e2e70188b0fe01ad95dc6b59f5afa46b4a5e334e9c6ba02f36"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027resolveLineDirection\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/direction.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09a843021ecea1e33a74b2e7fa453bdd713f0711ce72faa5bbc2d221a96dd9a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027registerFontBuffer\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/font-cache-loader.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c001ca58a8930aa34ac3dc64484fbb5cad17d9e2214c964c315c9dffb88f28f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getFontRegistrySnapshot\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in engine/src/font-management/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in engine/src/font-management/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/ops.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0973fe52b6c06767931571e215a9384a6d6f2dc96323b0130031533261271d15"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getAllFonts\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in engine/src/font-management/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in engine/src/font-management/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/ops.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed02073b7666ace072fed32d2c69c13417abeb72cf5e6ebdd5e480c057e757ed"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getEnabledFallbackFonts\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in engine/src/font-management/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in engine/src/font-management/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/ops.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3641c66e82550792658ed5929eba503fa72b2c9b49e071277fbf03f17b0d7b1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getFallbackFamilies\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in engine/src/font-management/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in engine/src/font-management/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/ops.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"657104f4c7156af4c0a84a8d5e454c155443b15a54a3e94a8c266e4f69be3db5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027registerFallbackFont\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in engine/src/font-management/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in engine/src/font-management/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/ops.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2b2a9605b1b0eab283595de4f2a39617e18ede0f91324f1b971743c234425f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027encodeStandardFontTextToHex\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in engine/src/font-management/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in engine/src/font-management/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/standard-font-encoding.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c47af9cbbe02434f899506538fc2b967f9c71c7b20df499c428884758700914"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isStandardFontSentinelBuffer\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/standard/src/sentinel.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d865e11a2a9089bdbb82e8d1efbff3d765f01c16db5c75d99a584ce4c6fce0d0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027attachStandardFontMetadata\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/standard/src/sentinel.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6c175b6291573ae2f5c8b132a3e50337dc8b0d82de3057be32cf5573df804c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getStandardFontMetadata\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/standard/src/sentinel.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27a4b2b24801d5a233d645418ad76b6a2c694b1bbc1c20f3877337e2fde271a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027parseConfig\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/theme.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5cf69071744cd2a01aed874f6502de8b0273887f00aae0a679f6e5ba914f8b"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027isEnded\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/canvas/src/index.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa11887c26d7c4f1a84bdd61c53ea172bee8355c21e67c89e701bde7755dcca"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027PdfValues\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/index.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"1681daa3bc58d55bcfc32a219d5abdeb99494273d0255dea5b00ee33233b12e5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027OPT_SCALE\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/specimen-blueprint.overlay.mjs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab08594a02135d7ce3f9910c733a9c781ceed975931652d72481173b7ba14fa"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027fillRect\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/specimen-blueprint.overlay.mjs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d4b7007dbf68692bdd545861e607c2bfbb84fae1235ac5ef7658376b2800ae"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027optBar\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"documents/assets/specimen-blueprint.overlay.mjs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e13fb382b566a1322341cceac9fd9d842bea21f076338bfac91eb8a12d5bcbc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027listenProtocolEvent\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"479a9c710a35d60282ef27e47743eef3904edb6c460472ec5caeefa795742f67"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027createFlowMaterializationContext\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd9ccd4dfdc3ed281539155f0dbd2fd77ef3bd8b55586cdf61bf0c2d1608f0d3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027getContinuationArtifacts\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c35a344405084349e7a218f60ceceea26e5ad3d284abc76163a51756e1eb58"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027lastAvailableHeight\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a8621061be4d9bca1caa485fb5f7ce13690666fef2d03a9dec502a384363b5"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027lastAvailableHeight\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/flow-box-packager.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8731a5524ef14e69370bb02ddb9b5f331cc99b356c7a76e59b3b8ebcb777d8"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027cachedBoxes\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/flow-box-packager.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"724f65e43d580aaad253a8eb93103b1ae0289e6c93131e64d000c6c593cece1f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isHostedRegionFieldPublisher\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-settlement.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2be7a2bcafa2d665be2ba03c81e787e42da902a347cc3ae175716485503e4dc"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027prependLiveDocument\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea97b795c3ac236af0e11588db2758249096435136ae49a77d393bb152886b3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027appendLiveDocument\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f22c707a611456c33170b54bff882f72814026984ef9791ee2d31975fa854d"}},{"ruleId":"R7","level":"note","message":{"text":"Write-only private field \u0027cachedBoxes\u0027: This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state \u2014 read it where it was meant to take effect, or remove the field and its assignments."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/spatial-grid-packager.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2d3282f66f0ed3432ba2e06d5aced9bd40630f4c7aa20142e8ebef529aa7e1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027isColumnSpanElement\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":2519}}}],"partialFingerprints":{"codehealthFindingId/v1":"a088104ab436377d39b8bc05af3271d65d7d6bacfc785bbcdb9c9598b00fdfa6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027resolveContainmentStoryWidth\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/story-packager.ts"},"region":{"startLine":2549}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f917b53a702be87d6eacb9096bd2ce4b62e632cd9f30c66077bbb45ef5b9f5e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027findByRole\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3860e0b1b51fca4f63833174cf1df591e6e05329791f6efded3f9d8ada55d2fb"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027recordReplayRequest\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a010b6f7fd748ab08da66ab32971303055b57c869069da06be83c0d12158f96"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027options\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/simulation-loop.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f3829e13e787373986c8d69b09c402a497043cca380eeea3b27b36d5751819"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027log\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/module-extractions.spec.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd7b25a45d7639f2c7f63b2c36cd1c24a1a2ffdec3d01ba6e4e45282f53e796a"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027log\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/strip-layout.spec.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba11ac0692370146fcaae46d8194bcf48cdc009ee1755be2fd4b39edba2ed6ef"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027log\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/tests/zone-map-continue.spec.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e52537d800ac6c57c0b424b6751e810fa8442218a91d0a5892f64ffb387d180"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027dfa\u0027: Declared in engine/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/package.json"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"886c2fc52bb9ad626604dca24c12943855bd6fd9bc288732c555d2d6cc4fb4ac"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027restructure\u0027: Declared in engine/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/package.json"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f467f235883f6088fdf83c548e9e22b8e98c9000c6a61a9d3b24230fa7bf67b3"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027unicode-properties\u0027: Declared in engine/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/package.json"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffecbd38a58dbdab75359be58cb299df5d44a37844715072876381f648173df3"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027unicode-trie\u0027: Declared in engine/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/package.json"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f909611152ed4e34b5273ea712a5f139082219196ad8a62a52b521ed261193"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (3 files): engine/src/engine/layout/packagers/packager-types.ts \u2192 engine/src/engine/layout/layout-core.ts \u2192 engine/src/engine/layout/collaborators/transform-capability-artifact-collaborator.ts \u2192 engine/src/engine/layout/packagers/packager-types.ts (one verified cycle inside a mutually-dependent group of 37 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/packager-types.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd481587fc2278e043d3047013e23cdb467ef4dfcf500b8a828b2561b7aedd74"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060server.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/scripts/text-measure-server.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8218c86043548cbe85e8bf3d4558934d6bfd5045aba0c0a43f32fd5a52b3c8cb"}},{"ruleId":"S1","level":"note","message":{"text":"No app-layer HTTPS enforcement detected: \u0060server.listen(\u2026)\u0060 serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (\u0060https.createServer\u0060, Fastify \u0060https\u0060, Nest \u0060httpsOptions\u0060), no redirect of plain requests to \u0060https://\u0060, no \u0060Strict-Transport-Security\u0060 (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it \u2014 so a browser may talk to it in clear text. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/scripts/playground-server.cjs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d012ae6c025330c9d1964688539e77526b73d69d616602011daa4de14259abb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!value \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 engine/src/engine/document.ts, engine/src/engine/layout/normalized-list.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbe3d2c55f07a5376d462d21b9bba67edff5138fd7ac9db47b3c47b220aff88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(line) || line.length === 0\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/text-hit-testing.ts, engine/src/engine/layout/text-justification.ts, engine/src/engine/render/rich-line-layout.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/text-hit-testing.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d17ae923baae20baf45fd2494fc8ce9abf72db257733dbb381038253b4cb2f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(lines) || lines.length === 0\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/spatial-field-reflow.ts, engine/src/engine/layout/text-justification.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/spatial-field-reflow.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b4aff670f09757141400f3ac725135f39139083b5c2d2cbd726f59183cf70f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(path) || path.length === 0\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/layout-core.ts, engine/src/engine/layout/packagers/packager-identity.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5464c613b260aa7b01ef1a0158190dcd4f28d0c63016c1b368a8dc2b079e6f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(slot.elements) || slot.elements.length === 0\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea86a4db710912b901f1296c3291dfee60dda00e67b5e1d04ff55669bb22cb77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(subpath.points) || subpath.points.length === 0\u0060 appears character-identically in 2 files \u2014 engine/src/engine/geometry/svg-path.ts, engine/src/engine/render/box-paint.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/geometry/svg-path.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6d8cd6206fe73c8d9c398164705af524227d491adfdd67fb48cdfadfdd1e56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(zone.elements) || zone.elements.length === 0\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3027ed70c928e531405ccbba26d50e1bcf0ea3fc6951a90c01a58995f636a6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isFinite(rowIndex) || !Number.isFinite(colStart)\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout-engine.ts, engine/src/engine/layout/packagers/spatial-grid-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"085d732b4881a739467c3d930296fc93a6bd59016b2fa751e179e0e7163c0f3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!assembly || typeof assembly !== \u0027object\u0027\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/exclusion-field.ts, engine/src/engine/layout/packagers/contained-field-geometry.ts, engine/src/engine/layout/packagers/spatial-field-capability.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/exclusion-field.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6629393c90e6e343d02a27a013cedd93ab9f7d5b500f350f8528dfb2c7e1b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!childActorId || childActorId === this.actorId\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/hosted-region-packager.ts, engine/src/engine/layout/packagers/story-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15e535a9d233f3acad3782da5c28bef83a76f0372a52daaa1c552fed5859746"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!existing.sourceType \u0026\u0026 box.meta?.sourceType\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/collaborators/contained-content-artifact-collaborator.ts, engine/src/engine/layout/collaborators/source-position-artifact-collaborator.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/contained-content-artifact-collaborator.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0cd504e13d9b89aea0e7611fd6d63febf58199bc767e3ccdb5c0066d641f71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isCopyShortcut || !preview || !activeTextSelection\u0060 appears character-identically in 2 files \u2014 preview/playground/app.js, preview/playground/app.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.js"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"05842951f601bd07a44d734a3e0d57213297b1935178a0d8169b1d5c04f1783d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!normalized || /^data:/i.test(normalized)\u0060 appears character-identically in 2 files \u2014 preview/playground/app.js, preview/playground/app.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.js"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"380e0cb590dc531a22fc176274afdb3decd8653b6a7654c577df3d79900c8379"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parsed || typeof parsed !== \u0027object\u0027 || Array.isArray(parsed)\u0060 appears character-identically in 2 files \u2014 preview/src/index.ts, transmuters/markdown-core/src/theme.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/src/index.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa2693497016feddb95e0eaba66428ce3fbbbd660553dde87bd861e250b0355"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.flowBox.allowLineSplit || this.flowBox.overflowPolicy === \u0027move-whole\u0027\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/contained-flow-packager.ts, engine/src/engine/layout/packagers/flow-box-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6900d25602a8315aba679616b7f6f4ba296b43ac37fdb1f4b9938195134040"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!this.flowBox.lines || this.flowBox.lines.length \u003C= 1\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/contained-flow-packager.ts, engine/src/engine/layout/packagers/flow-box-packager.ts, engine/src/engine/layout/packagers/spatial-grid-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c392d55355a1c305cfdc3db0d9659cb44c6a9c5e88b48b98ca0712871935d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(Array.isArray(box.lines) \u0026\u0026 box.lines.length \u003E 0) || (typeof box.content === \u0027string\u0027 \u0026\u0026 box.content.length \u003E 0) || (Array.isArray(box.glyp\u2026\u0060 appears character-identically in 2 files \u2014 engine/src/engine/context-renderer.ts, engine/src/engine/interaction-model.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/context-renderer.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3adda1d994cb18397fe4ba49ea9fcf764078262da2231063e6b4ac27d8ae21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(cp \u003E= 0x0590 \u0026\u0026 cp \u003C= 0x08FF) || (cp \u003E= 0xFB1D \u0026\u0026 cp \u003C= 0xFDFF) || (cp \u003E= 0xFE70 \u0026\u0026 cp \u003C= 0xFEFF)\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/text-script-segmentation.ts, engine/src/engine/render/direction.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-script-segmentation.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed79f7cf7b7712b22821b56fd385fbf5d68df638b034662cac6ce4fecc8871cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(maybe as Record\u003Cstring, unknown\u003E).postscriptName || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 engine/src/font-management/sentinel.ts, font-managers/standard/src/sentinel.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/sentinel.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfa5d04434483d4ceec161be1f04edc045b8d7f9529fae0e876e3e797e2f95a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(this.config.__nodes as SemanticNode[]) || []\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b13e9be9cd16aad4dcb615d71b830bb1f3f980e4d07d8d3e858be849c062db4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(element.children) \u0026\u0026 element.children.length \u003E 0\u0060 appears character-identically in 8 files \u2014 engine/src/engine/layout/layout-core.ts, engine/src/engine/layout/packagers/contained-overflow-fragments.ts, engine/src/engine/layout/packagers/hosted-region-settlement.ts, engine/src/engine/layout/packagers/list-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee829c4c90880ec851739cc5a1d854b1c8cb801609fb44461d62e71533643776"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(node.children) \u0026\u0026 node.children.length \u003E 0\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fef3f81441a483e96afd5673fb4cdad4319f411ba2c085b066f87810719db9c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(node.slots) \u0026\u0026 node.slots.length \u003E 0\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"35853a20c4b0aaac1764b15485a93ed68e382242058016cc18d4487da22ff145"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(node.zones) \u0026\u0026 node.zones.length \u003E 0\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b879364ff10ad303e2fc59f44cae7f9e8700992a598d4c13dd8df86069a2dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(resolvedIdentity.path) \u0026\u0026 resolvedIdentity.path.length\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/dropcap-packager.ts, engine/src/engine/layout/packagers/list-packager.ts, engine/src/engine/layout/packagers/story-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/dropcap-packager.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6935c4eec5fd101a01b80b6acbcdfa516cb7bbb3af478385e0adb8c7c4869e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(slot.elements) \u0026\u0026 slot.elements.length \u003E 0\u0060 appears character-identically in 4 files \u2014 engine/src/engine/layout/layout-core.ts, engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b56e73aebc2265ccee46c87171df15983a3b3e5a1a04a6dfc03ef2f20527e1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(zone.elements) \u0026\u0026 zone.elements.length \u003E 0\u0060 appears character-identically in 4 files \u2014 engine/src/engine/layout/layout-core.ts, engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecbd1c0774eb7bcb277859d74d23964af299f0f6a274ead11e80a786bac2568f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060LayoutUtils.normalizeAuthorSourceId(sourceId) || String(sourceId || \u0027\u0027).trim()\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout-engine.ts, engine/src/engine/layout/layout-utils.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5090e0d84763b489118787377fe49ff4ed67fc298e37b9eb5f8ea702ed6319"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060LayoutUtils.normalizeAuthorSourceId(sourceId) || sourceId\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout-engine.ts, engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"467af0d83f8055c178139300c04c98b312c888e1c4ff29f113ee2456721637b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(authoredHeight) \u0026\u0026 authoredHeight \u003E 0\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/contained-overflow-fragments.ts, engine/src/engine/layout/spatial-field-reflow.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-overflow-fragments.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"65966d5023c8c304cc17290d1a044bf01e3d8a9dc1eb6b326c2ca427fe70db37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(authoredWidth) \u0026\u0026 authoredWidth \u003E 0\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/contained-field-geometry.ts, engine/src/engine/layout/packagers/contained-flow-packager.ts, engine/src/engine/layout/packagers/story-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-field-geometry.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"53248a1e95d442f8c4beee0f8ed51c69b39b370f9f85114e3c2ad5c76f2f8a71"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(explicitHeight) \u0026\u0026 explicitHeight \u003E 0\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/contained-overflow-fragments.ts, engine/src/engine/layout/spatial-field-reflow.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-overflow-fragments.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97787b79535f4fd1b1213c3b0e622dad3242de0b5128b72f56c8ca1787c8c5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(nextWorldY) \u0026\u0026 Number.isFinite(currentWorldY) \u0026\u0026 Math.abs(nextWorldY - currentWorldY) \u003E 0.01\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f3a4210f6e6fbdf4ef21ae4b132a43bdbe9caa3e2182b11af0995fbc1ad1c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(width) \u0026\u0026 width \u003E 0 \u0026\u0026 Number.isFinite(height) \u0026\u0026 height \u003E 0\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/contained-field-geometry.ts, engine/src/engine/layout/packagers/list-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-field-geometry.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72aee9b751f6105c75fcd9082c37734de4e60865a75b396fdd70475725bc318"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actor instanceof FlowBoxPackager || actor instanceof ScriptedFlowBoxPackager\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"62cc26508b3bdd94ef10ea5179a98c12191e3d5a88cc19bf717db9cffa2ffe3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actor.fragmentIndex \u003E 0 || !!actor.continuationOf\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/hosted-region-packager.ts, engine/src/engine/layout/packagers/hosted-region-settlement.ts, engine/src/engine/layout/packagers/story-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee8dada65a66d4d83e24b0683a21b0010286ac42fac85787dd42cd8f374f4e58"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060asBool(this.chapterConfig.pageBreakBefore, true) \u0026\u0026 !insertedStaticProbe \u0026\u0026 !insertedExpandingProbe\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c1c97f485acf48dd8c960dbad838d0d38fcd89e00c560ba50cbbbc8d0254fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060box.properties?._listMarker === true || box.properties?._listItemIndex !== undefined\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/hosted-region-packager.ts, engine/src/engine/layout/packagers/hosted-region-settlement.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5517be32614add0b403827fbd40515892cabca64b5616b2ffa61848fd3f3a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes[0] !== STANDARD_FONT_MAGIC_BYTES[0] || bytes[1] !== STANDARD_FONT_MAGIC_BYTES[1] || bytes[2] !== STANDARD_FONT_MAGIC_BYTES[2]\u0060 appears character-identically in 2 files \u2014 engine/src/font-management/sentinel.ts, font-managers/standard/src/sentinel.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/sentinel.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd500bcb3725656d0698b6b8d838d729cc2617b7ff00bfd2dfefc5e9f2ed2e15"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060childMeta.hostedActorId || childMeta.actorId\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/hosted-region-packager.ts, engine/src/engine/layout/packagers/story-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"945e2c592137b136a58821ef3b50ab6e3d4094b6865f6cbda480b16f9eaf87f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060childMeta.hostedSourceId || childMeta.sourceId\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/hosted-region-packager.ts, engine/src/engine/layout/packagers/story-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da7d80bd9ef79c936a5f3c27068b1d870aaaef40170f13d3d777f6c5db703bf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060childMeta.hostedSourceType || childMeta.sourceType\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/hosted-region-packager.ts, engine/src/engine/layout/packagers/story-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de8b4feafafe553056b71db14b9914a3103a0615c9cff1a09947b42fe4db099"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060clip.assembly.length \u003E 0 || !!clip.shape || !!clip.path\u0060 appears character-identically in 2 files \u2014 engine/src/engine/context-renderer.ts, engine/src/engine/render/box-paint.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/context-renderer.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f5a0ee80380afb2018e098377aa7f0a2ac96dd6b91c46fdfffd9b70d7fa9c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cloned.properties?.sourceId || normalizedName\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6897c7190415d28105cef82d02977f2601d86efc2f30be2686cd8fda9dbba254"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060codePoint === 0x200C || codePoint === 0x200D || (codePoint \u003E= 0xFE00 \u0026\u0026 codePoint \u003C= 0xFE0F) || (codePoint \u003E= 0xE0100 \u0026\u0026 codePoint \u003C= 0xE01E\u2026\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/text-processor.ts, engine/src/font-management/text-delegate.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-processor.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a68ad04080b816e51201eb5593c16fbe3aeb2d4d13e5f83ae7fba55d4ce41fa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060coverFields \u0026\u0026 typeof coverFields === \u0027object\u0027 \u0026\u0026 !Array.isArray(coverFields)\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/validator.ts, transmuters/mkd-zh-manuscript/src/validator.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/validator.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6450c2a8f8c701dc2a796f07a7634abc6cebfc981826299b8d55d0e60f43e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element.properties \u0026\u0026 typeof element.properties === \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout-engine.ts, engine/src/engine/layout/layout-core.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1103251019d659f4d91d685c0e48566b5cea660d8c3efc93663e862f9b358c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element.properties \u0026\u0026 typeof element.properties.style === \u0027object\u0027 \u0026\u0026 element.properties.style\u0060 appears character-identically in 4 files \u2014 engine/src/engine/layout-engine.ts, engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc1de0fb087314ca0c8c13e4132a0ce2ad8be9505bd6058d1ab07c1e428a375"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element.properties?._sourceSliceStart || 0\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/contained-overflow-fragments.ts, engine/src/engine/layout/packagers/list-packager.ts, engine/src/engine/layout/packagers/story-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-overflow-fragments.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"075529c78124709e5f7ae8f9bd4b68422366672b8bdc961472b586899cacbb27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element.properties?.space || element.properties?.spatialField\u0060 appears character-identically in 2 files \u2014 engine/src/engine/document.ts, engine/src/engine/layout/packagers/field-actor-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1432}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ee8656c6fda1e25a781980141a931afc21bef7b1afa52a619c0470bc8ff67b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060element.type === \u0027cover-title\u0027 || element.type === \u0027chapter-heading\u0027\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/validator.ts, transmuters/mkd-zh-manuscript/src/validator.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/validator.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a934f9447249ddd40694bcb7babfcd8d57d6a1f5a7f473b28b6d375928687ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060encodedByte !== undefined \u0026\u0026 Number.isFinite(width)\u0060 appears character-identically in 2 files \u2014 contexts/pdf/src/standard-font-encoding.ts, engine/src/font-management/standard-font-encoding.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-encoding.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee40b464e891c4f2e9d378c6d6ee74ed1540e31eff455fa8fca0830e97652bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.content || this.footnotes[entry.identifier] || fallback\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"77445702a785931213b7535a889d19748fe8b931f82abf45f3c91721af0b10ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060font.family === resolvedFamily \u0026\u0026 font.enabled\u0060 appears character-identically in 3 files \u2014 font-managers/local/src/LocalFontManager.ts, font-managers/standard/src/StandardFontManager.ts, font-managers/web/src/WebFontManager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/LocalFontManager.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f385d95d76210ef3dc6851b0f41dd163a500c26d81458f2c2bdf8f03dd1fb3e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060footnoteMode \u0026\u0026 UNSUPPORTED_FOOTNOTE_MODES.includes(footnoteMode)\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/validator.ts, transmuters/mkd-zh-manuscript/src/validator.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/validator.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2009f4f70086d3de74ed81c4f1353516f745ce729fc9e980807fbf35248ad35c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getStandardFontMetadataById(bytes[4]) || null\u0060 appears character-identically in 2 files \u2014 engine/src/font-management/sentinel.ts, font-managers/standard/src/sentinel.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/sentinel.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f966f279a646c94757a77deb4278e249df8f015d8959deb65fc439e33a7e8fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060inlinePlainText(node.children || []).trim() || undefined\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1a81d10be6d579360e144b31e3b6503df9694f5cb75fe26d4c951ec37414b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.box?.meta?.hostedActorId || input.box?.meta?.actorId || \u0027\u0027\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/hosted-region-packager.ts, engine/src/engine/layout/packagers/story-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a1595f1b0888663e1da9f2c8ed65a3a83fd70d198594a54fe0f941541612a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060input.box?.meta?.hostedActorId || input.box?.meta?.actorId || this.actorId\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/hosted-region-packager.ts, engine/src/engine/layout/packagers/story-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/hosted-region-packager.ts"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bcf365e65c300df92c6a7c58ed27f78e32acdc46924e13b9bc14b991633356"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isFirstFooter \u0026\u0026 this.coverMode === \u0027separate-cover-page\u0027\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b208ff9930f9a4d49ba6531d9ed99dc9e78f7d8a91d9dd327a225f263084189"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060maybeProperties \u0026\u0026 typeof maybeProperties === \u0027object\u0027\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd17f43592c175cbc2867bde9acb2b11ea0b41ffc6faa619453650f727027174"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060member.shape === \u0027polygon\u0027 \u0026\u0026 typeof member.path === \u0027string\u0027 \u0026\u0026 member.path.trim()\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/contained-field-geometry.ts, engine/src/engine/render/box-paint.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-field-geometry.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af03bf346c009b2be8677236be00bdd52348fce4039e4b78fae3135c3c472a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.kind === \u0027blockquote\u0027 || node.kind === \u0027code\u0027\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"067e5a90ed73e27b3c7c648e2fb9de361716a4271b6dd418c57400739a5a4bf7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.kind === \u0027h3\u0027 || node.kind === \u0027h4\u0027 || node.kind === \u0027h5\u0027 || node.kind === \u0027h6\u0027\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"45abf08bfbc6e4df2ce651b48099a4ca07d8fbc4e3960e3419fa0f8ab0f2e015"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.kind === \u0027ul\u0027 || node.kind === \u0027ol\u0027\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee18e07ff5d43634e57279b50241bd8c51aac7e6f399c3a1194163c18682174e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed \u0026\u0026 typeof parsed === \u0027object\u0027 \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 2 files \u2014 transmuters/markdown-core/src/index.ts, transmuters/markdown-core/src/theme.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/index.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"430b30faa1f36a188ff9bce7e5b1425f71427e37ef1165a07f21dd9ab7f0a277"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060postscriptName === \u0027Symbol\u0027 || postscriptName === \u0027ZapfDingbats\u0027\u0060 appears character-identically in 2 files \u2014 contexts/pdf/src/standard-font-encoding.ts, engine/src/font-management/standard-font-encoding.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf/src/standard-font-encoding.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1558206236e1325577ec48bc82cc2b316e13785bca8fe444776ad1eed9de1fdb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prefix === \u0027system\u0027 \u0026\u0026 remainder === \u0027script-document\u0027\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/script-runtime-host.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce182f7908503c9e9aa75f748e2ff800533532647edd7de2217f2c0d6b3c3cea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prevStrong \u0026\u0026 nextStrong \u0026\u0026 prevStrong === nextStrong\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/text-script-segmentation.ts, engine/src/engine/render/direction.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-script-segmentation.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"c344f710e76576355eb4edf592cfee1d5ee7c0af70ab3ee106b024b44445cc37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preview \u0026\u0026 currentPageIndex \u003C preview.getPageCount() - 1\u0060 appears character-identically in 2 files \u2014 preview/playground/app.js, preview/playground/app.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.js"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc4273295b2cb9dd002afafdfd80770104ed698dd7d3491b303ddaa1b164668"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060preview.getLayoutSnapshotPages()[currentPageIndex] || null\u0060 appears character-identically in 2 files \u2014 preview/playground/app.js, preview/playground/app.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.js"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a99ef969c40fff3401363b9c0cec22d71d7d4821e201c35bfd614645833bbd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060previewCanvas.width !== offscreenCanvas.width || previewCanvas.height !== offscreenCanvas.height\u0060 appears character-identically in 2 files \u2014 preview/playground/app.js, preview/playground/app.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.js"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"499b137eb9f1c1c4e035e42520da65603f36b6cd63c38e8b3b8db89169cd53e4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060regionContainsLogicalPageNumber(resolved.header) || regionContainsLogicalPageNumber(resolved.footer)\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/layout-session.ts, engine/src/engine/layout/runtime/page-finalization/page-region-finalization.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cca720786fee88f3fa65fcabd50efeda4d5d2e309da7d654bdfa64939398fbc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved.lineOffsets \u0026\u0026 resolved.lineOffsets.length \u003E 0\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/layout-core.ts, engine/src/engine/layout/layout-table.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da089938365a24736dfbff9c7a5795097f0df9f4531c0d78ca9a9b287c8a0df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved.lineWidths \u0026\u0026 resolved.lineWidths.length \u003E 0\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/layout-core.ts, engine/src/engine/layout/layout-table.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"284113d3d82dd5e7b46b51c163eb01b4a8c9cf5722ab1b2799276dcdd2ba3a51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resolved.lineYOffsets \u0026\u0026 resolved.lineYOffsets.length \u003E 0\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/layout-core.ts, engine/src/engine/layout/layout-table.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":1264}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfeb88d1903b3ca3fb63aa28d5afa81de5782be92a1462fdca1ab143a102ab1b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sourceElement.properties \u0026\u0026 typeof sourceElement.properties.style === \u0027object\u0027 \u0026\u0026 sourceElement.properties.style\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout-engine.ts, engine/src/engine/layout/runtime-formatting.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout-engine.ts"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f308fc6e7aab3ced55c31c041deea77f311717b3c8382cc6efa851b4afc77b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stopAtPage === null \u0026\u0026 stopAtWorldY === null\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/layout-core.ts, engine/src/engine/runtime/simulation/runtime/march-runner.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"363748d4e9688513e36aa87b441660a651fc4e8856604fb4b31cfab74aa90a45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060style.fontSize || this.config.layout.fontSize\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/layout-core.ts, engine/src/engine/layout/text-processor.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54c3ae5b1402c5dc439984b69df99eac13b5d2aab3f671e77f4d3e99795cd5b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060style.lineHeight || this.config.layout.lineHeight\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/layout-core.ts, engine/src/engine/layout/text-processor.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-core.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5209cb1702b59dc9103b30c8af254a6ca00ebe5146aa331c257e13f8a7b9dd0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target \u0026\u0026 typeof target === \u0027object\u0027 \u0026\u0026 (target as Record\u003Cstring, unknown\u003E).type === \u0027document\u0027\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d23506308f65802cb5b3c5fedd0993a874f09f28a4df0eb02902b6b95ce49ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.expandingProbeElement || !asBool(this.expandingProbeConfig.enabled, false)\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d3c8faf79a19a826a8a3320f63630def40e555d90eabfb100b05558f8cd99e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.flowBox._materializationMode === \u0027reflowable\u0027 \u0026\u0026 !!this.flowBox._sourceElement\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/contained-flow-packager.ts, engine/src/engine/layout/packagers/flow-box-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ef76d08ea123dd80ee065212ab46da52d1c75b38e4fcfc32245997dcd71a09"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.isMaterialized \u0026\u0026 this.lastAvailableWidth === availableWidth \u0026\u0026 this.lastContentWidth === contentWidth\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/contained-flow-packager.ts, engine/src/engine/layout/packagers/flow-box-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/contained-flow-packager.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d05c04b59da697920a111d4e57c8c853a038cd39168b3ce4e77c338e369174"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.pendingBodyPageBreak \u0026\u0026 !role.startsWith(\u0027cover-\u0027)\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"041798944654748dd7b0c65a2c0ded4bef5972a18410949c5e38ed027fc16f5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060this.staticProbeInserted || !asBool(this.staticProbeConfig.enabled, false)\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9430964e8973552c88f3fa80ce1d0f57ce08941e876d81591e5d2596894acf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof (message as Record\u003Cstring, unknown\u003E).subject !== \u0027string\u0027 || !(message as Record\u003Cstring, unknown\u003E).subject\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d39d124432a8c39becc9d4a5022bb125d6b8dcafc366fc1a9b4d9ff23c9eb62"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof box.content === \u0027string\u0027 \u0026\u0026 box.content.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/collaborators/heading-telemetry-collaborator.ts, engine/src/engine/layout/runtime/signals/heading-signal-publisher.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/collaborators/heading-telemetry-collaborator.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e2f4a66a73083c0c02bc168adb0fb3443662090770fea077fc6994eb18333a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof cloned.name === \u0027string\u0027 \u0026\u0026 cloned.name.trim()\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e022e87a77696f34fd82d50fa8e53a5b3b39e7d531a2afcb2d18dc5b4d97f57d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof exclusion.path === \u0027string\u0027 \u0026\u0026 exclusion.path.trim()\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/packagers/flow-box-packager.ts, engine/src/engine/layout/session-world-runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/flow-box-packager.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4a4c51720d4c1f43cb6a5fbc69806a65c6db59b1c068264f2640f34c467ede"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof legacyName === \u0027string\u0027 \u0026\u0026 legacyName\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cc9fa35dc09078b26a91e71ff416861518f31b8a42eed46677effbd652dfee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof maybeName === \u0027string\u0027 \u0026\u0026 maybeName.trim()\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3207ede68a6ff5262a6e85266fd53393ee2b8997056075ae7126a3e3c35cb5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof maybeSourceId === \u0027string\u0027 \u0026\u0026 maybeSourceId.trim()\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"6410c57a1b8382af9b3e6d1f7de7af00c09902e8c7b64e42f2dd48ebd8721077"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof member.path === \u0027string\u0027 \u0026\u0026 member.path.trim()\u0060 appears character-identically in 5 files \u2014 engine/src/engine/layout/normalized-story.ts, engine/src/engine/layout/packagers/hosted-region-settlement.ts, engine/src/engine/layout/packagers/spatial-field-capability.ts, engine/src/engine/layout/packagers/story-packager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/normalized-story.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76617e4e80f1042cf14e81b81e8c5f4ff362bd77526a1beee359914c1a79989"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof nestedSourceId === \u0027string\u0027 \u0026\u0026 nestedSourceId.trim()\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7fbfe1786d2260ac75b983a9f92b6aab432ac8f2e3bb526736e9cc2f4ddc57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof node.start === \u0027number\u0027 \u0026\u0026 Number.isFinite(node.start)\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"649898eb6b5b939c99f790e21b02df932fd5f387d75d14e7370851d01050faec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof target === \u0027string\u0027 \u0026\u0026 target.trim()\u0060 appears character-identically in 3 files \u2014 engine/src/engine/layout/packagers/script-document-packager.ts, engine/src/engine/layout/packagers/scripted-flow-box-packager.ts, engine/src/engine/layout/runtime/scripting/script-runtime-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/packagers/script-document-packager.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"60410560610cde0a0b0bb277c03fface4641bf9e711c73f277a7ff0bd3a48a5a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof title?.content === \u0027string\u0027 \u0026\u0026 title.content.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/validator.ts, transmuters/mkd-zh-manuscript/src/validator.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/validator.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef209ee9e1e6308bcbc40d5371561190f83977a013b144b13cb326f55d6c0af7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 4 files \u2014 engine/src/engine/document.ts, engine/src/engine/layout/layout-core.ts, transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/format.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2e2a90c9f30d2a2aa1a1cfcf4395930260802eb284bb2cb4139ddf3eb03e97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 key \u0026\u0026 value\u0060 appears character-identically in 2 files \u2014 transmuters/mkd-manuscript/src/validator.ts, transmuters/mkd-zh-manuscript/src/validator.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/validator.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0b621704cc880d292ee5d61c938d6844bc5c3ebbb716287a21ea8709c1d737"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value.trim().length \u003E 0\u0060 appears character-identically in 4 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-manuscript/src/validator.ts, transmuters/mkd-zh-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/validator.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53ed3bc1a4d96b50d7b6560285fde40fa1a7469cfb98462dc70eb2aa661faf0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 4 files \u2014 transmuters/mkd-manuscript/src/format.ts, transmuters/mkd-manuscript/src/validator.ts, transmuters/mkd-zh-manuscript/src/format.ts, transmuters/mkd-zh-manuscript/src/validator.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/mkd-manuscript/src/format.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"16770c6e4591aeb08c74e8af291e8d4eadf06de7602fb61b30d33c4fe6aeaded"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0027all\u0027 || value === \u0027odd\u0027 || value === \u0027even\u0027\u0060 appears character-identically in 2 files \u2014 engine/src/engine/layout/runtime/passes/page-start-exclusion-pass.ts, engine/src/engine/layout/runtime/passes/page-start-reservation-pass.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime/passes/page-start-exclusion-pass.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e812ea07a3d6de9323b8db725de7b28fd6c497319e16e7b83a4d3666bab3c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === undefined || value === null || value === \u0027\u0027\u0060 appears character-identically in 3 files \u2014 engine/src/engine/document.ts, engine/src/engine/layout/layout-core.ts, engine/src/engine/layout/track-sizing.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/document.ts"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bd2c68303e343420fe7c779b77570351ef8485b46f2c9d1bcc0eae330c4890"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060deepMerge\u0060 is exported and takes \u0060target: Record\u003Cstring, unknown\u003E\u0060 from its caller, and it calls itself at line 38 (\u0060deepMerge\u0060) with a piece of \u0060target\u0060 \u2014 and nowhere in \u0060deepMerge\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060deepMerge\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/theme.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc471cf2dad37e205847ed4d9e2b4972e1818b0d9c540ac89f5e92b253645e8"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060notifyActorSpawn\u0060 is exported and takes \u0060actor: PackagerUnit\u0060 from its caller, and it calls itself at line 617 (\u0060this.notifyActorSpawn\u0060) with a piece of \u0060actor\u0060 \u2014 and nowhere in \u0060notifyActorSpawn\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060notifyActorSpawn\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc4523a19355d0515ca4a54a9cfc78234dfbb6a2c1846113aa29102a90372d8"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060notifyActorDespawn\u0060 is exported and takes \u0060actor: PackagerUnit\u0060 from its caller, and it calls itself at line 624 (\u0060this.notifyActorDespawn\u0060) with a piece of \u0060actor\u0060 \u2014 and nowhere in \u0060notifyActorDespawn\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060notifyActorDespawn\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/layout-session.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df8a4a5a46a1e7ae6f59bc9e24f2b9c6baed774eaaf029b44512dba0acf0cbf"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060getElementText\u0060 is exported and takes \u0060element: Element\u0060 from its caller, and it calls itself at line 100 (\u0060getElementText\u0060) with a piece of \u0060element\u0060 \u2014 and nowhere in \u0060getElementText\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060getElementText\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/rich-text-extractor.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"add709286c013b8a9a27bae47fdffaab5b22285e68b6b8b21ca7e7accbc76f1f"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060getNodeText\u0060 is exported and takes \u0060node: any\u0060 from its caller, and it calls itself at line 136 (\u0060getNodeText\u0060) with a piece of \u0060node\u0060 \u2014 and nowhere in \u0060getNodeText\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060getNodeText\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/rich-text-extractor.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"17937f1bb2578768c10859cfab317eaa42bc16662b0c3f6b95784e33c3bd1a22"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060getRichSegments\u0060 is exported, takes a document from its caller (line 141) and hands it to \u0060getRichSegmentsAtOffset\u0060, which calls itself at line 243 (\u0060getRichSegmentsAtOffset\u0060) with a piece of \u0060element\u0060 \u2014 and nowhere in \u0060getRichSegmentsAtOffset\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060getRichSegmentsAtOffset\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/rich-text-extractor.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"8794af6685b9e071d987a29744bc9d7edf8e9de5e1aaf345e08aa7a351a4ee2e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060applyRuntimeRangeFormattingPatch\u0060 is exported, takes a document from its caller (line 266) and hands it to \u0060runtimeInlinePartLength\u0060, which calls itself at line 142 (\u0060runtimeInlinePartLength\u0060) with a piece of \u0060part\u0060 \u2014 and nowhere in \u0060runtimeInlinePartLength\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060runtimeInlinePartLength\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/runtime-formatting.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc56424a9da5ffca3f9d34a1cb3590939b8774f44727ccddf48b4f875f4cb18"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060getStyleSignature\u0060 is exported, takes a document from its caller (line 26) and hands it to \u0060serializeStyleValue\u0060, which calls itself at line 18 (\u0060this.serializeStyleValue\u0060) with a piece of \u0060value\u0060 (and at line 23) \u2014 and nowhere in \u0060serializeStyleValue\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060serializeStyleValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/layout/text-wrap-utils.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d90260cdb2997c6db2a6c85f2fb28d08c1c9cd3b1867b9473fc6d6f50da20b"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 0/4 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchResolvedImage: \u0060fetchResolvedImage\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.ts"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf221baf66d005f5a83613eb46cdd89ccf142d119d845edf2ba1cb22dbdda5b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchResolvedImage: \u0060fetchResolvedImage\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"preview/playground/app.js"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee8b43f9eab461f0bd4bbbe62cc404b781410b676adf231725d2628e020744c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: syncRegistryFromCDN: \u0060syncRegistryFromCDN\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/LocalFontManager.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f9336cb8abf2282d8d79c740a5449e42bc7754eec3cfb6ff11f61b5f30fdd6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: loadFontBuffer: \u0060loadFontBuffer\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/LocalFontManager.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd24836b231e764c768d507902457421942033a2c047005caeb8ae8c52324f81"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/theme.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"054a0f88bd7148966b1387591bd530c0ed220f50df0ed9bc64cee0be87ff97c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/web/src/WebFontManager.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"713a6b3c52fd9c3906d4a59a7333be11a8fac594095e5f6789c305195dfb4831"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"font-managers/local/src/LocalFontManager.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ff1e9d7ad340fbd2f73254f693e53a66693d619e6b2bde5c64367736939e27"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/font-management/generate-afm-tables.mjs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56b3d11f2f493ee3d8b79d732f169afbb946fa5d8f685ef408101e979b40a92"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"engine/src/engine/render/font-registration.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d808731c60218bd128e0cb3aff87b4a86c732506e9e70cae44f0d455ce39cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/pdf-lite/src/index.ts"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ed775b879f85e2024edda9b4f77edd69556d74e5c651fb4a51765594add6c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"contexts/canvas/src/index.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"12eccebeb031066258306e50c14f15349ff7997cbc9639c14a0259b94c6919b5"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~1.0 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 76 assertion(s) across the 77178 source line(s) of the 234 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: engine/src/engine/layout/spatial-field-reflow.ts (14), engine/src/engine/geometry/svg-path.ts (10), engine/src/engine/layout/packagers/list-packager.ts (9). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060resolveMarkdownConfig\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"transmuters/markdown-core/src/index.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bb512a81f770f1f680647663e14169fb4dbf447919fc2edc1b0e0c7891c68b"}}],"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-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-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-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-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/"}]}],"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":11,"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."]}]}