PAIRED VALIDATION · FULL 200-PAGE CORPUS · DECEMBER 2026

Smart Router v2

Preserve usable native text when OCR risks losing content or disrupting reading order. A frozen v1 build and AnyDoc alone are compared with the new router using the same browser and hardware within each split.

Full-corpus v2 reference score90.19%
Paired WER reduction vs AnyDoc16.32%
Pages200
Measured attempts600

Verified validation workflow · Merged PR · Policy & reproduction

FULL CORPUS · 200 PAGES · 600 ATTEMPTS

Full DP-Bench corpus evaluation

The same frozen router policy evaluated on all 200 pages, including 160 previously unevaluated pages.

v2 reference score90.19%
Paired WER reduction vs AnyDoc16.32%
v2 completed200/200
v2 pooled median949 ms
ModeReference scoreCompletedWER (successes)CER (successes)Pooled median
Smart Router v290.19%200/2009.81%7.63%949 ms
AnyDoc87.36%197/20011.31%9.31%232 ms
Smart Router v185.66%200/20014.34%11.56%819.5 ms

Paired word-error comparison

SubsetJoint successesAnyDoc mean WERv2 mean WERRelative reduction
Full 20019711.31%9.46%16.32%
Previously evaluated 404010.03%7.46%25.56%
New 16015711.63%9.97%14.29%

All-attempt reference-score comparisons vs AnyDoc: 59 improved, 116 tied, 25 degraded. Versus v1: 22 improved, 176 tied, 2 degraded; 31.62% lower mean WER across 200 successful pairs. Three AnyDoc attempts failed. v2 selected AnyDoc on 113 pages and LiteParse + OCR on 87.

AnyDoc alone is faster. Pooled latency is descriptive across different runners; use within-shard timings for matched comparisons. Reference scores include failures at zero; WER comparisons use only jointly successful cases and unrounded means. One trial per page and mode. Normalized text-only diagnostics, not official DP-Bench NID/TEDS or a universal accuracy claim. The 160 pages are new to this evaluation, not an independent external dataset.

Download original full JSON (600 cases) · Successful CI run · Exact benchmark code

Report SHA-256: 5d13b5ab2128be9dbac496227c75fa9d48aecd9172cc316bf8081f416a2fcd64

Development pilot

Sorted PDF paths; take one-based positions 5, 15, ..., 195 before evaluation. All 60 measured cases completed. 1 pages improved, 19 tied and 0 regressed against v1; mean paired gain 2.10 percentage points.

ModeReference scoreSuccessfulWERCERMedian
Smart Router v294.52%20/205.48%4.17%607 ms
AnyDoc93.18%20/206.82%5.35%193 ms
Smart Router v192.42%20/207.58%5.71%565 ms

Runner: AMD EPYC 9V45 96-Core Processor, 4 logical CPUs; Chromium 159.0.8154.6. Compare latency only within this split.

Download full metrics JSON · Workflow job

All 20 paired page comparisons
Source IDv1 scorev2 scoreDeltav2 routeGuard reason
0103000000000592.11%92.11%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000001549.55%91.52%+41.96 ppanydococr_reading_order_disagreement
0103000000002599.73%99.73%+0.00 ppanydoc—
0103000000003589.41%89.41%+0.00 ppanydoc—
0103000000004590.09%90.09%+0.00 ppanydoc—
0103000000005590.82%90.82%+0.00 ppanydoc—
01030000000065100.00%100.00%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
01030000000075100.00%100.00%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000008593.18%93.18%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000009590.58%90.58%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000010593.41%93.41%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000011599.62%99.62%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000012598.33%98.33%+0.00 ppanydoc—
0103000000013599.64%99.64%+0.00 ppanydoc—
0103000000014585.05%85.05%+0.00 ppanydoc—
01030000000155100.00%100.00%+0.00 ppanydoc—
0103000000016583.63%83.63%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000017598.85%98.85%+0.00 ppanydocnative_preferred_no_new_ocr_words
0103000000018594.48%94.48%+0.00 ppanydoc—
01030000000195100.00%100.00%+0.00 ppanydoc—

Independent holdout

Sorted PDF paths; one-based positions 10, 20, ..., 200, fixed before v2 evaluation; disjoint from pilot positions 5, 15, ..., 195. All 60 measured cases completed. 4 pages improved, 16 tied and 0 regressed against v1; mean paired gain 8.48 percentage points.

ModeReference scoreSuccessfulWERCERMedian
Smart Router v290.55%20/209.45%7.30%1,371 ms
AnyDoc86.77%20/2013.23%10.87%253 ms
Smart Router v182.07%20/2017.93%14.24%1,181 ms

Runner: INTEL(R) XEON(R) PLATINUM 8573C, 4 logical CPUs; Chromium 159.0.8154.6. Compare latency only within this split.

Download full metrics JSON · Workflow job

All 20 paired page comparisons
Source IDv1 scorev2 scoreDeltav2 routeGuard reason
0103000000001022.15%94.14%+71.99 ppanydococr_reading_order_disagreement
01030000000020100.00%100.00%+0.00 ppanydoc—
0103000000003093.33%93.33%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000004023.51%95.30%+71.78 ppanydococr_reading_order_disagreement
01030000000050100.00%100.00%+0.00 ppanydoc—
0103000000006092.17%92.17%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000007078.29%78.29%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000008096.24%96.24%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000009089.14%89.14%+0.00 ppanydoc—
0103000000010080.58%80.58%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000011098.52%98.52%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000012073.82%73.82%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000013087.21%87.21%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000014069.41%69.41%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000015098.42%98.42%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
01030000000160100.00%100.00%+0.00 ppanydoc—
0103000000017093.92%93.92%+0.00 ppliteparse-ocrocr_preserves_native_text_with_changes
0103000000018093.10%94.25%+1.15 ppanydocnative_preferred_no_new_ocr_words
0103000000019099.52%99.52%+0.00 ppanydoc—
0103000000020052.14%76.75%+24.60 ppanydococr_reading_order_disagreement

Trade-offs and limitations

The v2 guard compares bounded normalized word counts and ordered subsequence retention only when OCR is recommended and both native and OCR extraction are available. It keeps usable native output when OCR fails its guard, with a warning that scanned content may still be missing. It is not a calibrated accuracy score.

Within the holdout, median wall-clock latency was 1,371 ms for v2, 1,181 ms for v1 and 253 ms for AnyDoc. The two splits ran on different CPU models; do not compare latency across splits.

Reference score is mean max(0, 1 − normalized WER), not official DP-Bench NID/TEDS. One measured trial per mode and page, no warm-up, rotated order. The holdout is disjoint and fixed, not necessarily representative or independently distributed. No universal accuracy, layout, multilingual or production-performance claim. No source or predicted text is hosted.

Source: Upstage DP-Bench, via pinned OpenDataLoader mirror. Dataset license: MIT (upstream declaration). No OmniDocBench data used.