Skip to content

Conversation

@lamb356
Copy link

@lamb356 lamb356 commented Dec 12, 2025

/claim #15 Summary
Fixes #15 - Arranges decoupling capacitors in a neat horizontal row instead of scattered placement.

Changes

  • Added createLinearDecouplingCapLayout() method in SingleInnerPartitionPackingSolver.ts
  • Bypasses PackSolver2 when partitionType === "decoupling_caps"
  • Capacitors are now arranged in a horizontal row with consistent spacing
  • Added 3 new tests to verify linear layout behavior

Before/After
Before: Capacitors scattered messily around the chip
After: Capacitors arranged in a clean horizontal row (C9, C18, C7 visible in screenshot)

Testing

  • All 21 tests pass (18 original + 3 new)
  • Visual verification via React Cosmos LayoutPipelineSolver06

Fixes tscircuit#15 - Decoupling capacitors are now arranged in a neat horizontal row instead of scattered placement.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Dec 12, 2025

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

A member of the Team first needs to authorize it.

@lamb356
Copy link
Author

lamb356 commented Dec 12, 2025

/claim 15 Demo video

https://streamable.com/4tkch0

@techmannih
Copy link
Member

Please join our Discord to ask any questions related to the issue, and feel free to contribute:
https://tscircuit.com/join

@techmannih techmannih requested a review from seveibar December 12, 2025 06:27
@techmannih
Copy link
Member

some workflow failing

Copy link
Member

@techmannih techmannih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to show before and after screen shot and also all workflow failing

@lamb356
Copy link
Author

lamb356 commented Dec 12, 2025

Screenshot (200) Screenshot (201) here's the before and after. The decoupling capacitors (C12, C14, C8, C13, C15, C19) are now arranged in a linear horizontal row instead of being scattered/overlapping.

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.

Specialized Layout for Decoupling Capacitors

2 participants