feat(review): add deterministic GDS dumps and structural comparisons

Read embedded layer-name labels, retain unsupported records, and report affected hierarchy as ASCII or Mermaid. Preserve duplicate objects, canonicalize polygon rings, and cover the first profile with ten fixture pairs and golden outputs.
This commit is contained in:
Jan Petykiewicz 2026-11-14 17:25:04 -08:00
commit a04a955e90
3 changed files with 2160 additions and 0 deletions

View file

@ -0,0 +1,8 @@
profile klamath-object-v1
coordinates: integer database units; bounds: coordinate envelopes
HEADER=[600]
LIBNAME="test"
UNITS=[0.001, 9.999999999999999e-10] raw=0x3f04189374bc6a7f3a044b82fa09b5a5
layer 1/0 name="WG"
cell "CHIP"
BOUNDARY layer=1 datatype=0 xy=[0, 0, 0, 10, 10, 10, 10, 0, 0, 0]

View file

@ -0,0 +1,9 @@
flowchart TD
n0["CHIP [affected]"]
n1["leaf [cell changed]"]
n2["left [affected]"]
n3["right [affected]"]
n0 -->|"x1"| n2
n0 -->|"x1"| n3
n2 -->|"x2"| n1
n3 -->|"x3"| n1

View file

@ -0,0 +1,5 @@
"CHIP" x1 [affected]
"left" x1 [affected]
"leaf" x2 [cell changed]
"right" x1 [affected]
"leaf" x3 [cell changed] [shown above]