Parity
Parity
Section titled “Parity”Parity verifies that codex output matches an expected projection shape.
Profiles
Section titled “Profiles”summary— core viewer essentials (version, page count, encryption, boxes)inventory— aggregate and per-page inventory countsdeep— expanded conformance/trapping/count snapshots
Output
Section titled “Output”Parity writes a JSON report with:
- profile
- fixture set
- per-file case results
- diff list per case
- total diff count
Typical workflow
Section titled “Typical workflow”uv run codex-pdf parity --fixtures-root tests/fixtures --profile summaryuv run codex-pdf parity --fixtures-root tests/fixtures --profile inventoryuv run codex-pdf parity --fixtures-root tests/fixtures --profile deepUse --fail-on-diff in CI for gating.