doc_id string | path string | value string | verbalized float64 | consistency float64 | grounded bool | support float64 | correct int64 | entailment float64 |
|---|---|---|---|---|---|---|---|---|
cord-train-00007 | menu[0].nm | PKT AYAM | 0.95 | 1 | true | 1 | 0 | 0.583489 |
cord-train-00007 | menu[0].cnt | 1.00 | 0.9 | 1 | true | 0.6 | 0 | 0.979027 |
cord-train-00007 | menu[0].price | 33000 | 0.95 | 1 | true | 0.5 | 0 | 0.95958 |
cord-train-00007 | sub_total.subtotal_price | 33000 | 0.95 | 1 | true | 0.5 | 1 | 0.989336 |
cord-train-00007 | sub_total.tax_price | 3300 | 0.95 | 1 | true | 1 | 1 | 0.977421 |
cord-train-00007 | total.total_price | 36300 | 0.95 | 1 | true | 1 | 1 | 0.984909 |
cord-train-00007 | total.cashprice | 50000 | 0.95 | 1 | true | 1 | 1 | 0.979707 |
cord-train-00007 | total.changeprice | 13700 | 0.95 | 1 | true | 1 | 1 | 0.93398 |
cord-train-00007 | total.menuqty_cnt | 1.00 | 0.9 | 1 | true | 0.6 | 0 | 0.158619 |
cord-train-00009 | menu[0].nm | THAI ICED TEA | 0.95 | 0.666667 | true | 1 | 0 | 0.83808 |
cord-train-00009 | menu[0].cnt | 2 | 0.95 | 0.666667 | true | 1 | 0 | 0.929712 |
cord-train-00009 | menu[0].price | 40000 | 0.95 | 0.666667 | false | 0 | 0 | 0 |
cord-train-00009 | sub_total.subtotal_price | 40000 | 0.95 | 0.666667 | false | 0 | 0 | 0 |
cord-train-00009 | total.total_price | 40000 | 0.95 | 0.666667 | false | 0 | 0 | 0 |
cord-train-00009 | total.cashprice | 100000 | 0.95 | 0.666667 | true | 0.857143 | 0 | 0.988398 |
cord-train-00009 | total.changeprice | 60000 | 0.95 | 0.666667 | true | 0.833333 | 0 | 0.988242 |
cord-train-00009 | total.menuqty_cnt | 2 | 0.95 | 1 | true | 1 | 0 | 0.73204 |
cord-train-00004 | menu[0].nm | BASO BIHUN | 0.95 | 1 | true | 1 | 0 | 0.862208 |
cord-train-00004 | menu[0].cnt | 1 | 0.95 | 1 | true | 1 | 0 | 0.947797 |
cord-train-00004 | menu[0].price | 43.636 | 0.95 | 1 | false | 0 | 0 | 0 |
cord-train-00004 | sub_total.subtotal_price | 43.636 | 0.95 | 1 | false | 0 | 1 | 0 |
cord-train-00004 | sub_total.tax_price | 4.364 | 0.95 | 1 | true | 1 | 1 | 0.004812 |
cord-train-00004 | total.total_price | 48.0 | 0.95 | 1 | true | 0.666667 | 1 | 0.00187 |
cord-train-00004 | total.cashprice | 50.0 | 0.95 | 1 | true | 0.666667 | 1 | 0.003575 |
cord-train-00004 | total.changeprice | 2.0 | 0.95 | 1 | true | 0.6 | 1 | 0.013047 |
cord-train-00004 | total.menuqty_cnt | 1 | 0.95 | 1 | true | 1 | 0 | 0.933936 |
cord-train-00010 | menu[0].nm | Viet Milk Coffee | 0.95 | 1 | true | 1 | 0 | 0.441275 |
cord-train-00010 | menu[0].cnt | 1 | 0.9 | 0.666667 | true | 1 | 0 | 0.947797 |
cord-train-00010 | menu[0].price | 25000 | 0.95 | 1 | false | 0 | 0 | 0 |
cord-train-00010 | sub_total.subtotal_price | 25000 | 0.95 | 1 | false | 0 | 0 | 0 |
cord-train-00010 | total.total_price | 25000 | 0.95 | 1 | false | 0 | 0 | 0 |
cord-train-00010 | total.cashprice | 30000 | 0.95 | 1 | true | 0.833333 | 0 | 0.980747 |
cord-train-00010 | total.changeprice | 5000 | 0.95 | 1 | true | 0.8 | 0 | 0.099117 |
cord-train-00010 | total.menuqty_cnt | 1 | 0.9 | 1 | true | 1 | 0 | 0.933936 |
cord-train-00011 | menu[0].nm | Ayam Bakar | 0.95 | 1 | true | 1 | 1 | 0.971982 |
cord-train-00011 | menu[0].cnt | 2 | 0.95 | 1 | true | 0.5 | 1 | 0.929712 |
cord-train-00011 | menu[0].price | 55000 | 0.95 | 1 | true | 0.833333 | 0 | 0.399752 |
cord-train-00011 | menu[1].nm | Nasi Putih | 0.95 | 1 | true | 1 | 1 | 0.757912 |
cord-train-00011 | menu[1].cnt | 2 | 0.95 | 1 | true | 0.5 | 1 | 0.929712 |
cord-train-00011 | menu[1].price | 20000 | 0.95 | 1 | true | 0.833333 | 0 | 0.014337 |
cord-train-00011 | menu[2].nm | Nila Bakar/Goreng | 0.95 | 1 | true | 1 | 1 | 0.939591 |
cord-train-00011 | menu[2].cnt | 1 | 0.95 | 1 | false | 0 | 1 | 0 |
cord-train-00011 | menu[2].price | 27500 | 0.95 | 1 | true | 1 | 1 | 0.222213 |
cord-train-00011 | menu[3].nm | Sop Gurame | 0.95 | 1 | true | 1 | 1 | 0.916467 |
cord-train-00011 | menu[3].cnt | 1 | 0.95 | 1 | false | 0 | 1 | 0 |
cord-train-00011 | menu[3].price | 87000 | 0.95 | 1 | true | 0.833333 | 0 | 0.068817 |
cord-train-00011 | menu[4].nm | Teh Poci | 0.95 | 1 | true | 1 | 1 | 0.553859 |
cord-train-00011 | menu[4].cnt | 1 | 0.95 | 1 | false | 0 | 1 | 0 |
cord-train-00011 | menu[4].price | 25000 | 0.95 | 1 | true | 0.833333 | 0 | 0.164691 |
cord-train-00011 | sub_total.subtotal_price | 214500 | 0.95 | 1 | true | 0.857143 | 0 | 0.984883 |
cord-train-00011 | sub_total.tax_price | 22737 | 0.95 | 1 | true | 0.833333 | 0 | 0.018668 |
cord-train-00011 | sub_total.service_price | 12870 | 0.95 | 1 | true | 0.833333 | 0 | 0.971166 |
cord-train-00011 | total.total_price | 250107 | 0.95 | 1 | true | 1 | 1 | 0.660608 |
cord-train-00008 | menu[0].value[0].nm | Kimchi P | 0.85 | 1 | true | 1 | 0 | 0.945753 |
cord-train-00008 | menu[0].value[0].cnt | 1x | 0.95 | 1 | true | 0.5 | 0 | 0.95265 |
cord-train-00008 | menu[0].value[0].price | 36000 | 0.9 | 1 | false | 0 | 0 | 0 |
cord-train-00008 | menu[0].value[1].nm | Fre ice grentea | 0.8 | 1 | true | 1 | 0 | 0.74954 |
cord-train-00008 | menu[0].value[1].cnt | 1x | 0.95 | 1 | true | 0.5 | 0 | 0.95265 |
cord-train-00008 | menu[0].value[1].price | 0 | 0.9 | 1 | false | 0 | 0 | 0 |
cord-train-00008 | sub_total.subtotal_price | 36000 | 0.9 | 1 | false | 0 | 0 | 0 |
cord-train-00008 | total.total_price | 36000 | 0.9 | 1 | false | 0 | 0 | 0 |
cord-train-00008 | total.cashprice | 51000 | 0.95 | 1 | true | 0.666667 | 0 | 0.962496 |
cord-train-00008 | total.changeprice | 15000 | 0.95 | 1 | true | 0.833333 | 0 | 0.975196 |
cord-train-00008 | total.menuqty_cnt | 2 | 0.85 | 0.666667 | false | 0 | 0 | 0 |
cord-train-00003 | sub_total.subtotal_price | 259000 | 0.95 | 1 | true | 1 | 1 | 0.993522 |
cord-train-00003 | sub_total.service_price | 9600 | 0.95 | 1 | true | 1 | 1 | 0.984086 |
cord-train-00003 | sub_total.tax_price | 52416 | 0.95 | 1 | true | 1 | 1 | 0.269816 |
cord-train-00003 | sub_total.discount_price | 19000 | 0.95 | 1 | true | 1 | 1 | 0.988978 |
cord-train-00003 | total.total_price | 302016 | 0.95 | 1 | true | 1 | 1 | 0.416797 |
cord-train-00003 | menu[0].value[0].nm | Bintang Bremer | 0.95 | 0.666667 | true | 1 | 0 | 0.511272 |
cord-train-00003 | menu[0].value[0].cnt | 1 | 0.95 | 0.666667 | false | 0 | 0 | 0 |
cord-train-00003 | menu[0].value[0].price | 59000 | 0.95 | 0.666667 | true | 1 | 0 | 0.477796 |
cord-train-00003 | menu[0].value[1].nm | Chicken H-H | 0.95 | 0.666667 | true | 1 | 0 | 0.963789 |
cord-train-00003 | menu[0].value[1].cnt | 1 | 0.95 | 0.666667 | false | 0 | 0 | 0 |
cord-train-00003 | menu[0].value[1].price | 190000 | 0.95 | 0.666667 | true | 1 | 0 | 0.112823 |
cord-train-00003 | menu[0].value[2].nm | Ades | 0.95 | 0.666667 | true | 1 | 0 | 0.926958 |
cord-train-00003 | menu[0].value[2].cnt | 1 | 0.95 | 0.666667 | false | 0 | 0 | 0 |
cord-train-00003 | menu[0].value[2].price | 10000 | 0.95 | 0.666667 | true | 1 | 0 | 0.055199 |
cord-train-00003 | total.menuqty_cnt | 3 | 0.9 | 0.666667 | false | 0 | 0 | 0 |
cord-train-00006 | sub_total.subtotal_price | 56181 | 0.92 | 1 | true | 1 | 1 | 0.719031 |
cord-train-00006 | sub_total.tax_price | 5618 | 0.9 | 1 | true | 1 | 1 | 0.031663 |
cord-train-00006 | total.total_price | 61799 | 0.92 | 1 | true | 1 | 1 | 0.016781 |
cord-train-00006 | total.cashprice | 62000 | 0.92 | 1 | true | 1 | 1 | 0.911876 |
cord-train-00006 | total.changeprice | 201 | 0.92 | 1 | true | 1 | 1 | 0.373935 |
cord-train-00006 | total.menuqty_cnt | 2 | 0.9 | 1 | false | 0 | 0 | 0 |
cord-train-00006 | menu[0].nm | BASO TAHU | 0.95 | 0.666667 | true | 1 | 1 | 0.838047 |
cord-train-00006 | menu[0].cnt | 1 | 0.95 | 0.666667 | true | 0.5 | 1 | 0.947797 |
cord-train-00006 | menu[0].price | 43181 | 0.9 | 0.666667 | true | 0.5 | 1 | 0.974062 |
cord-train-00006 | menu[1].nm | ES JERUK | 0.95 | 0.666667 | true | 1 | 1 | 0.859263 |
cord-train-00006 | menu[1].cnt | 1 | 0.9 | 0.666667 | true | 0.5 | 1 | 0.947797 |
cord-train-00006 | menu[1].price | 13000 | 0.9 | 0.666667 | true | 1 | 1 | 0.638399 |
cord-train-00002 | menu[0].nm | HAKAU UDANG | 0.95 | 1 | true | 1 | 1 | 0.903432 |
cord-train-00002 | menu[0].cnt | 4 | 0.95 | 1 | true | 0.5 | 1 | 0.9626 |
cord-train-00002 | menu[0].price | 92000 | 0.95 | 1 | true | 1 | 1 | 0.195387 |
cord-train-00002 | menu[1].nm | SIAO MAI BABI | 0.95 | 1 | true | 1 | 1 | 0.75129 |
cord-train-00002 | menu[1].cnt | 4 | 0.95 | 1 | true | 0.5 | 1 | 0.9626 |
cord-train-00002 | menu[1].price | 80000 | 0.95 | 1 | true | 1 | 1 | 0.055611 |
cord-train-00002 | menu[2].nm | CEKER AYAM | 0.95 | 1 | true | 1 | 1 | 0.687537 |
cord-train-00002 | menu[2].cnt | 3 | 0.95 | 1 | true | 0.5 | 1 | 0.967339 |
cord-train-00002 | menu[2].price | 60000 | 0.95 | 1 | true | 0.5 | 1 | 0.303722 |
VerifyDocBench
Genuine per-field trust records for document-extraction calibration, risk-controlled selective prediction, and grounding research. Companion resource to:
- VerifyDocBench (benchmark paper) — first released benchmark scoring per-field calibration, risk-controlled selective prediction, and grounding-conditioned trust for document extraction.
- "Valid Per-Field Selective Risk Control for Document Extraction" (method paper) — the validity ladder / conformal risk-control procedures this data was captured to evaluate.
Code, loaders, scoring harness, and both papers' reproducibility artifacts: https://github.com/bhaskargurram-ai/verifydoc (Apache-2.0).
What's in this repository
Nine genuine per-field capture files, 36,265 records total, from four extractor families over four corpora:
| file | extractor | fields | docs | source corpus |
|---|---|---|---|---|
cord_claude-sonnet-5.json |
claude-sonnet-5 (text-layer) | 13,859 | 800 | CORD (receipts) |
funsd_claude-sonnet-5.json |
claude-sonnet-5 (text-layer) | 1,999 | 175 | FUNSD (forms) |
xfund_de_claude-sonnet-5.json |
claude-sonnet-5 (text-layer) | 523 | 42 | XFUND German |
xfund_es_claude-sonnet-5.json |
claude-sonnet-5 (text-layer) | 632 | 43 | XFUND Spanish |
xfund_fr_claude-sonnet-5.json |
claude-sonnet-5 (text-layer) | 772 | 44 | XFUND French |
xfund_zh_claude-sonnet-5.json |
claude-sonnet-5 (text-layer) | 461 | 27 | XFUND Chinese |
cord_claude-haiku-4-5.json |
claude-haiku-4-5 (text-layer) | 5,341 | 400 | CORD (frozen-config confirmation) |
cord_qwen2.5-14b.json |
Qwen2.5-14B (vLLM, open-weights, text-layer) | 6,168 | 398 | CORD |
cord_gpt-4o.json |
gpt-4o (genuinely vision-based) | 6,510 | 399 | CORD |
Only cord_gpt-4o.json is genuinely vision-based — the model was sent the
rendered page image (base64-encoded) alongside the OCR text layer as assistive
context. Every other file is text-layer prompted: the model reads only the
document's OCR text, never pixels, despite "VLM" being the natural shorthand for a
closed frontier API model — we correct that framing here rather than let it stand
for three of the four extractor families.
Each record is one field prediction:
{
"doc_id": "cord-train-00000",
"path": "menu.nm",
"value": "Nasi Campur Bali",
"verbalized": 0.95,
"consistency": 1.0,
"grounded": true,
"support": 0.83,
"correct": 1,
"entailment": 0.91
}
verbalized = the model's self-reported confidence; consistency = k-sample
self-consistency agreement; grounded/support = whether/how strongly the value was
located in the document's text layer (ambiguity-penalized); entailment = NLI
cross-encoder score for "does the grounded span entail this value"; correct = scored
against gold (see the paper for exact-match/numeric/semantic scoring rules per field
type).
Not included, and not claimed as released: DocILE and SROIE — no genuine capture exists for either in this project (DocILE download is pending a valid access token; SROIE has loader code but was never run for a real capture). Source document images are not re-hosted for any corpus (see licensing below) — only our own derived per-field predictions and scoring.
Licensing by source
Our own contributions — the per-field correctness labels, grounding/support scores, schemas, and this derived record format — are released under Apache-2.0, matching the parent repository's license.
This does not relicense the underlying source document collections, each of which keeps its own license:
| source | license | notes |
|---|---|---|
| CORD | CC BY 4.0 | Permissive; our Apache-2.0 annotations are consistent with it. |
| FUNSD | Non-commercial, research/educational use only (custom terms) | Not a CC license. Use of funsd_claude-sonnet-5.json must stay within these terms. |
| XFUND (de/es/fr/zh) | CC BY-NC-SA 4.0 | Non-commercial, share-alike; uniform across languages. |
We redistribute only our own added annotations (values, confidence/grounding/ correctness signals) and reference the original dataset downloads for source documents/images — restrictively licensed source images are never re-hosted here. If you redistribute derivatives of the FUNSD or XFUND slices, you must comply with their non-commercial terms.
Reproducibility
Captured via the harness at scripts/apivlm_perfield_rich.py (seed-pinned, k=3
self-consistency sampling, doc-level splits, regression-gated). Every number in both
companion papers traces to these files or to the scoring harness's deterministic
transforms of them — see paper/HANDOFF.md and paper/generated/real-runs/ in the
GitHub repository for the full campaign log.
Human-gold audit
A subset of these records was independently re-judged by three blind human annotators
(Fleiss' κ=0.83 on 600 CORD/FUNSD items, κ=0.939 on a further 400 XFUND items) to bound
automatic-label noise. See the method paper's confirmation section and
benchmark/card.md in the GitHub repository for the full audit.
Citation
@misc{verifydocbench2026,
title = {VerifyDocBench: Measuring Per-Field Calibration, Selective Risk, and Grounding for Document Extraction},
author = {Gurram, Bhaskar},
year = {2026},
url = {https://github.com/bhaskargurram-ai/verifydoc}
}
Maintenance
Maintained by the repository owner via GitHub issues: https://github.com/bhaskargurram-ai/verifydoc/issues. No formal versioning/erratum policy beyond the issue tracker as of this release.
- Downloads last month
- 14