Mailroom evaluation reports

Mailroom evaluation — master status and research report

Data 16–28 Sep 2026 · generated by sandbox reports/dashboard/export_hub_reports.py from the cross-checked reports hub (1,844 source-quoted figures, 781 automated cross-checks, 8 documented source defects) · sources: local-mailroom-sandbox @ 95d89fa8f401 · eval-environment @ 86b4e54fc5a2 · mailroom-ml @ d3ad22263da0

The mailroom classifies incoming legal documents and extracts fields with class-specific specialists. It has been evaluated on two serving legs:

A third workstream trains the ModernBERT intake classifier (LLM-Mailroom-Services/mailroom-ml). All three use the public Lucius-Morningstar/mailroom-dataset (v9.1 = ed7576b, 3,302 rows).

Companions: Cost comparison and GPU economics. Live hub: local-mailroom-sandbox/reports/dashboard/mailroom-reports.html.

1. Status at a glance#

Front Where it stands Gate
Specialist extraction (Modal, SAND-032) Insurance 0.688 · corporate 0.458 · correspondence 0.300 · contracts CUAD micro-F1 0.596 · merger MAUD accuracy 8.5% no extraction gate met; merger unsolved
Specialist extraction (API) best per task: correspondence Qwen3-8B 0.513, insurance claims DeepSeek-V4.1-Flash 0.797, corporate records DeepSeek-V4.1-Flash 0.442, contracts Qwen3-8B 0.617, merger agreements Qwen3.7-Flash 0.521 no model wins every task
Serving (Modal L4) L5 posture frozen; 2×L4 scale-out at flat $/doc; SAND-032 spend $2.80 of $5.00 ✓ within cap
LLM sorter API n = 100: 91–95% class, 49–64% subclass; Modal S6 89.5% (n = 457) subclass far below 75%
ModernBERT intake Arm B 95.05% doc type, 58.3% subclass ✓ P0 95% doc-type gate met · ✕ 75% subclass gate

2. API leg — findings#

Task Model n Score $/doc Wall p95 call Run
Correspondence DeepSeek-V4.1-Flash 20 0.4419 $0.00060 40.3 s 14.4 s 20260927T105317Z-eval-correspondence
Correspondence Granite-4.2-8B 20 0.4065 $0.0015 272 s 147 s 20260927T053647Z-eval-correspondence
Correspondence Qwen3-8B 20 0.5130 $0.0030 1,230 s 151 s 20260927T033031Z-eval-correspondence
Correspondence Qwen3.7-Flash (n = 50) 50 0.4931 $0.00045 322 s 44.7 s 20260928T090253Z-eval-correspondence
Insurance claims DeepSeek-V4.1-Flash 20 0.7974 $0.00067 107 s 79.7 s 20260927T105400Z-eval-insurance_claims
Insurance claims Granite-4.2-8B 20 0.7135 $0.0012 208 s 122 s 20260927T054211Z-eval-insurance_claims
Insurance claims Qwen3-8B 20 0.7488 $0.0016 203 s 147 s 20260927T035135Z-eval-insurance_claims
Insurance claims Qwen3.7-Flash (n = 50) 50 0.7733 $0.00051 308 s 63.0 s 20260928T070248Z-eval-insurance_claims
Corporate records DeepSeek-V4.1-Flash 20 0.4415 $0.00098 91.6 s 16.9 s 20260927T110828Z-eval-corporate_records
Corporate records Granite-4.2-8B 20 0.4156 $0.0022 509 s 205 s 20260927T065622Z-eval-corporate_records
Corporate records Qwen3-8B 20 0.4004 $0.0030 436 s 338 s 20260927T042239Z-eval-corporate_records
Corporate records Qwen3.7-Flash (n = 50) 50 0.4178 $0.00079 347 s 97.5 s 20260928T083627Z-eval-corporate_records
Contracts DeepSeek-V4.1-Flash 20 0.5137 $0.0025 362 s 269 s 20260927T105549Z-eval-contracts
Contracts Granite-4.2-8B 20 0.4769 $0.0037 666 s 264 s 20260927T054738Z-eval-contracts
Contracts Qwen3-8B 20 0.6169 $0.0057 1,458 s 285 s 20260927T035621Z-eval-contracts
Contracts Qwen3.7-Flash (n = 50) 50 0.5462 $0.0015 690 s 203 s 20260928T063713Z-eval-contracts
Merger agreements DeepSeek-V4.1-Flash 20 0.2423 $0.0038 393 s 63.9 s 20260927T110153Z-eval-merger_agreement
Merger agreements Granite-4.2-8B 20 0.4548 $0.0089 1,228 s 580 s 20260927T082404Z-eval-merger_agreement
Merger agreements Qwen3.7-Flash · frozen (filed as Qwen3-8B) 20 0.3748 $0.0029 142 s 52.4 s 20260927T022750Z-eval-merger_agreement
Merger agreements Qwen3.7-Flash (n = 50) 50 0.5213 $0.0032 488 s 99.7 s 20260928T070803Z-eval-merger_agreement
Extraction score by document type Mean overall score per document (0 to 1), hosted API models, n = 20 documents per bar unless marked DeepSeek-V4.1-Flash Granite-4.2-8B Qwen3-8B Qwen3.7-Flash 0.00 0.25 0.50 0.75 1.00 Correspondence DeepSeek-V4.1-Flash Correspondence · DeepSeek-V4.1-Flash: 0.44 — n = 20, frozen prompts, run 20260927T105317Z-eval-correspondence 0.44 Granite-4.2-8B Correspondence · Granite-4.2-8B: 0.41 — n = 20, frozen prompts, run 20260927T053647Z-eval-correspondence 0.41 Qwen3-8B Correspondence · Qwen3-8B: 0.51 — n = 20, frozen prompts, run 20260927T033031Z-eval-correspondence 0.51 Qwen3.7-Flash · n = 50 Correspondence · Qwen3.7-Flash · n = 50: 0.49 — n = 50, mutation prompts, run 20260928T090253Z-eval-correspondence 0.49 Insurance claims DeepSeek-V4.1-Flash Insurance claims · DeepSeek-V4.1-Flash: 0.80 — n = 20, frozen prompts, run 20260927T105400Z-eval-insurance_claims 0.80 Granite-4.2-8B Insurance claims · Granite-4.2-8B: 0.71 — n = 20, frozen prompts, run 20260927T054211Z-eval-insurance_claims 0.71 Qwen3-8B Insurance claims · Qwen3-8B: 0.75 — n = 20, frozen prompts, run 20260927T035135Z-eval-insurance_claims 0.75 Qwen3.7-Flash · n = 50 Insurance claims · Qwen3.7-Flash · n = 50: 0.77 — n = 50, mutation prompts, run 20260928T070248Z-eval-insurance_claims 0.77 Corporate records DeepSeek-V4.1-Flash Corporate records · DeepSeek-V4.1-Flash: 0.44 — n = 20, frozen prompts, run 20260927T110828Z-eval-corporate_records 0.44 Granite-4.2-8B Corporate records · Granite-4.2-8B: 0.42 — n = 20, frozen prompts, run 20260927T065622Z-eval-corporate_records 0.42 Qwen3-8B Corporate records · Qwen3-8B: 0.40 — n = 20, frozen prompts, run 20260927T042239Z-eval-corporate_records 0.40 Qwen3.7-Flash · n = 50 Corporate records · Qwen3.7-Flash · n = 50: 0.42 — n = 50, mutation prompts, run 20260928T083627Z-eval-corporate_records 0.42 Contracts DeepSeek-V4.1-Flash Contracts · DeepSeek-V4.1-Flash: 0.51 — n = 20, frozen prompts, run 20260927T105549Z-eval-contracts 0.51 Granite-4.2-8B Contracts · Granite-4.2-8B: 0.48 — n = 20, frozen prompts, run 20260927T054738Z-eval-contracts 0.48 Qwen3-8B Contracts · Qwen3-8B: 0.62 — n = 20, frozen prompts, run 20260927T035621Z-eval-contracts 0.62 Qwen3.7-Flash · n = 50 Contracts · Qwen3.7-Flash · n = 50: 0.55 — n = 50, mutation prompts, run 20260928T063713Z-eval-contracts 0.55 Merger agreements DeepSeek-V4.1-Flash Merger agreements · DeepSeek-V4.1-Flash: 0.24 — n = 20, frozen prompts, run 20260927T110153Z-eval-merger_agreement 0.24 Granite-4.2-8B Merger agreements · Granite-4.2-8B: 0.45 — n = 20, frozen prompts, run 20260927T082404Z-eval-merger_agreement 0.45 Qwen3.7-Flash · frozen prompts Merger agreements · Qwen3.7-Flash · frozen prompts: 0.37 — n = 20, frozen prompts, run 20260927T022750Z-eval-merger_agreement; filed as Qwen3-8B 0.37 Qwen3.7-Flash · n = 50 Merger agreements · Qwen3.7-Flash · n = 50: 0.52 — n = 50, mutation prompts, run 20260928T070803Z-eval-merger_agreement 0.52
API extraction score by type
Document type Model n Mean score Run
Correspondence DeepSeek-V4.1-Flash 20 0.4419 20260927T105317Z-eval-correspondence
Correspondence Granite-4.2-8B 20 0.4065 20260927T053647Z-eval-correspondence
Correspondence Qwen3-8B 20 0.5130 20260927T033031Z-eval-correspondence
Correspondence Qwen3.7-Flash · n = 50 50 0.4931 20260928T090253Z-eval-correspondence
Insurance claims DeepSeek-V4.1-Flash 20 0.7974 20260927T105400Z-eval-insurance_claims
Insurance claims Granite-4.2-8B 20 0.7135 20260927T054211Z-eval-insurance_claims
Insurance claims Qwen3-8B 20 0.7488 20260927T035135Z-eval-insurance_claims
Insurance claims Qwen3.7-Flash · n = 50 50 0.7733 20260928T070248Z-eval-insurance_claims
Corporate records DeepSeek-V4.1-Flash 20 0.4415 20260927T110828Z-eval-corporate_records
Corporate records Granite-4.2-8B 20 0.4156 20260927T065622Z-eval-corporate_records
Corporate records Qwen3-8B 20 0.4004 20260927T042239Z-eval-corporate_records
Corporate records Qwen3.7-Flash · n = 50 50 0.4178 20260928T083627Z-eval-corporate_records
Contracts DeepSeek-V4.1-Flash 20 0.5137 20260927T105549Z-eval-contracts
Contracts Granite-4.2-8B 20 0.4769 20260927T054738Z-eval-contracts
Contracts Qwen3-8B 20 0.6169 20260927T035621Z-eval-contracts
Contracts Qwen3.7-Flash · n = 50 50 0.5462 20260928T063713Z-eval-contracts
Merger agreements DeepSeek-V4.1-Flash 20 0.2423 20260927T110153Z-eval-merger_agreement
Merger agreements Granite-4.2-8B 20 0.4548 20260927T082404Z-eval-merger_agreement
Merger agreements Qwen3.7-Flash · frozen prompts 20 0.3748 20260927T022750Z-eval-merger_agreement
Merger agreements Qwen3.7-Flash · n = 50 50 0.5213 20260928T070803Z-eval-merger_agreement
API cost per 1,000 documents US dollars per 1,000 documents: each run's billed cost divided by its scored documents DeepSeek-V4.1-Flash Granite-4.2-8B Qwen3-8B Qwen3.7-Flash $0 $2.5 $5 $7.5 $10 Correspondence DeepSeek-V4.1-Flash Correspondence · DeepSeek-V4.1-Flash: $0.60 — $0.0121 total over 20 documents; n = 20, frozen prompts, run 20260927T105317Z-eval-correspondence $0.60 Granite-4.2-8B Correspondence · Granite-4.2-8B: $1.46 — $0.0292 total over 20 documents; n = 20, frozen prompts, run 20260927T053647Z-eval-correspondence $1.46 Qwen3-8B Correspondence · Qwen3-8B: $3.02 — $0.0604 total over 20 documents; n = 20, frozen prompts, run 20260927T033031Z-eval-correspondence $3.02 Qwen3.7-Flash · n = 50 Correspondence · Qwen3.7-Flash · n = 50: $0.45 — $0.0225 total over 50 documents; n = 50, mutation prompts, run 20260928T090253Z-eval-correspondence $0.45 Insurance claims DeepSeek-V4.1-Flash Insurance claims · DeepSeek-V4.1-Flash: $0.67 — $0.0135 total over 20 documents; n = 20, frozen prompts, run 20260927T105400Z-eval-insurance_claims $0.67 Granite-4.2-8B Insurance claims · Granite-4.2-8B: $1.24 — $0.0247 total over 20 documents; n = 20, frozen prompts, run 20260927T054211Z-eval-insurance_claims $1.24 Qwen3-8B Insurance claims · Qwen3-8B: $1.60 — $0.0320 total over 20 documents; n = 20, frozen prompts, run 20260927T035135Z-eval-insurance_claims $1.60 Qwen3.7-Flash · n = 50 Insurance claims · Qwen3.7-Flash · n = 50: $0.51 — $0.0253 total over 50 documents; n = 50, mutation prompts, run 20260928T070248Z-eval-insurance_claims $0.51 Corporate records DeepSeek-V4.1-Flash Corporate records · DeepSeek-V4.1-Flash: $0.98 — $0.0197 total over 20 documents; n = 20, frozen prompts, run 20260927T110828Z-eval-corporate_records $0.98 Granite-4.2-8B Corporate records · Granite-4.2-8B: $2.18 — $0.0436 total over 20 documents; n = 20, frozen prompts, run 20260927T065622Z-eval-corporate_records $2.18 Qwen3-8B Corporate records · Qwen3-8B: $3.01 — $0.0602 total over 20 documents; n = 20, frozen prompts, run 20260927T042239Z-eval-corporate_records $3.01 Qwen3.7-Flash · n = 50 Corporate records · Qwen3.7-Flash · n = 50: $0.79 — $0.0393 total over 50 documents; n = 50, mutation prompts, run 20260928T083627Z-eval-corporate_records $0.79 Contracts DeepSeek-V4.1-Flash Contracts · DeepSeek-V4.1-Flash: $2.51 — $0.0502 total over 20 documents; n = 20, frozen prompts, run 20260927T105549Z-eval-contracts $2.51 Granite-4.2-8B Contracts · Granite-4.2-8B: $3.70 — $0.0740 total over 20 documents; n = 20, frozen prompts, run 20260927T054738Z-eval-contracts $3.70 Qwen3-8B Contracts · Qwen3-8B: $5.70 — $0.1141 total over 20 documents; n = 20, frozen prompts, run 20260927T035621Z-eval-contracts $5.70 Qwen3.7-Flash · n = 50 Contracts · Qwen3.7-Flash · n = 50: $1.48 — $0.0739 total over 50 documents; n = 50, mutation prompts, run 20260928T063713Z-eval-contracts $1.48 Merger agreements DeepSeek-V4.1-Flash Merger agreements · DeepSeek-V4.1-Flash: $3.76 — $0.0752 total over 20 documents; n = 20, frozen prompts, run 20260927T110153Z-eval-merger_agreement $3.76 Granite-4.2-8B Merger agreements · Granite-4.2-8B: $8.87 — $0.1774 total over 20 documents; n = 20, frozen prompts, run 20260927T082404Z-eval-merger_agreement $8.87 Qwen3.7-Flash · frozen prompts Merger agreements · Qwen3.7-Flash · frozen prompts: $2.88 — $0.0575 total over 20 documents; n = 20, frozen prompts, run 20260927T022750Z-eval-merger_agreement; filed as Qwen3-8B $2.88 Qwen3.7-Flash · n = 50 Merger agreements · Qwen3.7-Flash · n = 50: $3.22 — $0.1611 total over 50 documents; n = 50, mutation prompts, run 20260928T070803Z-eval-merger_agreement $3.22
API cost per document
Document type Model n Run cost (USD) USD per 1,000 documents
Correspondence DeepSeek-V4.1-Flash 20 $0.012063 $0.60
Correspondence Granite-4.2-8B 20 $0.029195 $1.46
Correspondence Qwen3-8B 20 $0.060362 $3.02
Correspondence Qwen3.7-Flash · n = 50 50 $0.022468 $0.45
Insurance claims DeepSeek-V4.1-Flash 20 $0.013491 $0.67
Insurance claims Granite-4.2-8B 20 $0.024710 $1.24
Insurance claims Qwen3-8B 20 $0.032040 $1.60
Insurance claims Qwen3.7-Flash · n = 50 50 $0.025306 $0.51
Corporate records DeepSeek-V4.1-Flash 20 $0.019674 $0.98
Corporate records Granite-4.2-8B 20 $0.043638 $2.18
Corporate records Qwen3-8B 20 $0.060215 $3.01
Corporate records Qwen3.7-Flash · n = 50 50 $0.039277 $0.79
Contracts DeepSeek-V4.1-Flash 20 $0.050234 $2.51
Contracts Granite-4.2-8B 20 $0.073963 $3.70
Contracts Qwen3-8B 20 $0.114086 $5.70
Contracts Qwen3.7-Flash · n = 50 50 $0.073918 $1.48
Merger agreements DeepSeek-V4.1-Flash 20 $0.075245 $3.76
Merger agreements Granite-4.2-8B 20 $0.177433 $8.87
Merger agreements Qwen3.7-Flash · frozen prompts 20 $0.057522 $2.88
Merger agreements Qwen3.7-Flash · n = 50 50 $0.161145 $3.22

LLM sorter (classification)

Run Model n Class acc Subclass acc $/doc ECE
20260927T043145Z-eval-classification Qwen3-8B 20 70% 5% $0.0075 —
20260927T070900Z-eval-classification Granite-4.2-8B 20 90% 60% $0.0032 —
20260927T100340Z-eval-classification Granite-4.2-8B 100 94% 49% $0.0015 0.034
20260927T101020Z-eval-classification Qwen3.7-Flash 100 91% 56% $0.00085 0.019
20260927T101544Z-eval-classification DeepSeek-V4.1-Flash 100 95% 64% $0.0010 0.062
LLM sorter subclass accuracy by class Share of correctly classed documents that also got the right subclass, n = 100 documents per model DeepSeek-V4.1-Flash Granite-4.2-8B Qwen3.7-Flash 0% 25% 50% 75% 100% P0 subclass gate 75% Correspondence DeepSeek-V4.1-Flash Correspondence · DeepSeek-V4.1-Flash: 40% (14/35) — 14 of 35 correctly classed documents got the right subclass 40% (14/35) Granite-4.2-8B Correspondence · Granite-4.2-8B: 14% (5/35) — 5 of 35 correctly classed documents got the right subclass 14% (5/35) Qwen3.7-Flash Correspondence · Qwen3.7-Flash: 45% (15/33) — 15 of 33 correctly classed documents got the right subclass 45% (15/33) Insurance claims DeepSeek-V4.1-Flash Insurance claims · DeepSeek-V4.1-Flash: 100% (33/33) — 33 of 33 correctly classed documents got the right subclass 100% (33/33) Granite-4.2-8B Insurance claims · Granite-4.2-8B: 85% (28/33) — 28 of 33 correctly classed documents got the right subclass 85% (28/33) Qwen3.7-Flash Insurance claims · Qwen3.7-Flash: 79% (26/33) — 26 of 33 correctly classed documents got the right subclass 79% (26/33) Corporate records DeepSeek-V4.1-Flash Corporate records · DeepSeek-V4.1-Flash: 75% (6/8) — 6 of 8 correctly classed documents got the right subclass 75% (6/8) Granite-4.2-8B Corporate records · Granite-4.2-8B: 60% (6/10) — 6 of 10 correctly classed documents got the right subclass 60% (6/10) Qwen3.7-Flash Corporate records · Qwen3.7-Flash: 50% (3/6) — 3 of 6 correctly classed documents got the right subclass 50% (3/6) Contracts DeepSeek-V4.1-Flash Contracts · DeepSeek-V4.1-Flash: 64% (9/14) — 9 of 14 correctly classed documents got the right subclass 64% (9/14) Granite-4.2-8B Contracts · Granite-4.2-8B: 69% (9/13) — 9 of 13 correctly classed documents got the right subclass 69% (9/13) Qwen3.7-Flash Contracts · Qwen3.7-Flash: 64% (9/14) — 9 of 14 correctly classed documents got the right subclass 64% (9/14) Merger agreements DeepSeek-V4.1-Flash Merger agreements · DeepSeek-V4.1-Flash: 40% (2/5) — 2 of 5 correctly classed documents got the right subclass 40% (2/5) Granite-4.2-8B Merger agreements · Granite-4.2-8B: 33% (1/3) — 1 of 3 correctly classed documents got the right subclass 33% (1/3) Qwen3.7-Flash Merger agreements · Qwen3.7-Flash: 60% (3/5) — 3 of 5 correctly classed documents got the right subclass 60% (3/5)
Sorter subclass accuracy
Class Model Correctly classed Right subclass Subclass accuracy
Correspondence DeepSeek-V4.1-Flash 35 14 40.0%
Correspondence Granite-4.2-8B 35 5 14.3%
Correspondence Qwen3.7-Flash 33 15 45.5%
Insurance claims DeepSeek-V4.1-Flash 33 33 100.0%
Insurance claims Granite-4.2-8B 33 28 84.8%
Insurance claims Qwen3.7-Flash 33 26 78.8%
Corporate records DeepSeek-V4.1-Flash 8 6 75.0%
Corporate records Granite-4.2-8B 10 6 60.0%
Corporate records Qwen3.7-Flash 6 3 50.0%
Contracts DeepSeek-V4.1-Flash 14 9 64.3%
Contracts Granite-4.2-8B 13 9 69.2%
Contracts Qwen3.7-Flash 14 9 64.3%
Merger agreements DeepSeek-V4.1-Flash 5 2 40.0%
Merger agreements Granite-4.2-8B 3 1 33.3%
Merger agreements Qwen3.7-Flash 5 3 60.0%
LLM sorter calibration Stated confidence against observed class accuracy per confidence bin, n = 100 documents per model DeepSeek-V4.1-Flash · ECE 0.062 Granite-4.2-8B · ECE 0.034 Qwen3.7-Flash · ECE 0.019 50% 60% 70% 80% 90% 100% 50% 60% 70% 80% 90% 100% Observed class accuracy Stated confidence (bin mean) Perfect calibration: points below the line are overconfident DeepSeek-V4.1-Flash: 9 documents, stated 69.5%, observed 55.6% DeepSeek-V4.1-Flash: 7 documents, stated 85.7%, observed 100.0% DeepSeek-V4.1-Flash: 16 documents, stated 92.7%, observed 100.0% DeepSeek-V4.1-Flash: 67 documents, stated 95.9%, observed 100.0% Granite-4.2-8B: 11 documents, stated 92.0%, observed 81.8% Granite-4.2-8B: 65 documents, stated 97.2%, observed 100.0% Granite-4.2-8B: 16 documents, stated 99.0%, observed 100.0% Qwen3.7-Flash: 67 documents, stated 95.2%, observed 92.5% Qwen3.7-Flash: 28 documents, stated 100.0%, observed 100.0% DeepSeek-V4.1-Flash Granite-4.2-8B Qwen3.7-Flash
Sorter calibration
Model Bin Documents Mean stated confidence Observed accuracy Drawn ECE
DeepSeek-V4.1-Flash 1 9 69.48% 55.56% yes 0.0623
DeepSeek-V4.1-Flash 2 7 85.73% 100.00% yes 0.0623
DeepSeek-V4.1-Flash 3 16 92.66% 100.00% yes 0.0623
DeepSeek-V4.1-Flash 4 67 95.91% 100.00% yes 0.0623
Granite-4.2-8B 1 11 92.05% 81.82% yes 0.0335
Granite-4.2-8B 2 65 97.23% 100.00% yes 0.0335
Granite-4.2-8B 3 16 99.00% 100.00% yes 0.0335
Qwen3.7-Flash 1 67 95.24% 92.54% yes 0.0190
Qwen3.7-Flash 2 28 100.00% 100.00% yes 0.0190

3. Modal + vLLM leg — findings#

Serving ladder.

SAND-032 Stage 1 ladder — one axis per metric (same 20 docs every rung) Mean overall score Higher is better · emphasis = best rung 0 0.1 0.2 0.3 l0-baseline l0-baseline: 0.2787 0.2787 l1-nothink l1-nothink: 0.2742 0.2742 l2-marlin l2-marlin: 0.2674 0.2674 l5-graphs l5-graphs: 0.2841 0.2841 Wall (s) Lower is better · emphasis = best rung 0s 10s 20s 30s 40s l0-baseline l0-baseline: 31.9s 31.9s l1-nothink l1-nothink: 26.5s 26.5s l2-marlin l2-marlin: 26.4s 26.4s l5-graphs l5-graphs: 18.0s 18.0s Latency p50 (s) Lower is better · emphasis = best rung 0s 5s 10s 15s l0-baseline l0-baseline: 10.29s 10.29s l1-nothink l1-nothink: 8.03s 8.03s l2-marlin l2-marlin: 8.06s 8.06s l5-graphs l5-graphs: 6.41s 6.41s Latency p95 (s) Lower is better · emphasis = best rung 0s 5s 10s 15s l0-baseline l0-baseline: 14.57s 14.57s l1-nothink l1-nothink: 11.70s 11.70s l2-marlin l2-marlin: 12.74s 12.74s l5-graphs l5-graphs: 10.15s 10.15s $ per doc (busy GPU) Lower is better · emphasis = best rung 0 0.0001 0.0002 0.0003 0.0004 l0-baseline l0-baseline: 0.000354 0.000354 l1-nothink l1-nothink: 0.000294 0.000294 l2-marlin l2-marlin: 0.000294 0.000294 l5-graphs l5-graphs: 0.000200 0.000200 Throughput (tok/s) Higher is better · emphasis = best rung 0 1,000 2,000 3,000 l0-baseline l0-baseline: 1261 1261 l1-nothink l1-nothink: 1524 1524 l2-marlin l2-marlin: 1526 1526 l5-graphs l5-graphs: 2238 2238
SAND-032 ladder

Scale-out and admission.

Fleet (correspondence n = 100) Wall tok/s p50 / p95 $/doc Score
1×L4 · c8 95.0 s 2,579 6.86 / 11.59 s $0.00021 0.2886
2×L4 · c16 46.1 s 5,308 5.70 / 14.41 s $0.00020 0.2966
Workload seqs16 fleet seqs32 balanced Speed-up
correspondence n=100 46.1 s 39.0 s 1.18×
insurance n=50 60.7 s 52.8 s 1.15×
corporate n=50 56.3 s 48.6 s 1.16×
contracts n=50 234 s 220 s 1.07×
Correspondence n=100 wall time by fleet Same 100 docs · lower is better · s7 routed 97/100 requests to one replica 0s 50s 100s 150s 1×L4 · c8 (s2a) 1×L4 · c8 (s2a): 95.0s — 2579 tok/s 95.0s 2×L4 · c16 · max_inputs 32 (s2b) 2×L4 · c16 · max_inputs 32 (s2b): 46.1s — 5308 tok/s 46.1s 2×L4 · c64 · max_inputs 64 (s7) 2×L4 · c64 · max_inputs 64 (s7): 149.4s — 1641 tok/s 149.4s 2×L4 · c64 · max_inputs 32 (s9) 2×L4 · c64 · max_inputs 32 (s9): 39.0s — 6282 tok/s 39.0s
Wall time by fleet
Wall time: seqs16 fleet → seqs32 balanced fleet 2×L4 · lower is better seqs16 seqs32 balanced 0s 100s 200s 300s correspondence n=100 correspondence n=100 · seqs16: 46s correspondence n=100 · seqs32 balanced: 39s 39s insurance n=50 insurance n=50 · seqs16: 61s insurance n=50 · seqs32 balanced: 53s 53s corporate n=50 corporate n=50 · seqs16: 56s corporate n=50 · seqs32 balanced: 49s 49s contracts n=50 contracts n=50 · seqs16: 234s contracts n=50 · seqs32 balanced: 220s 220s
Admission

Five-class sweep (2×L4, c32, n = 50).

Class Run Done Metric Headline Overall Schema Wall p50 / p95 tok/s $/doc
Correspondence sand032-s3-corr50 50/50 overall extraction score 0.3004 0.3004 98% 16.0 s 6.8 / 12.9 s 7,395 $0.00014
Insurance claims sand032-s3-insurance50 50/50 overall extraction score 0.6881 0.6881 22% 60.7 s 19.7 / 34.1 s 3,042 $0.00054
Corporate records sand032-s3-corporate50 50/50 overall extraction score 0.4583 0.4583 94% 56.3 s 28.9 / 55.1 s 4,692 $0.00050
Contracts sand032-s3-contracts50 47/50 CUAD clause-detection micro F1 0.5960 0.6011 100% 234 s 85.8 / 167.5 s 1,616 $0.0022
Merger agreements sand032-s5-merger50-maud 46/50 MAUD per-question micro accuracy 0.0848 0.0830 100% 442 s 183.4 / 315.2 s 1,383 $0.0043

Completion reliability. Short documents never fail. Long contracts and mergers lose 6–12% of documents.

Run Completed Errored Not attempted Cause
Merger agreements · SAND-032 46 4 0 LengthFinishReasonError
Contracts · SAND-032 47 3 0 LengthFinishReasonError
Insurance · Qwen AWQ 20 0 0 —
Corporate · Qwen AWQ 20 0 0 —
Correspondence A · Qwen AWQ 20 0 0 —
Correspondence B · Qwen AWQ 50 0 0 —
Correspondence c5 · Qwen AWQ 20 0 0 —
Correspondence c8 · Qwen AWQ 20 0 0 —
Contracts c4 · Qwen AWQ 18 2 0 400 context overflow (16k window) and LengthFinish at 4,096 tokens
Contracts c8 · Qwen AWQ 17 3 0 LengthFinishReasonError at 8,192 tokens
Merger · Qwen AWQ 15 5 0 Transient connection drops at c=8
Contracts · Qwen bf16 6 14 0 Pre-AWQ run; error detail not archived
Merger · Granite 11 5 4 Thinking text broke the JSON parse; cost-cap abort
Correspondence-50 · Granite 5 0 45 Stopped on pace: projected cost over the cap
Contracts · Granite 0 8 12 Operator halt: output budget spent on thinking

Prompt v2 (eval-environment GEPA) on Qwen3-8B-AWQ, paired 50. Correspondence v2 is promoted. Insurance and corporate records are held.

Class v2 (75) v2 (paired 50) production (paired 50) Δ paired better / worse schema v2 / prod Verdict
correspondence 0.3446 0.3419 0.3004 +0.0415 22 / 12 1.00 / 0.98 PROMOTE
insurance_claim 0.6675 0.6832 0.6881 −0.0049 8 / 17 0.24 / 0.22 HOLD
corporate_record 0.4689 0.4479 0.4583 −0.0104 6 / 8 0.94 / 0.94 HOLD
Production prompt → eval-environment v2 prompt Same docs · overall extraction score (0–1, higher is better) production v2 0 0.2 0.4 0.6 0.8 correspondence (paired n=50) correspondence (paired n=50) · production: 0.300 correspondence (paired n=50) · v2: 0.342 0.342 insurance_claim (paired n=50) insurance_claim (paired n=50) · production: 0.688 insurance_claim (paired n=50) · v2: 0.683 0.683 corporate_record (paired n=50) corporate_record (paired n=50) · production: 0.458 corporate_record (paired n=50) · v2: 0.448 0.448
Production vs v2 prompts

Isolated LLM sorter on Modal (S6). Accuracy 89.5% on 457 documents, macro-F1 0.8635, $0.0017/doc. Mergers are under-recalled, and corporate records leak into contracts.

Class n Precision Recall F1
contract 181 0.796 0.994 0.885
corporate_record 136 0.990 0.743 0.849
correspondence 41 1.000 0.951 0.975
insurance_claim 81 0.988 1.000 0.994
merger_agreement 18 1.000 0.444 0.615
Per-class F1 · sand032-s6-sorter1000 Isolated sorter · 457 docs · accuracy 0.895 (0–1, higher is better) 0 0.25 0.5 0.75 1 insurance_claim (n=81) insurance_claim (n=81): 0.994 — P 0.988 · R 1.000 0.994 correspondence (n=41) correspondence (n=41): 0.975 — P 1.000 · R 0.951 0.975 contract (n=181) contract (n=181): 0.884 — P 0.796 · R 0.994 0.884 corporate_record (n=136) corporate_record (n=136): 0.849 — P 0.990 · R 0.743 0.849 merger_agreement (n=18) merger_agreement (n=18): 0.615 — P 1.000 · R 0.444 0.615
S6 per-class F1

4. ModernBERT intake classifier#

Checkpoint Evaluated Doc-type acc Subclass (conditional)
run-2 (trainer test) 20 Sep 93.19% —
run-3 (GPU harness) 21 Sep 89.47% 52.6%
run-3 (re-evaluated) 27 Sep 92.57% 51.2%
Arm A (1 epoch) 27 Sep 86.38% 48.4%
Arm B (3 epochs) 27 Sep 95.05% 58.3%
ModernBERT document-type recall by class Share of each true class routed to it, n = 323 test documents per checkpoint Arm B · 3 epochs Earlier checkpoints 0% 25% 50% 75% 100% P0 doc-type gate 95% (all documents) All documents (accuracy) Run 3 All documents (accuracy) · Run 3: 89.5% — n = 323 documents 89.5% Arm A · 1 epoch All documents (accuracy) · Arm A · 1 epoch: 86.4% — n = 323 documents 86.4% Arm B · 3 epochs All documents (accuracy) · Arm B · 3 epochs: 95.0% — n = 323 documents 95.0% Correspondence Run 3 Correspondence · Run 3: 95.3% — 81 of 85 routed to their true class 95.3% Arm A · 1 epoch Correspondence · Arm A · 1 epoch: 88.2% — 75 of 85 routed to their true class 88.2% Arm B · 3 epochs Correspondence · Arm B · 3 epochs: 95.3% — 81 of 85 routed to their true class 95.3% Insurance claims Run 3 Insurance claims · Run 3: 100.0% — 114 of 114 routed to their true class 100.0% Arm A · 1 epoch Insurance claims · Arm A · 1 epoch: 94.7% — 108 of 114 routed to their true class 94.7% Arm B · 3 epochs Insurance claims · Arm B · 3 epochs: 100.0% — 114 of 114 routed to their true class 100.0% Corporate records Run 3 Corporate records · Run 3: 57.4% — 27 of 47 routed to their true class 57.4% Arm A · 1 epoch Corporate records · Arm A · 1 epoch: 80.9% — 38 of 47 routed to their true class 80.9% Arm B · 3 epochs Corporate records · Arm B · 3 epochs: 89.4% — 42 of 47 routed to their true class 89.4% Contracts Run 3 Contracts · Run 3: 83.3% — 50 of 60 routed to their true class 83.3% Arm A · 1 epoch Contracts · Arm A · 1 epoch: 68.3% — 41 of 60 routed to their true class 68.3% Arm B · 3 epochs Contracts · Arm B · 3 epochs: 88.3% — 53 of 60 routed to their true class 88.3% Merger agreements Run 3 Merger agreements · Run 3: 100.0% — 17 of 17 routed to their true class 100.0% Arm A · 1 epoch Merger agreements · Arm A · 1 epoch: 100.0% — 17 of 17 routed to their true class 100.0% Arm B · 3 epochs Merger agreements · Arm B · 3 epochs: 100.0% — 17 of 17 routed to their true class 100.0%
ModernBERT recall by class
Class Checkpoint Correct n Recall
All documents (accuracy) Run 3 — 323 89.47%
All documents (accuracy) Arm A · 1 epoch — 323 86.38%
All documents (accuracy) Arm B · 3 epochs — 323 95.05%
Correspondence Run 3 81 85 95.29%
Correspondence Arm A · 1 epoch 75 85 88.24%
Correspondence Arm B · 3 epochs 81 85 95.29%
Insurance claims Run 3 114 114 100.00%
Insurance claims Arm A · 1 epoch 108 114 94.74%
Insurance claims Arm B · 3 epochs 114 114 100.00%
Corporate records Run 3 27 47 57.45%
Corporate records Arm A · 1 epoch 38 47 80.85%
Corporate records Arm B · 3 epochs 42 47 89.36%
Contracts Run 3 50 60 83.33%
Contracts Arm A · 1 epoch 41 60 68.33%
Contracts Arm B · 3 epochs 53 60 88.33%
Merger agreements Run 3 17 17 100.00%
Merger agreements Arm A · 1 epoch 17 17 100.00%
Merger agreements Arm B · 3 epochs 17 17 100.00%
ModernBERT selective prediction, Arm B Each step is a confidence threshold, from 0.60 (right) to 0.99 (left); 541 test windows Accuracy of accepted windows Wilson 95% lower bound 94% 95% 96% 97% 98% 99% 100% 30% 40% 50% 60% 70% 80% 90% 100% Accuracy of accepted windows Share of windows accepted (coverage) Threshold 0.60: 530 windows accepted (98.0%), accuracy 96.79%, Wilson lower bound 94.92% Threshold 0.61: 530 windows accepted (98.0%), accuracy 96.79%, Wilson lower bound 94.92% Threshold 0.62: 529 windows accepted (97.8%), accuracy 96.98%, Wilson lower bound 95.15% Threshold 0.63: 528 windows accepted (97.6%), accuracy 96.97%, Wilson lower bound 95.13% Threshold 0.64: 526 windows accepted (97.2%), accuracy 97.15%, Wilson lower bound 95.35% Threshold 0.65: 526 windows accepted (97.2%), accuracy 97.15%, Wilson lower bound 95.35% Threshold 0.66: 526 windows accepted (97.2%), accuracy 97.15%, Wilson lower bound 95.35% Threshold 0.67: 525 windows accepted (97.0%), accuracy 97.33%, Wilson lower bound 95.57% Threshold 0.68: 525 windows accepted (97.0%), accuracy 97.33%, Wilson lower bound 95.57% Threshold 0.69: 521 windows accepted (96.3%), accuracy 97.50%, Wilson lower bound 95.77% Threshold 0.70: 520 windows accepted (96.1%), accuracy 97.50%, Wilson lower bound 95.77% Threshold 0.71: 520 windows accepted (96.1%), accuracy 97.50%, Wilson lower bound 95.77% Threshold 0.72: 520 windows accepted (96.1%), accuracy 97.50%, Wilson lower bound 95.77% Threshold 0.73: 518 windows accepted (95.7%), accuracy 97.68%, Wilson lower bound 95.99% Threshold 0.74: 518 windows accepted (95.7%), accuracy 97.68%, Wilson lower bound 95.99% Threshold 0.75: 518 windows accepted (95.7%), accuracy 97.68%, Wilson lower bound 95.99% Threshold 0.76: 518 windows accepted (95.7%), accuracy 97.68%, Wilson lower bound 95.99% Threshold 0.77: 516 windows accepted (95.4%), accuracy 97.87%, Wilson lower bound 96.23% Threshold 0.78: 514 windows accepted (95.0%), accuracy 97.86%, Wilson lower bound 96.21% Threshold 0.79: 514 windows accepted (95.0%), accuracy 97.86%, Wilson lower bound 96.21% Threshold 0.80: 514 windows accepted (95.0%), accuracy 97.86%, Wilson lower bound 96.21% Threshold 0.81: 512 windows accepted (94.6%), accuracy 97.85%, Wilson lower bound 96.19% Threshold 0.82: 509 windows accepted (94.1%), accuracy 98.04%, Wilson lower bound 96.43% Threshold 0.83: 505 windows accepted (93.3%), accuracy 98.22%, Wilson lower bound 96.65% Threshold 0.84: 501 windows accepted (92.6%), accuracy 98.80%, Wilson lower bound 97.41% Threshold 0.85: 495 windows accepted (91.5%), accuracy 99.19%, Wilson lower bound 97.94% Threshold 0.86: 490 windows accepted (90.6%), accuracy 99.18%, Wilson lower bound 97.91% Threshold 0.87: 487 windows accepted (90.0%), accuracy 99.18%, Wilson lower bound 97.91% Threshold 0.88: 485 windows accepted (89.6%), accuracy 99.18%, Wilson lower bound 97.91% Threshold 0.89: 481 windows accepted (88.9%), accuracy 99.38%, Wilson lower bound 98.19% Threshold 0.90: 470 windows accepted (86.9%), accuracy 99.36%, Wilson lower bound 98.14% Threshold 0.91: 450 windows accepted (83.2%), accuracy 99.33%, Wilson lower bound 98.05% Threshold 0.92: 428 windows accepted (79.1%), accuracy 99.30%, Wilson lower bound 97.96% Threshold 0.93: 412 windows accepted (76.2%), accuracy 99.51%, Wilson lower bound 98.24% Threshold 0.94: 394 windows accepted (72.8%), accuracy 99.49%, Wilson lower bound 98.16% Threshold 0.95: 380 windows accepted (70.2%), accuracy 99.47%, Wilson lower bound 98.10% Threshold 0.96: 342 windows accepted (63.2%), accuracy 99.42%, Wilson lower bound 97.90% Threshold 0.97: 299 windows accepted (55.3%), accuracy 99.67%, Wilson lower bound 98.14% Threshold 0.98: 268 windows accepted (49.5%), accuracy 99.63%, Wilson lower bound 97.92% Threshold 0.99: 204 windows accepted (37.7%), accuracy 99.51%, Wilson lower bound 97.28% Threshold 0.60: 530 windows accepted (98.0%), accuracy 96.79%, Wilson lower bound 94.92% Threshold 0.61: 530 windows accepted (98.0%), accuracy 96.79%, Wilson lower bound 94.92% Threshold 0.62: 529 windows accepted (97.8%), accuracy 96.98%, Wilson lower bound 95.15% Threshold 0.63: 528 windows accepted (97.6%), accuracy 96.97%, Wilson lower bound 95.13% Threshold 0.64: 526 windows accepted (97.2%), accuracy 97.15%, Wilson lower bound 95.35% Threshold 0.65: 526 windows accepted (97.2%), accuracy 97.15%, Wilson lower bound 95.35% Threshold 0.66: 526 windows accepted (97.2%), accuracy 97.15%, Wilson lower bound 95.35% Threshold 0.67: 525 windows accepted (97.0%), accuracy 97.33%, Wilson lower bound 95.57% Threshold 0.68: 525 windows accepted (97.0%), accuracy 97.33%, Wilson lower bound 95.57% Threshold 0.69: 521 windows accepted (96.3%), accuracy 97.50%, Wilson lower bound 95.77% Threshold 0.70: 520 windows accepted (96.1%), accuracy 97.50%, Wilson lower bound 95.77% Threshold 0.71: 520 windows accepted (96.1%), accuracy 97.50%, Wilson lower bound 95.77% Threshold 0.72: 520 windows accepted (96.1%), accuracy 97.50%, Wilson lower bound 95.77% Threshold 0.73: 518 windows accepted (95.7%), accuracy 97.68%, Wilson lower bound 95.99% Threshold 0.74: 518 windows accepted (95.7%), accuracy 97.68%, Wilson lower bound 95.99% Threshold 0.75: 518 windows accepted (95.7%), accuracy 97.68%, Wilson lower bound 95.99% Threshold 0.76: 518 windows accepted (95.7%), accuracy 97.68%, Wilson lower bound 95.99% Threshold 0.77: 516 windows accepted (95.4%), accuracy 97.87%, Wilson lower bound 96.23% Threshold 0.78: 514 windows accepted (95.0%), accuracy 97.86%, Wilson lower bound 96.21% Threshold 0.79: 514 windows accepted (95.0%), accuracy 97.86%, Wilson lower bound 96.21% Threshold 0.80: 514 windows accepted (95.0%), accuracy 97.86%, Wilson lower bound 96.21% Threshold 0.81: 512 windows accepted (94.6%), accuracy 97.85%, Wilson lower bound 96.19% Threshold 0.82: 509 windows accepted (94.1%), accuracy 98.04%, Wilson lower bound 96.43% Threshold 0.83: 505 windows accepted (93.3%), accuracy 98.22%, Wilson lower bound 96.65% Threshold 0.84: 501 windows accepted (92.6%), accuracy 98.80%, Wilson lower bound 97.41% Threshold 0.85: 495 windows accepted (91.5%), accuracy 99.19%, Wilson lower bound 97.94% Threshold 0.86: 490 windows accepted (90.6%), accuracy 99.18%, Wilson lower bound 97.91% Threshold 0.87: 487 windows accepted (90.0%), accuracy 99.18%, Wilson lower bound 97.91% Threshold 0.88: 485 windows accepted (89.6%), accuracy 99.18%, Wilson lower bound 97.91% Threshold 0.89: 481 windows accepted (88.9%), accuracy 99.38%, Wilson lower bound 98.19% Threshold 0.90: 470 windows accepted (86.9%), accuracy 99.36%, Wilson lower bound 98.14% Threshold 0.91: 450 windows accepted (83.2%), accuracy 99.33%, Wilson lower bound 98.05% Threshold 0.92: 428 windows accepted (79.1%), accuracy 99.30%, Wilson lower bound 97.96% Threshold 0.93: 412 windows accepted (76.2%), accuracy 99.51%, Wilson lower bound 98.24% Threshold 0.94: 394 windows accepted (72.8%), accuracy 99.49%, Wilson lower bound 98.16% Threshold 0.95: 380 windows accepted (70.2%), accuracy 99.47%, Wilson lower bound 98.10% Threshold 0.96: 342 windows accepted (63.2%), accuracy 99.42%, Wilson lower bound 97.90% Threshold 0.97: 299 windows accepted (55.3%), accuracy 99.67%, Wilson lower bound 98.14% Threshold 0.98: 268 windows accepted (49.5%), accuracy 99.63%, Wilson lower bound 97.92% Threshold 0.99: 204 windows accepted (37.7%), accuracy 99.51%, Wilson lower bound 97.28% Threshold 0.90: 87% accepted at 99.4% accuracy
Selective risk
Threshold Windows accepted Coverage Accuracy Wilson 95% lower bound
0.60 530 97.97% 96.79% 94.92%
0.61 530 97.97% 96.79% 94.92%
0.62 529 97.78% 96.98% 95.15%
0.63 528 97.60% 96.97% 95.13%
0.64 526 97.23% 97.15% 95.35%
0.65 526 97.23% 97.15% 95.35%
0.66 526 97.23% 97.15% 95.35%
0.67 525 97.04% 97.33% 95.57%
0.68 525 97.04% 97.33% 95.57%
0.69 521 96.30% 97.50% 95.77%
0.70 520 96.12% 97.50% 95.77%
0.71 520 96.12% 97.50% 95.77%
0.72 520 96.12% 97.50% 95.77%
0.73 518 95.75% 97.68% 95.99%
0.74 518 95.75% 97.68% 95.99%
0.75 518 95.75% 97.68% 95.99%
0.76 518 95.75% 97.68% 95.99%
0.77 516 95.38% 97.87% 96.23%
0.78 514 95.01% 97.86% 96.21%
0.79 514 95.01% 97.86% 96.21%
0.80 514 95.01% 97.86% 96.21%
0.81 512 94.64% 97.85% 96.19%
0.82 509 94.09% 98.04% 96.43%
0.83 505 93.35% 98.22% 96.65%
0.84 501 92.61% 98.80% 97.41%
0.85 495 91.50% 99.19% 97.94%
0.86 490 90.57% 99.18% 97.91%
0.87 487 90.02% 99.18% 97.91%
0.88 485 89.65% 99.18% 97.91%
0.89 481 88.91% 99.38% 98.19%
0.90 470 86.88% 99.36% 98.14%
0.91 450 83.18% 99.33% 98.05%
0.92 428 79.11% 99.30% 97.96%
0.93 412 76.16% 99.51% 98.24%
0.94 394 72.83% 99.49% 98.16%
0.95 380 70.24% 99.47% 98.10%
0.96 342 63.22% 99.42% 97.90%
0.97 299 55.27% 99.67% 98.14%
0.98 268 49.54% 99.63% 97.92%
0.99 204 37.71% 99.51% 97.28%
ModernBERT subclass accuracy and collapse, Arm B Documents whose type was right. A top predicted share far above the top true share means collapse Subclass accuracy Share on the single most common subclass 0% 25% 50% 75% 100% P0 subclass gate 75% Correspondence Subclass accuracy Correspondence · Subclass accuracy: 44% — 36 of 81 documents with the right type 44% Top predicted subclass Correspondence · Top predicted subclass: 79% · email — 64 of 81 predictions 79% · email Top true subclass Correspondence · Top true subclass: 47% · email — 38 of 81 documents 47% · email Insurance claims Subclass accuracy Insurance claims · Subclass accuracy: 99% — 113 of 114 documents with the right type 99% Top predicted subclass Insurance claims · Top predicted subclass: 30% · auto — 34 of 114 predictions 30% · auto Top true subclass Insurance claims · Top true subclass: 30% · auto — 34 of 114 documents 30% · auto Corporate records Subclass accuracy Corporate records · Subclass accuracy: 45% — 19 of 42 documents with the right type 45% Top predicted subclass Corporate records · Top predicted subclass: 38% · charter amendment — 16 of 42 predictions 38% · charter amendment Top true subclass Corporate records · Top true subclass: 21% · charter amendment — 9 of 42 documents 21% · charter amendment Contracts Subclass accuracy Contracts · Subclass accuracy: 4% — 2 of 53 documents with the right type 4% Top predicted subclass Contracts · Top predicted subclass: 57% · collaboration — 30 of 53 predictions 57% · collaboration Top true subclass Contracts · Top true subclass: 13% · service — 7 of 53 documents 13% · service Merger agreements Subclass accuracy Merger agreements · Subclass accuracy: 53% — 9 of 17 documents with the right type 53% Top predicted subclass Merger agreements · Top predicted subclass: 94% · other — 16 of 17 predictions 94% · other Top true subclass Merger agreements · Top true subclass: 47% · other — 8 of 17 documents 47% · other
Subclass collapse
Class Right type Right subclass Subclass accuracy Top predicted subclass (count, share) Top true subclass (count, share)
Correspondence 81 36 44.4% email (64, 79.0%) email (38, 46.9%)
Insurance claims 114 113 99.1% auto (34, 29.8%) auto (34, 29.8%)
Corporate records 42 19 45.2% charter amendment (16, 38.1%) charter amendment (9, 21.4%)
Contracts 53 2 3.8% collaboration (30, 56.6%) service (7, 13.2%)
Merger agreements 17 9 52.9% other (16, 94.1%) other (8, 47.1%)

5. Cross-leg verdict#

  1. Sort with ModernBERT. It matches the best hosted LLM sorter's document-type accuracy at about three orders of magnitude lower cost. Keep the LLM sorter only behind the confidence gate, and fix subclass before relying on either for it.
  2. Extract via the API for insurance claims, contracts and mergers. The cheapest hosted model costs less per document than Modal on all three. It also scores higher on insurance claims and mergers; contracts are scored differently on the two legs.
  3. Where Modal deployment pays. Run corporate records on self-hosted Qwen3-8B-AWQ (Modal): the measured 1×L4 configuration sand032-s10-corporate75-v2 (v2 prompts) costs $0.00039 per document against Qwen3.7-Flash via the API at $0.00079, 50% less, and scores 0.469 against 0.418. It pays once one warm L4 sustains 1,018 docs/h or a cold batch holds 191 documents. Full break-even tables: COST-COMPARISON-MODAL-VS-API.md §3.
  4. The quality ceiling is the prompt and scorer, not the serving. Serving work cut cost per document 2.4–15×. Prompts moved correspondence by +0.04 (v2), and no configuration fixes mergers or subclass.

6. Documented source defects#

Key Defect
correspondence_a.latency_sum Run A's per-document latency column sums to 496.7 s, but the report's run-level sum is 503.4 s (the serving export agrees: latency_sum_seconds 503.369, p50 26.595 s vs a per-row median of 26.0 s). The report says its per-document rows were reconstructed from captured stdout; scores in the same table do match the stated mean. Latency dots for Run A come from that table.
sand032-s5-merger50-maud.summary_usd The SAND-032 program summary lists the MAUD-prompt merger run at $0.005461/doc; its run report gives $0.004275/doc. The summary row used the serving export, which also bills the run's 122.8 s cold boot (0.251214 vs 0.196653 USD over 46 docs); every other row is busy-window only. This page uses the busy-window figure.
sand032-s6-sorter1000.usd_basis The S6 sorter report gives $0.001869/doc. That is the serving export's billed figure, which includes the run's 130.6 s cold boot; every other SAND-032 $/doc is busy-window only. On that basis S6 costs $0.001742/doc, which this page uses.
api.qwen_merger_model eval-environment files the merger leg under Qwen3-8B, but the logged model is qwen/qwen3.7-flash. It is shown here as its own model.
api.deepseek_cls_wall The DeepSeek-V4.1-Flash n=100 classification run logs a 4.8 s wall time but a 32.0 s p95 call latency, which cannot both be true. Its runtime is not charted.
mb.armB.coverage_field mailroom-ml Arm B eval JSON: selective_risk.coverage is 0.3771, which is the last sweep row (threshold 0.99, coverage 0.3771), not the recommended 0.9 threshold (0.8688). The page reads the recommended row.
mb.run3.coverage_field mailroom-ml run-3 eval JSON has the same exporter defect: coverage 0.4325 is the 0.99 row; at the recommended 0.93 threshold coverage is 0.7321.
mb.plus_invalid The held-out-plus eval (1,323 docs, doc_type accuracy 0.0128) is invalid: on the 323 canonical test documents it contains, it gets 17 right where the same checkpoint's canonical run gets 307. Its slice table also assigns all docs to the canonical slice. It is excluded from the charts.

7. Report audit (this sweep)#

Every committed SVG in the three repositories was rendered in Chromium and checked text box by text box, for overflow past the figure edge and for overlapping labels. Every relative link and image in their tracked markdown was resolved.

Repository SVGs Overflow Collisions Markdown files Broken links Unreferenced figures
local-mailroom-sandbox 51 0 0 154 0 0
eval-environment 15 0 0 348 0 0
mailroom-ml 22 0 0 31 0 0

Fixes made in this sweep:

Still open:

Sources#