Pagetree ISO 14289
Reproducible Verification · Revision ea2a62e

Reproduce every scoreboard figure from a fresh clone.

Every claim published on Pagetree comes directly from bench/scoreboard --full run against pinned external validators and SHA-256-verified public corpora. Nothing from the benchmark harness is linked into the shipped binary.

Fresh-clone reproduction commands

Requirements: Rust 1.90+, Java 17+ (for veraPDF 1.30.4), poppler (pdftoppm, pdftotext), Ghostscript, and Python 3.10+.

# 1. Install pinned veraPDF 1.30.4 and Python judge packages (pikepdf, pypdfium2, Pillow, NumPy)
bash bench/install-tools.sh

# 2. Build release binaries for the checker, remediator, and benchmark tools
cargo build --release -p pagetree-cli -p pagetree-bench

# 3. Fetch public corpora with strict SHA-256 manifest verification
bash bench/fetch-corpus.sh --strict

# 4. Run the full scoreboard across all 416 unique documents and veraPDF corpora
bench/scoreboard --full

# 5. Measure single-core synthetic and 8-core real-corpus throughput
target/release/pagetree batch bench/corpus/synthetic/pdf -o /tmp/pt-syn --rebuild --jobs 1
target/release/pagetree batch bench/corpus/real-tagged -o /tmp/pt-real --rebuild --jobs 8

# 6. Verify PDF/UA-2 remediation on synthetic and stratified 7-publisher samples
target/release/pagetree batch bench/corpus/synthetic/pdf -o /tmp/pt-ua2 --ua2 --rebuild
bench/tools/verapdf/verapdf -f ua2 /tmp/pt-ua2/*.pdf

# 7. Measure gzipped WebAssembly bundle size
bash site/build.sh
gzip -c site/public/pkg/pagetree_wasm_bg.wasm | wc -c

Full judge scoreboard (Checkpoint 6, revision ea2a62e)

Run date: 2026-12-03. Validator: veraPDF 1.30.4. Unique documents: 416 (152 strict UA-1 real documents, 376 real-tagged publications, 20 conformance fixtures, 20 synthetic source-truth documents).

Judge Metric Measured Target Status
J1Pass-to-fail regressions (N=416)00PASS
J1veraPDF ERROR results (before / after / rebuilt)0 / 0 / 00PASS
J1PDF/UA-1 checker agreement (FP=0, FN=0)100.0% (297/297)>= 99.5%PASS
J2PDF/UA-2 checker agreement (FP=0, FN=0)100.0% (138/138)>= 99.0%PASS
J3Rendered page SSIM (mean / minimum, N=416)1.000000 / 1.000000>= 0.999 / 0.995PASS
J4Extracted text fidelity (N=416)100.00%>= 99.9%PASS
J6Structural integrity (qpdf, pikepdf, Ghostscript)100.0% (416/416)100%PASS
J1No-harm preservation on tagged real documents100.0% (376/376)100%PASS
J8Rebuilt real documents passing veraPDF UA-1100.0% (376/376)>= 95%PASS
J8Rebuilt all documents passing veraPDF UA-1100.0% (395/395)>= 95%PASS
J8Conformance fixtures role accuracy / exact (N=19)88.8% / 78.9%>= 80%PASS
J8Strict UA-1 real documents role accuracy / exact (N=152)41.0% / 0.7%>= 80%ASSISTED
J8All real-tagged role accuracy / exact (N=376)38.6% / 0.5%>= 80%ASSISTED
J5Synthetic source-truth role F1 / exact (N=20)100.0% / 100.0%>= 85%PASS
J7Full-cycle remediation pass on synthetic set (N=20)100.0% (20/20)GatePASS

Per-publisher J8 strip-and-rebuild breakdown (N=376)

Each document has its existing structure tree stripped, is rebuilt from page geometry by pagetree fix --rebuild, is validated by veraPDF 1.30.4, and has its inferred roles and reading order scored against the publisher's original tags.

Publisher group Docs Role accuracy Coverage Order tau Exact Rebuilt PASS Errors
ca-partner1133.1%50.9%0.9150/1111/11 (100.0%)0
corporate-reports3433.9%64.8%0.8850/3434/34 (100.0%)0
courts.ca.gov19441.6%60.4%0.9241/194194/194 (100.0%)0
eu-publications3544.6%69.5%0.9331/3535/35 (100.0%)0
uk-gov.uk3542.3%69.5%0.9390/3535/35 (100.0%)0
universities3240.8%60.9%0.6520/3232/32 (100.0%)0
us-federal3516.5%44.2%0.8930/3535/35 (100.0%)0

Additional measurements on v0.1.0: PDF/UA-2 remediation passes 20/20 (100%) on synthetic documents and 35/35 (100%, 0 errors) on a stratified 7-publisher real sample. Single-core throughput measures 418.1 pages/s (synthetic), 8-core real-corpus throughput measures 409.6 pages/s (10,066 pages in 24.6 s), and single-file 2,000-page remediation uses 282 MB peak RSS. The browser WebAssembly module is 384 KB gzipped. Parser fuzzing executed 2,340,504 libFuzzer runs across 5 parser targets with 0 crashes.