Skip to content

Reproduce lost component metadata on real Altium schematics - #97

Open
Abse2001 wants to merge 2 commits into
mainfrom
codex/repro-component-parameters
Open

Reproduce lost component metadata on real Altium schematics#97
Abse2001 wants to merge 2 commits into
mainfrom
codex/repro-component-parameters

Conversation

@Abse2001

@Abse2001 Abse2001 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Reproduction

This PR adds a regression boundary using five complete, pinned open-source Altium schematics. It does not change the exporter.

Four real schematics contain manufacturer and supplier part metadata: HERON PAY-SSM (12 components), SimpleFOC Mini (14), SimpleFOC Shield V3 (22), and HERON systems PCB (8). The current Circuit JSON → Altium → Circuit JSON round trip preserves zero of those populated component records. NodeMCU remains as a complete zero-metadata control.

The full-circuit snapshots are refreshed from the enriched source import, and the HERON systems snapshot includes visible source/round-trip count bars so the fix produces a reviewable snapshot difference.

The source fixtures, licenses, revisions, and hashes are documented in references/README.md.

Verification

  • bun test tests/schematic-roundtrip01-nodemcu-esp12.test.ts tests/schematic-roundtrip02-heron-pay-ssm.test.ts tests/schematic-roundtrip03-simplefoc-mini.test.ts tests/schematic-roundtrip04-simplefoc-shield-v3.test.ts tests/schematic-roundtrip05-heron-systems-pcb.test.ts
  • bun run format
  • bun run typecheck

Stacked fix: #76

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