From bf7c2c4081ef04b0dd809864588a20f14b179dcd Mon Sep 17 00:00:00 2001 From: aiongg <67543387+aiongg@users.noreply.github.com> Date: Sun, 11 Oct 2026 01:12:16 +0000 Subject: [PATCH] docs: list render_compare.py in CLAUDE.md --- CLAUDE.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 37d7b50..43c86a1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -103,6 +103,15 @@ separately (rule and evidence: `docs/measurement.md`). (package entries compared byte for byte), plus differences in failures and warnings. Takes about a minute. A refactoring must show 0 differing outputs. Full list: `~/.cache/indd-diff/diff.tsv`. +- `python3 -I tools/render_compare.py --designcraft PATH [--jobs N] + [--file SUBSTR]`: for corpus documents with a same-save InDesign PDF, + render the reference IDML (A) and the converter's IDML (B) with + DesignCraft and compare both with the PDF (R) page by page. A vs B + measures the converter, R vs A the renderer (`docs/measurement.md`, + "Render comparison"). DesignCraft is not in this repo: build + `designcraft-cli` from the sibling `~/aiongg/designcraft` checkout + (branch `next`). Run after `cargo build --release`; output in + `target/render-compare/`. - `indd audit `: what the converter does not read in one document (classes, chunks, attribute IDs, unknown codes, strand kinds) and its warnings. `python3 -I tools/audit_corpus.py --exclude own/` ranks these