Skip to content

Add test for unsolved high density node #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seveibar
Copy link
Contributor

Summary

  • add cn670 fixture for high density capacity node
  • add skipped test showing cn670 fails to route
  • update graphics-debug to latest version

Testing

  • bun test tests/bugs/cn670-not-routing.test.ts

https://chatgpt.com/codex/tasks/task_b_6852d9553860832ea7532b04131b032a

Copy link

vercel bot commented Jun 18, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
capacity-node-autorouter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 18, 2025 3:37pm

Comment on lines +1 to +130
"width": 4.1875,
"height": 4.1875,
"layer": "top",
"availableZ": [0, 1],
"_depth": 3,
"_parent": {
"capacityMeshNodeId": "cn6",
"center": {
"x": 12.5625,
"y": 2.9525000000000006
},
"width": 8.375,
"height": 8.375,
"layer": "top",
"availableZ": [0, 1],
"_depth": 2,
"_parent": {
"capacityMeshNodeId": "cn4",
"center": {
"x": 8.375,
"y": 7.140000000000001
},
"width": 16.75,
"height": 16.75,
"layer": "top",
"availableZ": [0, 1],
"_depth": 1,
"_parent": {
"capacityMeshNodeId": "cn0",
"center": {
"x": 0,
"y": -1.2349999999999994
},
"width": 33.5,
"height": 33.5,
"layer": "top",
"availableZ": [0, 1],
"_depth": 0,
"_containsTarget": true,
"_containsObstacle": true,
"_completelyInsideObstacle": false
},
"_containsObstacle": true,
"_targetConnectionName": "source_trace_14",
"_containsTarget": true,
"_completelyInsideObstacle": false
},
"_containsObstacle": true,
"_targetConnectionName": "source_trace_14",
"_containsTarget": true,
"_completelyInsideObstacle": false
},
"_containsObstacle": true,
"_targetConnectionName": "source_trace_10",
"_containsTarget": true,
"_completelyInsideObstacle": false
},
"_containsObstacle": true,
"_targetConnectionName": "source_trace_11",
"_containsTarget": true,
"_completelyInsideObstacle": false
},
"_containsObstacle": false
},
"nodeWithPortPoints": {
"capacityMeshNodeId": "cn670",
"portPoints": [
{
"x": 12.0390625,
"y": 5.046250000000001,
"z": 0,
"connectionName": "source_trace_12"
},
{
"x": 12.0390625,
"y": 6.093125000000001,
"z": 0,
"connectionName": "source_trace_12"
},
{
"x": 11.515625,
"y": 5.110083841463414,
"z": 1,
"connectionName": "source_trace_11"
},
{
"x": 11.515625,
"y": 5.569687500000001,
"z": 0,
"connectionName": "source_trace_11"
}
],
"center": {
"x": 12.0390625,
"y": 5.569687500000001
},
"width": 1.046875,
"height": 1.046875
}
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider renaming the file from cn670-nodeWithPortPoints.json to cn670-node-with-port-points.json to maintain consistency with kebab-case naming conventions that appear to be used in the project. This makes file naming more predictable across the codebase.

Spotted by Diamond (based on custom rules)

Is this helpful? React 👍 or 👎 to let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant