Skip to content

Add repro for dense parallel header-to-IC schematic routing#450

Merged
Sang-it merged 1 commit into
mainfrom
codex/dense-parallel-header-to-ic-routing
May 28, 2026
Merged

Add repro for dense parallel header-to-IC schematic routing#450
Sang-it merged 1 commit into
mainfrom
codex/dense-parallel-header-to-ic-routing

Conversation

@rushabhcodes
Copy link
Copy Markdown
Contributor

Summary

Adds example40, a schematic trace solver repro covering a dense set of parallel direct connections from a 9-pin J2 header to U1. The case exercises routing behavior where adjacent nets must cross between closely spaced left-side pins and mixed/staggered right-side pins.

Changes

  • Added tests/assets/example40.json
  • Added site/examples/example40.page.tsx for the pipeline debugger
  • Added tests/examples/example40.test.ts
  • Added the generated SVG snapshot for example40

Validation

  • bun test tests/examples/example40.test.ts
  • bun run format:check tests/assets/example40.json site/examples/example40.page.tsx tests/examples/example40.test.ts

@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 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 28, 2026 3:01pm

Request Review

@rushabhcodes rushabhcodes changed the title [codex] Add repro for dense parallel header-to-IC schematic routing Add repro for dense parallel header-to-IC schematic routing May 28, 2026
@rushabhcodes rushabhcodes marked this pull request as ready for review May 28, 2026 15:02
@rushabhcodes rushabhcodes requested review from Sang-it and Copilot May 28, 2026 15:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new routing repro case (example40) to exercise dense parallel header-to-IC direct connections in the schematic trace solver, along with a pipeline debugger page and a snapshot-based regression test.

Changes:

  • Added tests/assets/example40.json defining a dense set of parallel direct connections from J2 to U1.
  • Added tests/examples/example40.test.ts and corresponding tests/examples/__snapshots__/example40.snap.svg snapshot to lock in solver output for this case.
  • Added site/examples/example40.page.tsx to load the repro into the Pipeline Debugger UI.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
tests/examples/example40.test.ts Adds a snapshot test that runs SchematicTracePipelineSolver on example40.json.
tests/examples/snapshots/example40.snap.svg Stores the expected rendered SVG output for the new repro case.
tests/assets/example40.json Introduces the new repro input problem (chips/pins + direct connections).
site/examples/example40.page.tsx Adds a debugger page to visualize/step through the example40 pipeline.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Sang-it Sang-it merged commit d58fcc0 into main May 28, 2026
6 checks passed
@tscircuitbot
Copy link
Copy Markdown


Thank you for your contribution! 🎉

PR Rating:
Impact: Tiny

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants