feat(router): fab-ready fix loop (prune, mutual-legality verdicts, class widths)#671
Merged
Conversation
Two fixes from the M6 reproducibility investigation: 1. wavefront_batch dispatched (n*total)/256 workgroups in one dimension; full-board batches need ~129k against the 65535/dim wgpu cap, so the first dispatch poisoned the encoder and every subsequent GPU batch silently fell back to CPU (observed: 'proposed 7/83' on the 40-net subset, 72 dead batches per full CM5 run — every published M6 run was effectively CPU-bound). Split over a 2D grid; the shader flattens via num_workgroups. After: 'proposed 83/83', zero validation errors. 2. The greedy pass's rip-up loop kept regressing rounds (CM5: 504 -> 489 placed over a 46-minute round, damage kept). Snapshot before each round and restore on regression, matching the negotiation loop's keep-best. Plus a board_export example (gerbers/excellon/kicad/bom/pick-place from a routed .pcb.json). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…lity verdict commits, class-width joint paths From the CM5 fab-ready campaign: - drc::prune_dangling_copper: remove trace/via islands touching no pad or pour of their net (rip-up debris; 4,185 dead traces on the CM5 run, NetIslands 172 -> 18, better than the fixture baseline's 30) - cm5_verdict: probe-then-commit per path (cluster paths were only node-disjoint on the coarse window grid — two same-cluster paths could overlap at exact geometry); route/commit SI-class nets at class width; exclude plane-fed nets from the verdict ratsnest - strip_nets + prune_copper + board_export examples: the DRC fix loop (strip offenders -> session-probed reroute -> prune -> re-DRC) that took the CM5 board to zero route-attributable violations in 5 rounds Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Choji has used up today's reviewsYour team has reached the free plan's limit of 5 reviews per day, so Choji stepped aside on this pull request. That's a plan limit, not a reflection of the change itself. Your free reviews reset tomorrow. To have Choji review every push without waiting, upgrade to Pro for unlimited reviews. You're on the free plan · 5 reviews/day. |
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.
Tooling that took the routed CM5 to zero route-attributable DRC violations (details in commit message). Companion to the merged #669.
🤖 Generated with Claude Code