mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-20 17:20:49 +01:00
compare.py now also writes target/compare/summary.json: the options of the run (--all, schema validation, --exclude, --limit, --file), the files, conversion failures (error messages) and schema validation failures of the paired and the other files, and the values, reproduced values and story counts of the trustworthy and of all pairs. tools/readme_numbers.py rewrites the "Current numbers" table of the README, now between `<!-- numbers:start -->` and `<!-- numbers:end -->`, from that summary. It refuses a summary from a run that included own/, covered part of the corpus, or ran without --all or schema validation. With --schemas and --jing it first builds the converter and runs `compare.py --all --exclude own/` with validation, so one command refreshes the README; --check only reports whether it is current. The numbers in the README are unchanged.