Skip to content

Add decoupling cap fast path#106

Open
chriszlr wants to merge 1 commit into
tscircuit:mainfrom
chriszlr:fix-decap-fast-path
Open

Add decoupling cap fast path#106
chriszlr wants to merge 1 commit into
tscircuit:mainfrom
chriszlr:fix-decap-fast-path

Conversation

@chriszlr
Copy link
Copy Markdown

Summary

  • add a deterministic fast path for partitionType === "decoupling_caps" inside SingleInnerPartitionPackingSolver
  • place decoupling capacitor partitions in a stable centered row using natural component ordering, rotation-aware widths, and decouplingCapsGap ?? chipGap spacing
  • keep non-decoupling partitions on the existing PackSolver2 path
  • pin circuit-to-svg@0.0.345 so the existing full Bun suite can load the schematic simulation SVG export

/claim #15

Verification

  • bun test tests/PackInnerPartitionsSolver/SingleInnerPartitionPackingSolver.test.ts
  • bun test
  • bun x tsc --noEmit
  • bun run format:check
  • bun run build
  • git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

@chriszlr is attempting to deploy a commit to the tscircuit Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant