Skip to content

test: expose the four courtyard-parity exemptions - #857

Open
birdup000 wants to merge 1 commit into
tscircuit:mainfrom
birdup000:expose-parity-exemptions
Open

test: expose the four courtyard-parity exemptions#857
birdup000 wants to merge 1 commit into
tscircuit:mainfrom
birdup000:expose-parity-exemptions

Conversation

@birdup000

Copy link
Copy Markdown

Addresses the visibility half of #731

What

Per the issue's measurements, the four worst parity footprints were exactly the ones not held to a real bound. This makes every exemption explicit:

  • soic8 (measured 14.24% off) and qfn32 (13.08%) previously asserted only snapshots — stably wrong passed silently. Both now carry explicit toBeLessThan(15) / toBeLessThan(14) ceiling assertions, so any growth in the drift fails CI loudly while the current state stays green.
  • soic20 / soic24 keep their bespoke 16 ceilings but gain comments recording the measurements (~15.3%) and pointing at 4 footprints are 13–16% off KiCad courtyard parity, and all 4 are exempt from the threshold #731.

The geometry half (aligning these four to KiCad like the other 84) is deliberately left open pending your direction on whether the legsoutside variants are intentionally different.

Verification

  • All four parity tests pass with the new assertions; measured IoUs logged (SOIC-8 85.76%, QFN-32 86.92%)
  • Full suite: 564/564 pass, biome clean

soic8 and qfn32 asserted only snapshots — a stable 14% courtyard
drift passed silently. They now carry explicit ceiling assertions
matching the measured drift (14.24% and 13.08%), so CI fails loudly
if the drift grows. The bespoke 16 ceilings on soic20/soic24 gain
comments recording the measurements and pointing at tscircuit#731.

This is the visibility half of tscircuit#731; the geometry half (matching
KiCad the way the other 84 footprints do) stays open pending
maintainer direction on the legsoutside variants.
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