Skip to content

Commit 6800975

Browse files
authored
docs: document deterministic multi-family SVG rendering
1 parent 511f57c commit 6800975

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

docs/benchmarks/multi_family_admissibility_benchmark.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,17 @@ python scripts/generate_multi_family_admissibility_artifact.py
6565
npm run generate:multi-family-admissibility
6666
```
6767

68+
## Deterministic SVG rendering
69+
70+
The benchmark also includes a deterministic SVG rendering step:
71+
72+
- Input: `artifacts/multi_family_admissibility_results.json`
73+
- Output: `artifacts/multi_family_admissibility_curves.svg`
74+
- Script: `scripts/render_multi_family_admissibility_svg.py`
75+
- npm command: `npm run generate:multi-family-svg`
76+
77+
The SVG output is deterministic by design with fixed dimensions, fixed axes, fixed degradation level order, lexicographic family order, a hardcoded palette, no timestamps, no generated IDs, and no embedded JavaScript.
78+
6879
## Validation commands
6980

7081
Run the targeted protections plus the repository-wide check entrypoint:
@@ -73,6 +84,7 @@ Run the targeted protections plus the repository-wide check entrypoint:
7384
pytest tests/test_multi_family_admissibility_artifact.py -q
7485
pytest tests/test_artifact_reproducibility.py -q
7586
pytest tests/test_manifest_fixture_families.py -q
87+
pytest tests/test_multi_family_svg_renderer.py -q
7688
npm run check
7789
```
7890

0 commit comments

Comments
 (0)