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 (revision 2271830)
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) | 90.1% / 78.9% | >= 80% | PASS |
| J8 | Strict UA-1 real documents role accuracy / exact (N=152) | 43.3% / 0.7% | >= 80% | ASSISTED |
| J8 | All real-tagged role accuracy / exact (N=376) | 40.8% / 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.6% | 53.7% | 0.903 | 0/11 | 11/11 (100.0%) | 0 |
| corporate-reports | 34 | 34.0% | 65.2% | 0.885 | 0/34 | 34/34 (100.0%) | 0 |
| courts.ca.gov | 194 | 43.9% | 63.2% | 0.924 | 1/194 | 194/194 (100.0%) | 0 |
| eu-publications | 35 | 45.1% | 72.8% | 0.934 | 1/35 | 35/35 (100.0%) | 0 |
| uk-gov.uk | 35 | 45.6% | 75.2% | 0.956 | 0/35 | 35/35 (100.0%) | 0 |
| universities | 32 | 39.7% | 61.2% | 0.652 | 0/32 | 32/32 (100.0%) | 0 |
| us-federal | 35 | 24.6% | 55.5% | 0.905 | 0/35 | 35/35 (100.0%) | 0 |
Additional measurements: PDF/UA-2 remediation passes 20/20 (100%) on synthetic documents and 36/36 (100%, 0 errors) on a real sample of five documents per publisher plus one link-heavy federal report. Parser fuzzing executed 5,583,744 libFuzzer runs across 5 parser targets, one hour per target, with 0 crashes. The browser WebAssembly module is 386 KB gzipped. Single-core throughput measures 437 pages/s (synthetic), 8-core real-corpus throughput measures 562 pages/s (10,066 pages in 17.9 s), and single-file 2,000-page remediation uses 287 MB peak RSS.