pdf2wiki 0.2.3 — QA flags report + batch error_class rollup
QA + diagnostics from an external review of the repo. No breaking changes — every existing command
and flag behaves the same. Test suite 103 → 107 passing.
pip install --upgrade pdf2wiki # 0.2.3
Added
pdf2wiki qa flags PATHS...— a per-book report of the code blocks where the VLM diverged from the
byte-clean text layer (_code_flag), or where hybrid indentation failed a Python ast check
(_indent_flag), read straight fromblocks.json. Pass several books'blocks.jsonand it ranks them
by flagged count (which books to trust least); pass one and it lists each flagged block (page /
language / snippet). These are the highest-signal spots to spot-check a conversion.
Changed
- Batch summary rolls up
error_class— a partial batch now prints, e.g.
5 book(s) not done — by class: permanent×3, timeout×1, fetch×1(plus the slug list), so a cluster of
same-kind failures reads as one diagnosis instead of N separate slugs. Exit code unchanged.
Full changelog: CHANGELOG.md ·
PyPI: https://pypi.org/project/pdf2wiki/0.2.3/