Skip to content

STAR: iSWAP.request_is_parked, and two channels a pitch apart are not too close - #1346

Merged
rickwierenga merged 1 commit into
mainfrom
star-iswap-is-parked
Sep 25, 2026
Merged

rickwierenga merged 1 commit into
mainfrom
star-iswap-is-parked

Conversation

@BioCam

@BioCam BioCam commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

iSWAP.request_parked answers a yes/no question, and _tip_command_positions refused two spots exactly one channel pitch apart: 130.7 - 121.7 is 8.999999999999986 in floating point, below the 9.0 mm minimum, although the command carries tenths.

  • iSWAP.request_parked is request_is_parked; every caller and test follows. No alias.
  • _tip_command_positions rounds the Y gap to 0.1 mm before comparing it with the pair's minimum spacing, and the refusal names the rounded gap.

Tests: spots a pitch apart in floating point go out in one command.

🤖 Generated with Claude Code

@BioCam
BioCam force-pushed the star-iswap-is-parked branch from 4cfc574 to f982d56 Compare September 24, 2026 23:26
@BioCam
BioCam force-pushed the star-iswap-is-parked branch from f982d56 to e75f30a Compare September 25, 2026 07:25
@rickwierenga
rickwierenga added this pull request to stack #1357 September 25, 2026 07:50
@rickwierenga
rickwierenga force-pushed the star-iswap-is-parked branch 2 times, most recently from 732c63f to b438013 Compare September 25, 2026 10:09
@rickwierenga
rickwierenga force-pushed the star-iswap-is-parked branch 5 times, most recently from 6cf6376 to e478b08 Compare September 25, 2026 10:17
Base automatically changed from star-tadm to main September 25, 2026 10:17
… too close

The name answers a yes/no question, so it reads as one: `request_is_parked`, callers and tests
renamed with it.

Spots exactly one pitch apart were refused as too close for a tip command: the Y difference of two
float positions is off by float error (130.7 - 121.7 is 8.999999999999986), while the command
carries tenths. The gap is rounded to 0.1 mm before it is compared.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rickwierenga
rickwierenga merged commit a9384a0 into main Sep 25, 2026
3 of 20 checks passed
@rickwierenga
rickwierenga deleted the star-iswap-is-parked branch September 25, 2026 12:45
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.

2 participants