Skip to content

Add 5 mm trace turn-density quality report - #188

Open
seveibar wants to merge 1 commit into
improve-dense-source-routingfrom
feat/trace-turn-density-latest
Open

Add 5 mm trace turn-density quality report#188
seveibar wants to merge 1 commit into
improve-dense-source-routingfrom
feat/trace-turn-density-latest

Conversation

@seveibar

@seveibar seveibar commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Problem

Dense DDR fanouts can pass electrical validation while containing many small bends that look chaotic. Existing benchmark artifacts show route completion but do not quantify or surface these traces.

Changes

  • Measure each trace's maximum completed 90 degree turns in any 5 mm centerline window. Consecutive turns in opposite directions cancel, so a +45 degree turn followed by a -45 degree turn scores zero.
  • Add public measurement, summary, and threshold-check APIs, with vias, jumpers, and layer transitions starting new continuous sections.
  • Record all-trace and signal-only medians in benchmark results and markdown.
  • Generate trace-turn-density.svg from the four solved fanout samples with the highest maximum score, embedding each sample's native FanoutSolver.visualize() output.
  • Generate compact per-trace JSON with sample and trace provenance.

Validation

  • bun run typecheck
  • bun test tests/trace-turn-density.test.ts tests/trace-turn-density-svg.test.ts tests/benchmark-validation.test.ts
  • bun test tests/benchmark-cli.test.ts
  • Measured all 40 solved samples in this branch's 72-case dataset. The selected K230 boards reached a maximum score of 72 and signal-trace medians from 43 to 63.

@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
fanout-solver Ready Ready Preview Sep 8, 2026 3:01am UTC

Request Review

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.

1 participant