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 |
|---|---|---|---|---|
| J1 | Pass-to-fail regressions (N=416) | 0 | 0 | PASS |
| J1 | veraPDF ERROR results (before / after / rebuilt) | 0 / 0 / 0 | 0 | PASS |
| J1 | PDF/UA-1 checker agreement (FP=0, FN=0) | 100.0% (297/297) | >= 99.5% | PASS |
| J2 | PDF/UA-2 checker agreement (FP=0, FN=0) | 100.0% (138/138) | >= 99.0% | PASS |
| J3 | Rendered page SSIM (mean / minimum, N=416) | 1.000000 / 1.000000 | >= 0.999 / 0.995 | PASS |
| J4 | Extracted text fidelity (N=416) | 100.00% | >= 99.9% | PASS |
| J6 | Structural integrity (qpdf, pikepdf, Ghostscript) | 100.0% (416/416) | 100% | PASS |
| J1 | No-harm preservation on tagged real documents | 100.0% (376/376) | 100% | PASS |
| J8 | Rebuilt real documents passing veraPDF UA-1 | 100.0% (376/376) | >= 95% | PASS |
| J8 | Rebuilt all documents passing veraPDF UA-1 | 100.0% (395/395) | >= 95% | PASS |
| J8 | Conformance fixtures role accuracy / exact (N=19) | 88.8% / 78.9% | >= 80% | PASS |
| J8 | Strict UA-1 real documents role accuracy / exact (N=152) | 41.0% / 0.7% | >= 80% | ASSISTED |
| J8 | All real-tagged role accuracy / exact (N=376) | 38.6% / 0.5% | >= 80% | ASSISTED |
| J5 | Synthetic source-truth role F1 / exact (N=20) | 100.0% / 100.0% | >= 85% | PASS |
| J7 | Full-cycle remediation pass on synthetic set (N=20) | 100.0% (20/20) | Gate | PASS |
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-partner | 11 | 33.1% | 50.9% | 0.915 | 0/11 | 11/11 (100.0%) | 0 |
| corporate-reports | 34 | 33.9% | 64.8% | 0.885 | 0/34 | 34/34 (100.0%) | 0 |
| courts.ca.gov | 194 | 41.6% | 60.4% | 0.924 | 1/194 | 194/194 (100.0%) | 0 |
| eu-publications | 35 | 44.6% | 69.5% | 0.933 | 1/35 | 35/35 (100.0%) | 0 |
| uk-gov.uk | 35 | 42.3% | 69.5% | 0.939 | 0/35 | 35/35 (100.0%) | 0 |
| universities | 32 | 40.8% | 60.9% | 0.652 | 0/32 | 32/32 (100.0%) | 0 |
| us-federal | 35 | 16.5% | 44.2% | 0.893 | 0/35 | 35/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.