Skip to content

fix: merge close same-net trace segments#413

Open
afkjdn-bombadeel wants to merge 1 commit into
tscircuit:mainfrom
afkjdn-bombadeel:merge-same-net-trace-lines
Open

fix: merge close same-net trace segments#413
afkjdn-bombadeel wants to merge 1 commit into
tscircuit:mainfrom
afkjdn-bombadeel:merge-same-net-trace-lines

Conversation

@afkjdn-bombadeel
Copy link
Copy Markdown

@afkjdn-bombadeel afkjdn-bombadeel commented May 22, 2026

Summary

  • add a TraceCleanupSolver pass that aligns close horizontal or vertical trace segments belonging to the same net
  • keep different-net traces unchanged
  • add focused unit coverage and update affected visual snapshots, including the example29 reproduction surface

Related

/claim #34
/claim #29

Validation

  • npx -y bun@1.2.21 test tests/solvers/TraceCleanupSolver/mergeSameNetTraceSegments.test.ts
  • npx -y bun@1.2.21 test tests/solvers/TraceCleanupSolver/TraceCleanupSolver.test.ts
  • npx -y bun@1.2.21 test
  • npx -y bun@1.2.21 x tsc --noEmit

Worked on by GPT-5.5 with Codex, with Tom's human review before delivery.

Adds a TraceCleanupSolver pass that aligns close horizontal or vertical segments belonging to the same net, with focused tests and updated snapshots for affected examples.

Worked on by GPT-5.5 with Codex.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
schematic-trace-solver Ready Ready Preview, Comment May 22, 2026 10:21pm

Request Review

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