30 lines
952 B
Markdown
30 lines
952 B
Markdown
# Fixture Pack
|
|
|
|
Schemeta uses deterministic fixture circuits for compile/layout/readability QA.
|
|
|
|
## Core fixtures
|
|
|
|
1. `examples/esp32-audio.json`
|
|
- Baseline audio pipeline (MCU -> DAC -> amp).
|
|
2. `examples/dense-analog.json`
|
|
- High-density analog topology used for overlap/crossing stress.
|
|
3. `examples/i2c-sensor-hub.json`
|
|
- Shared bus topology with pull-ups and interrupt branches.
|
|
4. `examples/power-tree.json`
|
|
- Multi-domain power-distribution with digital branch nets.
|
|
|
|
## Usage
|
|
|
|
1. Manual import in UI:
|
|
- `Import JSON` then select fixture file.
|
|
2. API:
|
|
- `POST /compile` or `POST /analyze` with fixture payload.
|
|
3. Automated regression:
|
|
- `npm run test:ui` uses `dense-analog` for layout budget checks.
|
|
|
|
## Notes
|
|
|
|
1. Fixtures should stay deterministic (stable ordering and explicit naming).
|
|
2. Avoid avoidable warnings in default/demo fixtures.
|
|
3. Add a fixture whenever a routing/layout bug is fixed to prevent regressions.
|