Skip to content

Preserve fixed native routes during hypergraph rerouting - #308

Merged
ShiboSoftwareDev merged 1 commit into
mainfrom
fix/native-fixed-route-assignments
Nov 6, 2026
Merged

ShiboSoftwareDev merged 1 commit into
mainfrom
fix/native-fixed-route-assignments

Conversation

@ShiboSoftwareDev

Copy link
Copy Markdown
Contributor

Existing trace assignments are currently movable during global, selective, partial, and section rerouting. Honor connection.isFixed / routeIsFixed by retaining their initial assignments and excluding them from rip sets, while allowing same-net reuse of their occupied ports. Independent planners that do not implement fixed occupancy reject the policy explicitly.

The regression uses the existing real T113 board: all 192 preloaded routes and 644 segments remain unchanged while 42 new connections route, then survive serialization and section solving. No new synthetic topology fixture.

Validation: full TypeScript check and 47 relevant tests pass. This supplies the native fixed-trace contract needed by the DDR autorouter/core handoff.

@vercel

vercel Bot commented Nov 5, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
tiny-hypergraph Ready Ready Preview Nov 5, 2026 8:58pm UTC

Request Review

@tscircuitbot

Copy link
Copy Markdown

Benchmark This PR

Run benchmarks by commenting on this PR:

/benchmark [benchmark.sh args...]
/benchmark --dataset <hg07|srj18> --limit <n> --solver <core|poly> --families <default|default+deep|all> --concurrency <n|auto>

Everything after /benchmark is forwarded directly to ./benchmark.sh.
Every command runs current main and the PR head sequentially on the same Blacksmith machine, then reports their results side by side.

Examples:

  • /benchmark -> all committed completed SRJ18 Pipeline7 cases, core solver
  • /benchmark --limit 4 -> first four committed Pipeline7 cases
  • /benchmark --dataset srj18 --concurrency auto -> srj18 samples with runner CPU-count concurrency
  • /benchmark --sample sample003 -> one committed SRJ18 Pipeline7 case
  • /benchmark --dataset hg07 --limit 20 --solver poly -> first 20 hg07 samples with the poly solver
  • /benchmark --dataset hg07 --limit 40 --families default+deep -> first 40 hg07 samples with deeper candidate families

Any PR whose title contains [BENCHMARK TEST] will automatically run the benchmark workflow on PR updates.

@ShiboSoftwareDev
ShiboSoftwareDev merged commit 704e3c5 into main Nov 6, 2026
7 checks passed
@tscircuitbot

Copy link
Copy Markdown

Thank you for your contribution! 🎉

PR Rating: ⭐⭐⭐
Impact: Major

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


This branch was successfully deployed

1 active deployment
Preview — 867cb20e Deployed Nov 5, 2026 by vercel[bot]
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.

3 participants