Add Pipeline3 HG failure analyzer and relax via-limit to reduce circuit100 failures#654
Closed
Add Pipeline3 HG failure analyzer and relax via-limit to reduce circuit100 failures#654
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🏃 Benchmark This PRRun benchmarks by commenting on this PR: Examples:
Any PR whose title contains |
Contributor
Author
|
/benchmark |
🏃 Autorouting Benchmark Results📊 PR Results📊 Main Branch Results📦 Artifact: https://github.com/tscircuit/tscircuit-autorouter/actions/runs/23008683422 |
seveibar
approved these changes
Mar 12, 2026
Contributor
Author
|
/benchmark |
🏃 Autorouting Benchmark Results📊 PR Results📊 Main Branch Results📦 Artifact: https://github.com/tscircuit/tscircuit-autorouter/actions/runs/23039953129 |
|
This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs. |
|
This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs. |
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.
Motivation
circuit100(dataset01) and compute per-node failure probability to guide fixes.circuit100was failing in the Pipeline3 HG high-density phase due to node-level solver exhaustion and a hardViaPossibilitiesSolver2via cap.Description
scripts/analyze-pipeline3hg-failure.tswhich runs a scenario (defaultcircuit100), reports failed HighDensity nodes, crossing counts, an estimated per-node probability-of-failure viacalculateNodeProbabilityOfFailure, and a suggested remediation plan.analyze:pipeline3hginpackage.jsonso it can be run withbun run analyze:pipeline3hg circuit100.effortintoHighDensitySolverby addingeffort: cms.effortto the Pipeline3highDensityRouteSolverconstructor params so pipeline-level effort tuning affects high-density budgets.ViaPossibilitiesSolver2accept an optional hyperparameterMAX_VIA_COUNT(default remains5) so callers can relax the via cap when needed.MultiHeadPolyLineIntraNodeSolver3to seedViaPossibilitiesSolver2with an adaptiveMAX_VIA_COUNTbased on node complexity (Math.max(5, this.minViaCount * 3, Math.ceil(this.uniqueConnections * 2))) to reduce via-limit failures for complex nodes.Testing
bun run analyze:pipeline3hg circuit100to profile the scenario: before changes the run reported2failing nodes (cmn_30,cmn_4) and after the adaptive via-limit change the script reported1failing node (cmn_4), indicating reduced via-limit related failures. (script executed successfully).bun test tests/pipeline-immutability/autorouting-pipeline3-hg-port-point-pathing.test.tswhich passed.biome format --writeon the modified files (format succeeded).Codex Task