Model physical trace occupancy after baseline routing#129
Closed
AnasSarkiz wants to merge 7 commits into
Closed
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Benchmark This PRRun benchmarks by commenting on this PR: Everything after Examples:
Any PR whose title contains |
Member
Author
|
Closing this unmerged occupancy dependency together with tscircuit-autorouter#1677 because the end-to-end srj18 relaxed-DRC pass rate did not improve. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why sample 6 regressed before
The previous cost used distinct-net count divided by the region's shortest dimension and applied it during the initial A* search. In narrow subdivided regions it could dominate the existing feasibility cost, changing route ownership and selective-rerip ordering until sample 6 exhausted its 2,000,000-iteration budget.
This implementation uses the actual swept trace length and region area instead. More importantly, it does not alter initial route construction: physical occupancy activates only after a complete baseline exists, so optimization can restore that completed solution rather than sacrificing reachability.
Validation
bun test --timeout 9999999(98 pass)bun run typecheckbun run format:checkSRJ18 evidence through autorouter PR #1677
On samples 1, 5, 7, and 11, remaining relaxed DRC errors decrease from 13 on current main to 10 with this branch. Samples 1 and 5 remain DRC-clean; sample 7 improves from 7 to 6 errors and sample 11 from 6 to 4. Sample 6 completes end-to-end in 293.5s under a 600s cap instead of failing in TinyHypergraph near 120s.