Skip to content

Deduplicate same-net trace cleanup segments#308

Open
helmutkocksmann wants to merge 3 commits into
tscircuit:mainfrom
helmutkocksmann:main
Open

Deduplicate same-net trace cleanup segments#308
helmutkocksmann wants to merge 3 commits into
tscircuit:mainfrom
helmutkocksmann:main

Conversation

@helmutkocksmann
Copy link
Copy Markdown

Fixes #78.

/claim #78

Summary:

  • deduplicates exact duplicate trace segments per net during trace cleanup output
  • drops fully duplicated same-net traces
  • trims duplicated edge segments only when the remaining trace path stays contiguous
  • adds focused regression coverage for full duplicate removal and conservative edge trimming

Verification:

  • git diff --check
  • not run: bun test (bun is not installed in this environment)

Call the same-net segment deduper from TraceCleanupSolver output.
Drop duplicate same-net trace segments conservatively after trace cleanup.
Cover duplicate trace removal and conservative edge trimming.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 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 11, 2026 8:09pm

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.

Fix extra trace lines in post-processing step

1 participant