urimer commited on
Commit
8a3e08d
·
verified ·
1 Parent(s): d3f093f

Deploy DocuBench leaderboard

Browse files
Files changed (5) hide show
  1. README.md +70 -7
  2. app.py +189 -0
  3. build_data.py +156 -0
  4. leaderboard.json +1754 -0
  5. requirements.txt +2 -0
README.md CHANGED
@@ -1,13 +1,76 @@
1
  ---
2
- title: Docubench Leaderboard
3
- emoji: 📚
4
- colorFrom: green
5
- colorTo: yellow
6
  sdk: gradio
7
- sdk_version: 6.20.0
8
- python_version: '3.13'
9
  app_file: app.py
10
  pinned: false
 
 
 
 
 
 
 
 
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: DocuBench Leaderboard
3
+ emoji: 📄
4
+ colorFrom: indigo
5
+ colorTo: blue
6
  sdk: gradio
7
+ sdk_version: 6.19.0
 
8
  app_file: app.py
9
  pinned: false
10
+ license: mit
11
+ short_description: Document extraction benchmark, 50 hard real-world docs
12
+ tags:
13
+ - leaderboard
14
+ - benchmark
15
+ - document-ai
16
+ - information-extraction
17
+ - ocr
18
  ---
19
 
20
+ # DocuBench Leaderboard
21
+
22
+ An interactive leaderboard for [DocuBench](https://github.com/DocuPipe/docubench), a
23
+ public benchmark for schema-guided structured extraction from 50 hard, real-world
24
+ documents. It shows the headline ranking plus breakdowns by file type, language, and hard
25
+ capability (arrays, reconciling totals, right-to-left and CJK scripts, rotated scans,
26
+ handwriting, and more), and a searchable per-document table.
27
+
28
+ Every number is produced by the benchmark's public scorer against the same hand-verified
29
+ labels. These are baseline submissions, not a closed leaderboard.
30
+
31
+ ## Files in this Space
32
+
33
+ | File | Purpose |
34
+ |---|---|
35
+ | `app.py` | Gradio leaderboard application |
36
+ | `leaderboard.json` | Self-contained data the app renders |
37
+ | `requirements.txt` | Runtime dependencies |
38
+
39
+ `leaderboard.json` is generated from the benchmark repo by
40
+ [`space/build_data.py`](https://github.com/DocuPipe/docubench/blob/main/space/build_data.py),
41
+ which merges `results/summary.json` (scores), `sources.json` (provenance), and the
42
+ per-document capability flags. It is committed so the Space runs standalone.
43
+
44
+ ## Run locally
45
+
46
+ ```bash
47
+ pip install -r requirements.txt
48
+ python app.py
49
+ ```
50
+
51
+ ## Deploy to Hugging Face
52
+
53
+ The Space needs `app.py`, `requirements.txt`, `leaderboard.json`, and this `README.md`.
54
+
55
+ ```bash
56
+ pip install huggingface_hub
57
+ huggingface-cli login
58
+ huggingface-cli repo create docubench-leaderboard --type space --space_sdk gradio
59
+
60
+ # from the repo root, push the contents of space/ to the Space root
61
+ huggingface-cli upload <your-username>/docubench-leaderboard space . --repo-type space
62
+ ```
63
+
64
+ Equivalently, clone the empty Space repo and copy these four files into it, then
65
+ `git push`. Hugging Face builds and serves the app automatically.
66
+
67
+ ## Update the data
68
+
69
+ From the benchmark repository, after regenerating the report:
70
+
71
+ ```bash
72
+ docubench report
73
+ python3 space/build_data.py
74
+ ```
75
+
76
+ Then commit the refreshed `space/leaderboard.json` and push it to the Space.
app.py ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """DocuBench leaderboard — a Hugging Face Space (Gradio).
2
+
3
+ Renders the committed benchmark results from leaderboard.json (built by build_data.py from
4
+ the repo's canonical artifacts). The data functions below are deliberately framework-free
5
+ so they can be imported and tested without launching Gradio.
6
+ """
7
+ from __future__ import annotations
8
+
9
+ import json
10
+ from pathlib import Path
11
+
12
+ import pandas as pd
13
+
14
+ DATA_PATH = Path(__file__).resolve().parent / "leaderboard.json"
15
+
16
+ CAPABILITY_LABELS = {
17
+ "arrays": "Array / line-item tables",
18
+ "reconcile": "Totals must reconcile",
19
+ "rtl": "Right-to-left script",
20
+ "cjk": "CJK script",
21
+ "handwriting": "Handwriting",
22
+ "rotated": "Rotated scan",
23
+ "needle": "Needle-in-haystack lookup",
24
+ "nested": "Nested objects",
25
+ }
26
+
27
+
28
+ def load_data() -> dict:
29
+ with open(DATA_PATH, encoding="utf-8") as f:
30
+ return json.load(f)
31
+
32
+
33
+ DATA = load_data()
34
+ ENGINES = DATA["engines"]
35
+ ENGINE_KEYS = [e["key"] for e in ENGINES]
36
+ ENGINE_LABEL = {e["key"]: e["display"] for e in ENGINES}
37
+
38
+
39
+ def pct(value) -> str:
40
+ return "" if value is None else f"{value * 100:.2f}"
41
+
42
+
43
+ def leaderboard_df() -> pd.DataFrame:
44
+ ranked = sorted(ENGINES, key=lambda e: (e["overall"] is not None, e["overall"]), reverse=True)
45
+ rows = []
46
+ for rank, engine in enumerate(ranked, start=1):
47
+ rows.append({
48
+ "Rank": rank,
49
+ "System": engine["display"],
50
+ "Model": engine.get("model") or "—",
51
+ "Accuracy %": pct(engine["overall"]),
52
+ })
53
+ return pd.DataFrame(rows)
54
+
55
+
56
+ def _breakdown_df(rows: list[dict], label_key: str, label_header: str) -> pd.DataFrame:
57
+ out = []
58
+ for row in rows:
59
+ record = {label_header: row[label_key], "Docs": row.get("doc_count", "")}
60
+ for key in ENGINE_KEYS:
61
+ record[ENGINE_LABEL[key]] = pct(row.get(key))
62
+ out.append(record)
63
+ return pd.DataFrame(out)
64
+
65
+
66
+ def filetype_df() -> pd.DataFrame:
67
+ return _breakdown_df(DATA["breakdowns"]["ftype"], "value", "File type")
68
+
69
+
70
+ def language_df() -> pd.DataFrame:
71
+ return _breakdown_df(DATA["breakdowns"]["lang"], "value", "Language")
72
+
73
+
74
+ def capability_df() -> pd.DataFrame:
75
+ return _breakdown_df(DATA["breakdowns"]["capability"], "label", "Capability")
76
+
77
+
78
+ def documents_df(ftype: str = "All", capability: str = "All") -> pd.DataFrame:
79
+ rows = []
80
+ for doc in DATA["documents"]:
81
+ if ftype != "All" and doc["ftype"] != ftype:
82
+ continue
83
+ if capability != "All" and not doc["flags"].get(capability):
84
+ continue
85
+ record = {
86
+ "Document": doc["name"],
87
+ "Type": doc["ftype"],
88
+ "Lang": doc["lang"],
89
+ "Pages": doc.get("pages") or "",
90
+ "Challenge": doc.get("feature", ""),
91
+ }
92
+ for key in ENGINE_KEYS:
93
+ record[ENGINE_LABEL[key]] = pct(doc["scores"].get(key))
94
+ rows.append(record)
95
+ return pd.DataFrame(rows)
96
+
97
+
98
+ def filetype_choices() -> list[str]:
99
+ return ["All"] + sorted({d["ftype"] for d in DATA["documents"]})
100
+
101
+
102
+ def capability_choices() -> list[tuple[str, str]]:
103
+ present = {flag for d in DATA["documents"] for flag, on in d["flags"].items() if on}
104
+ return [("All", "All")] + [(CAPABILITY_LABELS.get(f, f), f) for f in CAPABILITY_LABELS if f in present]
105
+
106
+
107
+ INTRO = f"""
108
+ # 📄 DocuBench Leaderboard
109
+
110
+ **{DATA['benchmark'].get('doc_count', len(DATA['documents']))} hard, real-world documents · schema-guided structured extraction · v{DATA['benchmark'].get('version', '?')}**
111
+
112
+ Each task pairs a source document with a JSON Schema and a hand-verified JSON label.
113
+ Systems are scored on field-level accuracy with order-independent array matching
114
+ (metric: `{DATA['benchmark'].get('metric', 'macro_average_field_accuracy')}`). Every number
115
+ here is produced by the same public scorer against the same labels — these are baseline
116
+ submissions, not a closed leaderboard.
117
+
118
+ Code, data, scorer, and committed prompts: **[github.com/DocuPipe/docubench](https://github.com/DocuPipe/docubench)**
119
+ """
120
+
121
+ ABOUT = """
122
+ ## How systems are scored
123
+
124
+ For each document a system receives the source file plus the paired JSON Schema and must
125
+ return JSON matching the schema. The scorer compares it to the hand-verified label:
126
+
127
+ - strings are normalized for whitespace, punctuation, and case
128
+ - numbers are cast to float and rounded
129
+ - arrays are matched order-independently (greedy best-pair assignment)
130
+ - the headline number is the macro average of per-document field accuracy
131
+
132
+ The 50 documents are deliberately hard: arrays and multi-page tables, totals that must
133
+ reconcile, right-to-left and CJK scripts, rotated scans, handwriting, and ten file types
134
+ (PDF, JPEG, PNG, TIFF, XLSX, CSV, XML, TXT, DOCX, HTML).
135
+
136
+ ## Submitting a new system
137
+
138
+ 1. Run your system over the 50 documents using the paired schemas.
139
+ 2. Write `results/<your_system>/<doc_id>.json` with a top-level `data` object.
140
+ 3. `docubench validate && docubench score --engine <your_system>`
141
+ 4. Open a pull request.
142
+
143
+ The exact prompts and run configuration for every committed baseline live in
144
+ [`prompts/`](https://github.com/DocuPipe/docubench/tree/main/prompts), and the scoring
145
+ contract is in [`docs/scoring.md`](https://github.com/DocuPipe/docubench/blob/main/docs/scoring.md).
146
+
147
+ This leaderboard is a static view of the committed results; rebuild it with
148
+ `python3 space/build_data.py` after `docubench report`.
149
+ """
150
+
151
+
152
+ def build_demo():
153
+ import gradio as gr
154
+
155
+ cap_choices = capability_choices()
156
+ with gr.Blocks(title="DocuBench Leaderboard") as demo:
157
+ gr.Markdown(INTRO)
158
+
159
+ with gr.Tab("Leaderboard"):
160
+ gr.Dataframe(value=leaderboard_df(), interactive=False, wrap=True)
161
+
162
+ with gr.Tab("By file type"):
163
+ gr.Dataframe(value=filetype_df(), interactive=False, wrap=True)
164
+
165
+ with gr.Tab("By language"):
166
+ gr.Dataframe(value=language_df(), interactive=False, wrap=True)
167
+
168
+ with gr.Tab("By capability"):
169
+ gr.Markdown("Accuracy on the documents that carry each hard capability.")
170
+ gr.Dataframe(value=capability_df(), interactive=False, wrap=True)
171
+
172
+ with gr.Tab("Documents"):
173
+ with gr.Row():
174
+ ftype = gr.Dropdown(choices=filetype_choices(), value="All", label="File type")
175
+ capability = gr.Dropdown(choices=cap_choices, value="All", label="Capability")
176
+ table = gr.Dataframe(value=documents_df(), interactive=False, wrap=True)
177
+ for control in (ftype, capability):
178
+ control.change(documents_df, inputs=[ftype, capability], outputs=table)
179
+
180
+ with gr.Tab("About / Submit"):
181
+ gr.Markdown(ABOUT)
182
+
183
+ return demo
184
+
185
+
186
+ if __name__ == "__main__":
187
+ import gradio as gr
188
+
189
+ build_demo().launch(theme=gr.themes.Soft())
build_data.py ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Build the self-contained leaderboard.json that the Hugging Face Space renders.
2
+
3
+ The Space must run standalone on Hugging Face with no access to the parent repository, so
4
+ this script merges the repo's canonical artifacts into a single file committed alongside
5
+ the app:
6
+
7
+ - results/summary.json -> scores, aggregates, file-type / language breakdowns
8
+ - sources.json -> per-document provenance (name, license, source url)
9
+ - docubench-explorer.html -> per-document capability flags (arrays, RTL, CJK, ...)
10
+ - results/<engine>/<id>.json -> the model id stamped in each result's meta block
11
+
12
+ Scores always come from summary.json (the output of `docubench report`); this script
13
+ never recomputes them. Run it from anywhere after regenerating the report:
14
+
15
+ python3 space/build_data.py
16
+ """
17
+ from __future__ import annotations
18
+
19
+ import json
20
+ import math
21
+ from json import JSONDecoder
22
+ from pathlib import Path
23
+ from typing import Any
24
+
25
+ REPO_ROOT = Path(__file__).resolve().parent.parent
26
+ SPACE_DIR = Path(__file__).resolve().parent
27
+ OUTPUT_PATH = SPACE_DIR / "leaderboard.json"
28
+
29
+ CAPABILITY_LABELS = {
30
+ "arrays": "Array / line-item tables",
31
+ "reconcile": "Totals must reconcile",
32
+ "rtl": "Right-to-left script",
33
+ "cjk": "CJK script",
34
+ "handwriting": "Handwriting",
35
+ "rotated": "Rotated scan",
36
+ "needle": "Needle-in-haystack lookup",
37
+ "nested": "Nested objects",
38
+ }
39
+
40
+
41
+ def load_json(path: Path) -> Any:
42
+ with open(path, encoding="utf-8") as f:
43
+ return json.load(f)
44
+
45
+
46
+ def extract_explorer_flags(html_path: Path) -> dict[str, dict[str, bool]]:
47
+ """Pull the per-document capability flags out of the explorer's embedded DATA blob."""
48
+ if not html_path.exists():
49
+ return {}
50
+ text = html_path.read_text(encoding="utf-8")
51
+ marker = "const DATA = "
52
+ start = text.find(marker)
53
+ if start == -1:
54
+ return {}
55
+ brace = text.find("{", start)
56
+ data, _ = JSONDecoder().raw_decode(text[brace:])
57
+ flags: dict[str, dict[str, bool]] = {}
58
+ for doc in data.get("docs", []):
59
+ if "id" in doc and isinstance(doc.get("flags"), dict):
60
+ flags[doc["id"]] = {k: bool(v) for k, v in doc["flags"].items()}
61
+ return flags
62
+
63
+
64
+ def engine_model(engine: str, doc_ids: list[str]) -> str | None:
65
+ """Best-effort model id from the first result file that records one in meta."""
66
+ for doc_id in doc_ids:
67
+ path = REPO_ROOT / "results" / engine / f"{doc_id}.json"
68
+ if not path.exists():
69
+ continue
70
+ try:
71
+ meta = (load_json(path) or {}).get("meta") or {}
72
+ except (json.JSONDecodeError, OSError):
73
+ continue
74
+ if meta.get("model"):
75
+ return str(meta["model"])
76
+ return None
77
+
78
+
79
+ def mean(values: list[float]) -> float | None:
80
+ values = [v for v in values if v is not None]
81
+ return math.fsum(values) / len(values) if values else None
82
+
83
+
84
+ def build() -> dict[str, Any]:
85
+ summary = load_json(REPO_ROOT / "results" / "summary.json")
86
+ sources = {row["doc_id"]: row for row in load_json(REPO_ROOT / "sources.json") if "doc_id" in row}
87
+ flags_by_doc = extract_explorer_flags(REPO_ROOT / "docubench-explorer.html")
88
+
89
+ engines = list(summary["aggregates"].keys())
90
+ display_names = summary.get("engine_display_names", {})
91
+ per_doc_scores = {row["doc_id"]: row for row in summary["per_doc"]}
92
+ doc_ids = [row["doc_id"] for row in summary["per_doc"]]
93
+
94
+ documents = []
95
+ for doc_id in doc_ids:
96
+ src = sources.get(doc_id, {})
97
+ scores = {engine: per_doc_scores[doc_id].get(engine) for engine in engines}
98
+ documents.append({
99
+ "doc_id": doc_id,
100
+ "name": src.get("name", doc_id),
101
+ "lang": src.get("lang", "unknown"),
102
+ "ftype": src.get("ftype", "unknown"),
103
+ "pages": src.get("pages"),
104
+ "feature": src.get("hard_feature", ""),
105
+ "license": src.get("license", ""),
106
+ "source_url": src.get("source_url", ""),
107
+ "flags": flags_by_doc.get(doc_id, {}),
108
+ "scores": scores,
109
+ })
110
+
111
+ # capability breakdown: per-engine mean over the documents carrying each flag
112
+ capability_rows = []
113
+ for flag, label in CAPABILITY_LABELS.items():
114
+ matching = [d for d in documents if d["flags"].get(flag)]
115
+ if not matching:
116
+ continue
117
+ row: dict[str, Any] = {"flag": flag, "label": label, "doc_count": len(matching)}
118
+ for engine in engines:
119
+ row[engine] = mean([d["scores"].get(engine) for d in matching])
120
+ capability_rows.append(row)
121
+
122
+ return {
123
+ "benchmark": summary.get("benchmark", {}),
124
+ "engines": [
125
+ {
126
+ "key": engine,
127
+ "display": display_names.get(engine, engine),
128
+ "model": engine_model(engine, doc_ids),
129
+ "overall": summary["aggregates"][engine],
130
+ }
131
+ for engine in engines
132
+ ],
133
+ "breakdowns": {
134
+ "ftype": summary["breakdowns"].get("ftype", []),
135
+ "lang": summary["breakdowns"].get("lang", []),
136
+ "capability": capability_rows,
137
+ },
138
+ "documents": documents,
139
+ }
140
+
141
+
142
+ def main() -> int:
143
+ data = build()
144
+ with open(OUTPUT_PATH, "w", encoding="utf-8") as f:
145
+ json.dump(data, f, ensure_ascii=False, indent=2)
146
+ f.write("\n")
147
+ print(
148
+ f"wrote {OUTPUT_PATH.relative_to(REPO_ROOT)}: "
149
+ f"{len(data['engines'])} engines, {len(data['documents'])} documents, "
150
+ f"{len(data['breakdowns']['capability'])} capability rows"
151
+ )
152
+ return 0
153
+
154
+
155
+ if __name__ == "__main__":
156
+ raise SystemExit(main())
leaderboard.json ADDED
@@ -0,0 +1,1754 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "benchmark": {
3
+ "name": "DocuBench",
4
+ "version": "0.1.0",
5
+ "doc_count": 50,
6
+ "metric": "macro_average_field_accuracy"
7
+ },
8
+ "engines": [
9
+ {
10
+ "key": "claude",
11
+ "display": "Claude",
12
+ "model": "claude-sonnet-4-6",
13
+ "overall": 0.9032597450724702
14
+ },
15
+ {
16
+ "key": "docupipe_high",
17
+ "display": "DocuPipe high",
18
+ "model": null,
19
+ "overall": 0.9756010761615354
20
+ },
21
+ {
22
+ "key": "docupipe_standard",
23
+ "display": "DocuPipe standard",
24
+ "model": null,
25
+ "overall": 0.9630979254504501
26
+ },
27
+ {
28
+ "key": "extend",
29
+ "display": "Extend",
30
+ "model": null,
31
+ "overall": 0.9110939031697707
32
+ },
33
+ {
34
+ "key": "gemini",
35
+ "display": "Gemini",
36
+ "model": "gemini-3.5-flash",
37
+ "overall": 0.9579750803411572
38
+ },
39
+ {
40
+ "key": "gpt",
41
+ "display": "GPT",
42
+ "model": "gpt-5.5",
43
+ "overall": 0.9354159088285791
44
+ }
45
+ ],
46
+ "breakdowns": {
47
+ "ftype": [
48
+ {
49
+ "value": "csv",
50
+ "doc_count": 1,
51
+ "claude": 0.9,
52
+ "docupipe_high": 1.0,
53
+ "docupipe_standard": 0.9857142857142858,
54
+ "extend": 0.5396825396825397,
55
+ "gemini": 1.0,
56
+ "gpt": 0.9857142857142858
57
+ },
58
+ {
59
+ "value": "docx",
60
+ "doc_count": 1,
61
+ "claude": 1.0,
62
+ "docupipe_high": 1.0,
63
+ "docupipe_standard": 1.0,
64
+ "extend": 0.8333333333333334,
65
+ "gemini": 0.9629629629629629,
66
+ "gpt": 0.8333333333333334
67
+ },
68
+ {
69
+ "value": "html",
70
+ "doc_count": 1,
71
+ "claude": 1.0,
72
+ "docupipe_high": 1.0,
73
+ "docupipe_standard": 1.0,
74
+ "extend": 1.0,
75
+ "gemini": 1.0,
76
+ "gpt": 1.0
77
+ },
78
+ {
79
+ "value": "jpeg",
80
+ "doc_count": 4,
81
+ "claude": 0.6535365608373417,
82
+ "docupipe_high": 0.9743455497382199,
83
+ "docupipe_standard": 1.0,
84
+ "extend": 0.8029137606772159,
85
+ "gemini": 0.9769932463581044,
86
+ "gpt": 0.9598354231974922
87
+ },
88
+ {
89
+ "value": "pdf",
90
+ "doc_count": 37,
91
+ "claude": 0.937385571458486,
92
+ "docupipe_high": 0.9707181057894224,
93
+ "docupipe_standard": 0.9552956063445976,
94
+ "extend": 0.9237730232194886,
95
+ "gemini": 0.9578341247793555,
96
+ "gpt": 0.9296366466452303
97
+ },
98
+ {
99
+ "value": "png",
100
+ "doc_count": 1,
101
+ "claude": 0.9655748663101604,
102
+ "docupipe_high": 1.0,
103
+ "docupipe_standard": 1.0,
104
+ "extend": 1.0,
105
+ "gemini": 0.9769385026737968,
106
+ "gpt": 0.7634692513368985
107
+ },
108
+ {
109
+ "value": "tiff",
110
+ "doc_count": 1,
111
+ "claude": 1.0,
112
+ "docupipe_high": 1.0,
113
+ "docupipe_standard": 0.8571428571428571,
114
+ "extend": 0.9523809523809523,
115
+ "gemini": 0.95,
116
+ "gpt": 0.9523809523809523
117
+ },
118
+ {
119
+ "value": "txt",
120
+ "doc_count": 1,
121
+ "claude": 1.0,
122
+ "docupipe_high": 1.0,
123
+ "docupipe_standard": 1.0,
124
+ "extend": 0.8888888888888888,
125
+ "gemini": 1.0,
126
+ "gpt": 1.0
127
+ },
128
+ {
129
+ "value": "xlsx",
130
+ "doc_count": 1,
131
+ "claude": 0.0,
132
+ "docupipe_high": 0.9661016949152542,
133
+ "docupipe_standard": 0.9661016949152542,
134
+ "extend": 0.9491525423728815,
135
+ "gemini": 0.6610169491525423,
136
+ "gpt": 1.0
137
+ },
138
+ {
139
+ "value": "xml",
140
+ "doc_count": 2,
141
+ "claude": 1.0,
142
+ "docupipe_high": 1.0,
143
+ "docupipe_standard": 1.0,
144
+ "extend": 1.0,
145
+ "gemini": 1.0,
146
+ "gpt": 1.0
147
+ }
148
+ ],
149
+ "lang": [
150
+ {
151
+ "value": "ar",
152
+ "doc_count": 1,
153
+ "claude": 1.0,
154
+ "docupipe_high": 0.9836065573770492,
155
+ "docupipe_standard": 0.9836065573770492,
156
+ "extend": 0.9836065573770492,
157
+ "gemini": 0.9836065573770492,
158
+ "gpt": 1.0
159
+ },
160
+ {
161
+ "value": "de",
162
+ "doc_count": 2,
163
+ "claude": 0.5843527388847949,
164
+ "docupipe_high": 0.9399954473025267,
165
+ "docupipe_standard": 0.9782608695652174,
166
+ "extend": 0.7607417065044183,
167
+ "gemini": 0.9869565217391305,
168
+ "gpt": 0.9869565217391305
169
+ },
170
+ {
171
+ "value": "en",
172
+ "doc_count": 33,
173
+ "claude": 0.9294437665834829,
174
+ "docupipe_high": 0.9886944254142424,
175
+ "docupipe_standard": 0.9684380559280938,
176
+ "extend": 0.9438995193785481,
177
+ "gemini": 0.9702680014421176,
178
+ "gpt": 0.9450950296947482
179
+ },
180
+ {
181
+ "value": "es",
182
+ "doc_count": 1,
183
+ "claude": 1.0,
184
+ "docupipe_high": 1.0,
185
+ "docupipe_standard": 1.0,
186
+ "extend": 1.0,
187
+ "gemini": 1.0,
188
+ "gpt": 1.0
189
+ },
190
+ {
191
+ "value": "fr",
192
+ "doc_count": 1,
193
+ "claude": 0.8418367346938775,
194
+ "docupipe_high": 1.0,
195
+ "docupipe_standard": 0.9551374819102749,
196
+ "extend": 0.8098159509202455,
197
+ "gemini": 0.9464544138929087,
198
+ "gpt": 1.0
199
+ },
200
+ {
201
+ "value": "he",
202
+ "doc_count": 6,
203
+ "claude": 0.7894212784939736,
204
+ "docupipe_high": 0.8944922852065669,
205
+ "docupipe_standard": 0.8906098435684644,
206
+ "extend": 0.7234977592671714,
207
+ "gemini": 0.8635959646785611,
208
+ "gpt": 0.8379461937883121
209
+ },
210
+ {
211
+ "value": "it",
212
+ "doc_count": 1,
213
+ "claude": 1.0,
214
+ "docupipe_high": 0.9735054347826086,
215
+ "docupipe_standard": 0.9735054347826086,
216
+ "extend": 0.9429347826086957,
217
+ "gemini": 0.951766304347826,
218
+ "gpt": 0.9646739130434783
219
+ },
220
+ {
221
+ "value": "ja",
222
+ "doc_count": 2,
223
+ "claude": 0.8843316584218528,
224
+ "docupipe_high": 0.9867357076525486,
225
+ "docupipe_standard": 0.992005076142132,
226
+ "extend": 0.9035918797392992,
227
+ "gemini": 0.9393692203069186,
228
+ "gpt": 0.9368311492409289
229
+ },
230
+ {
231
+ "value": "nl",
232
+ "doc_count": 1,
233
+ "claude": 1.0,
234
+ "docupipe_high": 1.0,
235
+ "docupipe_standard": 1.0,
236
+ "extend": 1.0,
237
+ "gemini": 1.0,
238
+ "gpt": 0.7671232876712328
239
+ },
240
+ {
241
+ "value": "pt",
242
+ "doc_count": 1,
243
+ "claude": 0.975609756097561,
244
+ "docupipe_high": 0.975609756097561,
245
+ "docupipe_standard": 1.0,
246
+ "extend": 1.0,
247
+ "gemini": 0.963855421686747,
248
+ "gpt": 0.975609756097561
249
+ },
250
+ {
251
+ "value": "zh",
252
+ "doc_count": 1,
253
+ "claude": 1.0,
254
+ "docupipe_high": 1.0,
255
+ "docupipe_standard": 1.0,
256
+ "extend": 1.0,
257
+ "gemini": 1.0,
258
+ "gpt": 1.0
259
+ }
260
+ ],
261
+ "capability": [
262
+ {
263
+ "flag": "arrays",
264
+ "label": "Array / line-item tables",
265
+ "doc_count": 30,
266
+ "claude": 0.9255469654175632,
267
+ "docupipe_high": 0.9741039999589943,
268
+ "docupipe_standard": 0.9681002382914663,
269
+ "extend": 0.9197635449019044,
270
+ "gemini": 0.9674512998652756,
271
+ "gpt": 0.9512925774582951
272
+ },
273
+ {
274
+ "flag": "reconcile",
275
+ "label": "Totals must reconcile",
276
+ "doc_count": 24,
277
+ "claude": 0.8686383624995253,
278
+ "docupipe_high": 0.9688657330677747,
279
+ "docupipe_standard": 0.9640066497323109,
280
+ "extend": 0.8820327952558755,
281
+ "gemini": 0.9417706230976313,
282
+ "gpt": 0.9346429281028046
283
+ },
284
+ {
285
+ "flag": "rtl",
286
+ "label": "Right-to-left script",
287
+ "doc_count": 7,
288
+ "claude": 0.8195039529948344,
289
+ "docupipe_high": 0.9072228955166357,
290
+ "docupipe_standard": 0.9038950883982623,
291
+ "extend": 0.760656158997154,
292
+ "gemini": 0.8807403350640595,
293
+ "gpt": 0.8610967375328389
294
+ },
295
+ {
296
+ "flag": "cjk",
297
+ "label": "CJK script",
298
+ "doc_count": 3,
299
+ "claude": 0.9228877722812352,
300
+ "docupipe_high": 0.9911571384350323,
301
+ "docupipe_standard": 0.9946700507614213,
302
+ "extend": 0.9357279198261995,
303
+ "gemini": 0.9595794802046124,
304
+ "gpt": 0.957887432827286
305
+ },
306
+ {
307
+ "flag": "handwriting",
308
+ "label": "Handwriting",
309
+ "doc_count": 1,
310
+ "claude": 0.9775280898876404,
311
+ "docupipe_high": 1.0,
312
+ "docupipe_standard": 0.9778491171749598,
313
+ "extend": 0.9775280898876404,
314
+ "gemini": 0.9887640449438202,
315
+ "gpt": 0.7857142857142856
316
+ },
317
+ {
318
+ "flag": "rotated",
319
+ "label": "Rotated scan",
320
+ "doc_count": 2,
321
+ "claude": 0.9827874331550802,
322
+ "docupipe_high": 1.0,
323
+ "docupipe_standard": 0.9285714285714286,
324
+ "extend": 0.9761904761904762,
325
+ "gemini": 0.9634692513368983,
326
+ "gpt": 0.8579251018589253
327
+ },
328
+ {
329
+ "flag": "needle",
330
+ "label": "Needle-in-haystack lookup",
331
+ "doc_count": 2,
332
+ "claude": 0.95,
333
+ "docupipe_high": 1.0,
334
+ "docupipe_standard": 0.9928571428571429,
335
+ "extend": 0.7698412698412698,
336
+ "gemini": 1.0,
337
+ "gpt": 0.9928571428571429
338
+ },
339
+ {
340
+ "flag": "nested",
341
+ "label": "Nested objects",
342
+ "doc_count": 1,
343
+ "claude": 0.9807692307692307,
344
+ "docupipe_high": 1.0,
345
+ "docupipe_standard": 1.0,
346
+ "extend": 0.9807692307692307,
347
+ "gemini": 1.0,
348
+ "gpt": 0.9807692307692307
349
+ }
350
+ ]
351
+ },
352
+ "documents": [
353
+ {
354
+ "doc_id": "1ZVqiyJZ",
355
+ "name": "DC DISB Homeowners Declarations",
356
+ "lang": "en",
357
+ "ftype": "pdf",
358
+ "pages": 1,
359
+ "feature": "coverage limits array + policy fields",
360
+ "license": "DC gov sample (fictional names)",
361
+ "source_url": "https://disb.dc.gov/sites/default/files/dc/sites/disb/publication/attachments/Declaration%20Page%20Sample%20Homeowners%2012.pdf",
362
+ "flags": {
363
+ "arrays": true,
364
+ "reconcile": false,
365
+ "rtl": false,
366
+ "cjk": false,
367
+ "handwriting": false,
368
+ "rotated": false,
369
+ "needle": false,
370
+ "nested": false
371
+ },
372
+ "scores": {
373
+ "claude": 1.0,
374
+ "docupipe_high": 1.0,
375
+ "docupipe_standard": 1.0,
376
+ "extend": 1.0,
377
+ "gemini": 1.0,
378
+ "gpt": 1.0
379
+ }
380
+ },
381
+ {
382
+ "doc_id": "45xidifn",
383
+ "name": "Hitachi Japanese Statement",
384
+ "lang": "ja",
385
+ "ftype": "pdf",
386
+ "pages": 1,
387
+ "feature": "Japanese; 32 trip rows + 12 subtotals, grand total reconciles",
388
+ "license": "vendor product sample template",
389
+ "source_url": "https://www.hitachi.co.jp/Prod/comp/soft1/pde/info/concept/pdf/sample3_b.pdf",
390
+ "flags": {
391
+ "arrays": false,
392
+ "reconcile": true,
393
+ "rtl": false,
394
+ "cjk": true,
395
+ "handwriting": false,
396
+ "rotated": false,
397
+ "needle": false,
398
+ "nested": false
399
+ },
400
+ "scores": {
401
+ "claude": 0.8029272762345684,
402
+ "docupipe_high": 0.9894612630208334,
403
+ "docupipe_standard": 1.0,
404
+ "extend": 0.9000771604938274,
405
+ "gemini": 0.9028501157407409,
406
+ "gpt": 0.9028501157407409
407
+ }
408
+ },
409
+ {
410
+ "doc_id": "4kVtTRoL",
411
+ "name": "Moneck Merchant Statement",
412
+ "lang": "en",
413
+ "ftype": "pdf",
414
+ "pages": 5,
415
+ "feature": "merchant card statement; deposits/fees/chargebacks arrays",
416
+ "license": "(c) Moneck, hosted sample",
417
+ "source_url": "https://moneck.com/uploads/samples/Merchant-Statement-Example-Format.pdf",
418
+ "flags": {
419
+ "arrays": true,
420
+ "reconcile": false,
421
+ "rtl": false,
422
+ "cjk": false,
423
+ "handwriting": false,
424
+ "rotated": false,
425
+ "needle": false,
426
+ "nested": false
427
+ },
428
+ "scores": {
429
+ "claude": 0.9214285714285714,
430
+ "docupipe_high": 0.9976190476190476,
431
+ "docupipe_standard": 1.0,
432
+ "extend": 0.9976190476190476,
433
+ "gemini": 0.919047619047619,
434
+ "gpt": 0.8666666666666667
435
+ }
436
+ },
437
+ {
438
+ "doc_id": "5YJaBbNg",
439
+ "name": "Portuguese Balanco e Demonstracao de Resultados (excerpt)",
440
+ "lang": "pt",
441
+ "ftype": "pdf",
442
+ "pages": 2,
443
+ "feature": "balance-sheet + income-statement arrays reconcile",
444
+ "license": "published corporate annual report",
445
+ "source_url": "https://www.balbino-faustino.pt/uploads/base/ficheiros/Relatorio_e_Contas_2023.pdf",
446
+ "flags": {
447
+ "arrays": true,
448
+ "reconcile": true,
449
+ "rtl": false,
450
+ "cjk": false,
451
+ "handwriting": false,
452
+ "rotated": false,
453
+ "needle": false,
454
+ "nested": false
455
+ },
456
+ "scores": {
457
+ "claude": 0.975609756097561,
458
+ "docupipe_high": 0.975609756097561,
459
+ "docupipe_standard": 1.0,
460
+ "extend": 1.0,
461
+ "gemini": 0.963855421686747,
462
+ "gpt": 0.975609756097561
463
+ }
464
+ },
465
+ {
466
+ "doc_id": "5ukZftw0",
467
+ "name": "Financial Sample Spreadsheet (trimmed 30 rows)",
468
+ "lang": "en",
469
+ "ftype": "xlsx",
470
+ "pages": 1,
471
+ "feature": "30-row table, computed columns reconcile per row",
472
+ "license": "Microsoft sample-data terms (copy/use permitted)",
473
+ "source_url": "https://learn.microsoft.com/en-us/power-bi/create-reports/sample-financial-download",
474
+ "flags": {
475
+ "arrays": false,
476
+ "reconcile": true,
477
+ "rtl": false,
478
+ "cjk": false,
479
+ "handwriting": false,
480
+ "rotated": false,
481
+ "needle": false,
482
+ "nested": false
483
+ },
484
+ "scores": {
485
+ "claude": 0.0,
486
+ "docupipe_high": 0.9661016949152542,
487
+ "docupipe_standard": 0.9661016949152542,
488
+ "extend": 0.9491525423728815,
489
+ "gemini": 0.6610169491525423,
490
+ "gpt": 1.0
491
+ }
492
+ },
493
+ {
494
+ "doc_id": "62PhJTyf",
495
+ "name": "Dutch Jaarrekening Balans+Winst-en-verliesrekening (excerpt)",
496
+ "lang": "nl",
497
+ "ftype": "pdf",
498
+ "pages": 3,
499
+ "feature": "balance-sheet + income-statement arrays, totaal activa=passiva",
500
+ "license": "publicly posted sample (fictional company)",
501
+ "source_url": "https://cournot.nl/wp-content/uploads/2018/03/voorbeeld-jaarrekening.pdf",
502
+ "flags": {
503
+ "arrays": true,
504
+ "reconcile": false,
505
+ "rtl": false,
506
+ "cjk": false,
507
+ "handwriting": false,
508
+ "rotated": false,
509
+ "needle": false,
510
+ "nested": false
511
+ },
512
+ "scores": {
513
+ "claude": 1.0,
514
+ "docupipe_high": 1.0,
515
+ "docupipe_standard": 1.0,
516
+ "extend": 1.0,
517
+ "gemini": 1.0,
518
+ "gpt": 0.7671232876712328
519
+ }
520
+ },
521
+ {
522
+ "doc_id": "7ZhgzAzp",
523
+ "name": "Ethiopian Air Waybill (rotated 90, TIFF)",
524
+ "lang": "en",
525
+ "ftype": "tiff",
526
+ "pages": 1,
527
+ "feature": "rotation-robustness; same fields as upright AWB",
528
+ "license": "derived (90deg rotation) from doc #42",
529
+ "source_url": "https://www.againstmalaria.com/images/00/00/775.pdf",
530
+ "flags": {
531
+ "arrays": false,
532
+ "reconcile": false,
533
+ "rtl": false,
534
+ "cjk": false,
535
+ "handwriting": false,
536
+ "rotated": true,
537
+ "needle": false,
538
+ "nested": false
539
+ },
540
+ "scores": {
541
+ "claude": 1.0,
542
+ "docupipe_high": 1.0,
543
+ "docupipe_standard": 0.8571428571428571,
544
+ "extend": 0.9523809523809523,
545
+ "gemini": 0.95,
546
+ "gpt": 0.9523809523809523
547
+ }
548
+ },
549
+ {
550
+ "doc_id": "97uZroyv",
551
+ "name": "Hyperfine Schedule Sheet (sliced from 16p)",
552
+ "lang": "en",
553
+ "ftype": "pdf",
554
+ "pages": 1,
555
+ "feature": "architectural door/room/window schedules; sparse blanks -> null",
556
+ "license": "(c) Hyperfine Architecture (publicly downloadable)",
557
+ "source_url": "https://hyperfinearchitecture.com/wp-content/uploads/2018/06/HFC_01_Plan-Set.pdf",
558
+ "flags": {
559
+ "arrays": false,
560
+ "reconcile": false,
561
+ "rtl": false,
562
+ "cjk": false,
563
+ "handwriting": false,
564
+ "rotated": false,
565
+ "needle": false,
566
+ "nested": false
567
+ },
568
+ "scores": {
569
+ "claude": 0.9620853080568721,
570
+ "docupipe_high": 1.0,
571
+ "docupipe_standard": 1.0,
572
+ "extend": 1.0,
573
+ "gemini": 1.0,
574
+ "gpt": 0.9620853080568721
575
+ }
576
+ },
577
+ {
578
+ "doc_id": "B0nA2c30",
579
+ "name": "Five Guys Receipt (rotated 180, PNG)",
580
+ "lang": "en",
581
+ "ftype": "png",
582
+ "pages": 1,
583
+ "feature": "rotation-robustness; same fields as upright receipt",
584
+ "license": "derived (180deg rotation) from doc #27 (MIT)",
585
+ "source_url": "https://expressexpense.com/blog/free-receipt-images-ocr-machine-learning-dataset/",
586
+ "flags": {
587
+ "arrays": false,
588
+ "reconcile": false,
589
+ "rtl": false,
590
+ "cjk": false,
591
+ "handwriting": false,
592
+ "rotated": true,
593
+ "needle": false,
594
+ "nested": false
595
+ },
596
+ "scores": {
597
+ "claude": 0.9655748663101604,
598
+ "docupipe_high": 1.0,
599
+ "docupipe_standard": 1.0,
600
+ "extend": 1.0,
601
+ "gemini": 0.9769385026737968,
602
+ "gpt": 0.7634692513368985
603
+ }
604
+ },
605
+ {
606
+ "doc_id": "BnftpXVQ",
607
+ "name": "SEC EDGAR FedEx Credit Agreement (excerpt)",
608
+ "lang": "en",
609
+ "ftype": "pdf",
610
+ "pages": 2,
611
+ "feature": "22-lender commitment array sums to $1.5B",
612
+ "license": "SEC EDGAR (US gov, public domain)",
613
+ "source_url": "https://www.sec.gov/Archives/edgar/data/1048911/000156459019025065/d817656dex10207.htm",
614
+ "flags": {
615
+ "arrays": true,
616
+ "reconcile": true,
617
+ "rtl": false,
618
+ "cjk": false,
619
+ "handwriting": false,
620
+ "rotated": false,
621
+ "needle": false,
622
+ "nested": false
623
+ },
624
+ "scores": {
625
+ "claude": 1.0,
626
+ "docupipe_high": 1.0,
627
+ "docupipe_standard": 1.0,
628
+ "extend": 1.0,
629
+ "gemini": 1.0,
630
+ "gpt": 1.0
631
+ }
632
+ },
633
+ {
634
+ "doc_id": "C7fe2lau",
635
+ "name": "Peppol UBL E-Invoice",
636
+ "lang": "en",
637
+ "ftype": "xml",
638
+ "pages": 1,
639
+ "feature": "UBL XML; 3 invoice lines + tax/monetary totals reconcile",
640
+ "license": "OpenPEPPOL repo, Apache-2.0",
641
+ "source_url": "https://github.com/OpenPEPPOL/peppol-bis-invoice-3/blob/master/rules/examples/base-example.xml",
642
+ "flags": {
643
+ "arrays": false,
644
+ "reconcile": true,
645
+ "rtl": false,
646
+ "cjk": false,
647
+ "handwriting": false,
648
+ "rotated": false,
649
+ "needle": false,
650
+ "nested": false
651
+ },
652
+ "scores": {
653
+ "claude": 1.0,
654
+ "docupipe_high": 1.0,
655
+ "docupipe_standard": 1.0,
656
+ "extend": 1.0,
657
+ "gemini": 1.0,
658
+ "gpt": 1.0
659
+ }
660
+ },
661
+ {
662
+ "doc_id": "DtfW60lS",
663
+ "name": "Spanish Iberdrola Factura Electricidad",
664
+ "lang": "es",
665
+ "ftype": "pdf",
666
+ "pages": 4,
667
+ "feature": "facturacion charge array reconciles to Total a pagar",
668
+ "license": "real electricity invoice posted publicly",
669
+ "source_url": "https://www.iberdrola.es",
670
+ "flags": {
671
+ "arrays": true,
672
+ "reconcile": true,
673
+ "rtl": false,
674
+ "cjk": false,
675
+ "handwriting": false,
676
+ "rotated": false,
677
+ "needle": false,
678
+ "nested": false
679
+ },
680
+ "scores": {
681
+ "claude": 1.0,
682
+ "docupipe_high": 1.0,
683
+ "docupipe_standard": 1.0,
684
+ "extend": 1.0,
685
+ "gemini": 1.0,
686
+ "gpt": 1.0
687
+ }
688
+ },
689
+ {
690
+ "doc_id": "ENoM9faK",
691
+ "name": "NASA Mechanical Drawing (sliced from 128p)",
692
+ "lang": "en",
693
+ "ftype": "pdf",
694
+ "pages": 1,
695
+ "feature": "engineering drawing; 15-row list-of-material array",
696
+ "license": "NASA (US gov work, public domain, 17 USC 105)",
697
+ "source_url": "https://s3vi.ndc.nasa.gov/ssri-kb/static/resources/NASA%20GSFC-X-673-64-1F.pdf",
698
+ "flags": {
699
+ "arrays": true,
700
+ "reconcile": false,
701
+ "rtl": false,
702
+ "cjk": false,
703
+ "handwriting": false,
704
+ "rotated": false,
705
+ "needle": false,
706
+ "nested": false
707
+ },
708
+ "scores": {
709
+ "claude": 0.8635820895522388,
710
+ "docupipe_high": 0.9476923076923077,
711
+ "docupipe_standard": 0.804,
712
+ "extend": 0.7953846153846155,
713
+ "gemini": 1.0,
714
+ "gpt": 0.8447761194029851
715
+ }
716
+ },
717
+ {
718
+ "doc_id": "Eet2wW3x",
719
+ "name": "FRESA Arabic Tax Invoice",
720
+ "lang": "ar",
721
+ "ftype": "pdf",
722
+ "pages": 1,
723
+ "feature": "Arabic RTL; 4-row charge array + VAT, grand total reconciles",
724
+ "license": "vendor sample report format (publicly posted)",
725
+ "source_url": "https://fresatechnologies.com/wp-content/uploads/report-formats/invoice-report-format-8-standard-invoice-arabic.pdf",
726
+ "flags": {
727
+ "arrays": true,
728
+ "reconcile": true,
729
+ "rtl": true,
730
+ "cjk": false,
731
+ "handwriting": false,
732
+ "rotated": false,
733
+ "needle": false,
734
+ "nested": false
735
+ },
736
+ "scores": {
737
+ "claude": 1.0,
738
+ "docupipe_high": 0.9836065573770492,
739
+ "docupipe_standard": 0.9836065573770492,
740
+ "extend": 0.9836065573770492,
741
+ "gemini": 0.9836065573770492,
742
+ "gpt": 1.0
743
+ }
744
+ },
745
+ {
746
+ "doc_id": "FiFgt4a6",
747
+ "name": "Ethiopian Air Waybill",
748
+ "lang": "en",
749
+ "ftype": "pdf",
750
+ "pages": 1,
751
+ "feature": "air waybill fields (charges blank on form)",
752
+ "license": "public shipment AWB posting",
753
+ "source_url": "https://www.againstmalaria.com/images/00/00/775.pdf",
754
+ "flags": {
755
+ "arrays": false,
756
+ "reconcile": false,
757
+ "rtl": false,
758
+ "cjk": false,
759
+ "handwriting": false,
760
+ "rotated": false,
761
+ "needle": false,
762
+ "nested": false
763
+ },
764
+ "scores": {
765
+ "claude": 0.8571428571428571,
766
+ "docupipe_high": 1.0,
767
+ "docupipe_standard": 0.7619047619047619,
768
+ "extend": 1.0,
769
+ "gemini": 1.0,
770
+ "gpt": 1.0
771
+ }
772
+ },
773
+ {
774
+ "doc_id": "GW7i2xbM",
775
+ "name": "FL Homeowners Declarations",
776
+ "lang": "en",
777
+ "ftype": "pdf",
778
+ "pages": 1,
779
+ "feature": "insurance; A-F coverages, premium split as-printed",
780
+ "license": "Florida state gov consumer-guide sample",
781
+ "source_url": "https://myfloridacfo.com/docs-sf/consumer-services-libraries/consumerservices-documents/understanding-coverage/sample-declarations-page.pdf",
782
+ "flags": {
783
+ "arrays": false,
784
+ "reconcile": false,
785
+ "rtl": false,
786
+ "cjk": false,
787
+ "handwriting": false,
788
+ "rotated": false,
789
+ "needle": false,
790
+ "nested": false
791
+ },
792
+ "scores": {
793
+ "claude": 0.9354838709677419,
794
+ "docupipe_high": 1.0,
795
+ "docupipe_standard": 1.0,
796
+ "extend": 0.9117647058823529,
797
+ "gemini": 0.9354838709677419,
798
+ "gpt": 0.9354838709677419
799
+ }
800
+ },
801
+ {
802
+ "doc_id": "IPm0MkgQ",
803
+ "name": "Carson Bank Sample Statement",
804
+ "lang": "en",
805
+ "ftype": "pdf",
806
+ "pages": 6,
807
+ "feature": "transaction array, cross-page straddle",
808
+ "license": "vendor sample (dummy data)",
809
+ "source_url": "https://www.carsonbank.com/wp-content/uploads/2021/01/Sample-Statement.pdf",
810
+ "flags": {
811
+ "arrays": true,
812
+ "reconcile": false,
813
+ "rtl": false,
814
+ "cjk": false,
815
+ "handwriting": false,
816
+ "rotated": false,
817
+ "needle": false,
818
+ "nested": false
819
+ },
820
+ "scores": {
821
+ "claude": 1.0,
822
+ "docupipe_high": 1.0,
823
+ "docupipe_standard": 1.0,
824
+ "extend": 1.0,
825
+ "gemini": 1.0,
826
+ "gpt": 1.0
827
+ }
828
+ },
829
+ {
830
+ "doc_id": "J6buHXQ4",
831
+ "name": "Majdal Shams Municipal Financials",
832
+ "lang": "he",
833
+ "ftype": "pdf",
834
+ "pages": 13,
835
+ "feature": "Hebrew; balance-sheet + budget receipts/payments arrays",
836
+ "license": "municipal government publication",
837
+ "source_url": "https://majdal.muni.gov.il/media/xnahdrcu/kasbi2023.pdf",
838
+ "flags": {
839
+ "arrays": true,
840
+ "reconcile": false,
841
+ "rtl": true,
842
+ "cjk": false,
843
+ "handwriting": false,
844
+ "rotated": false,
845
+ "needle": false,
846
+ "nested": false
847
+ },
848
+ "scores": {
849
+ "claude": 0.929443359375,
850
+ "docupipe_high": 0.9546126471393375,
851
+ "docupipe_standard": 0.951444018614837,
852
+ "extend": 0.6278760656338802,
853
+ "gemini": 0.9029755507791509,
854
+ "gpt": 0.9250718578521033
855
+ }
856
+ },
857
+ {
858
+ "doc_id": "KpewWz3R",
859
+ "name": "FHA 1004 Appraisal (sliced from 21p)",
860
+ "lang": "en",
861
+ "ftype": "pdf",
862
+ "pages": 7,
863
+ "feature": "real estate; 5-comp sales-comparison array reconciles",
864
+ "license": "(c) Piekos / a la mode form (publicly hosted)",
865
+ "source_url": "http://www.piekos.com/xSites/Appraisers/piekos/Content/UploadedFiles/FHA_1004_DEMO.pdf",
866
+ "flags": {
867
+ "arrays": true,
868
+ "reconcile": true,
869
+ "rtl": false,
870
+ "cjk": false,
871
+ "handwriting": false,
872
+ "rotated": false,
873
+ "needle": false,
874
+ "nested": false
875
+ },
876
+ "scores": {
877
+ "claude": 0.9620000000000001,
878
+ "docupipe_high": 0.9861818181818183,
879
+ "docupipe_standard": 0.9620000000000001,
880
+ "extend": 0.9493333333333331,
881
+ "gemini": 0.9620000000000001,
882
+ "gpt": 0.8853333333333334
883
+ }
884
+ },
885
+ {
886
+ "doc_id": "LYeb3G3s",
887
+ "name": "Labsmart CBC Lab Report",
888
+ "lang": "en",
889
+ "ftype": "pdf",
890
+ "pages": 2,
891
+ "feature": "13-analyte results array, nested patient",
892
+ "license": "LIS-vendor sample template (de-identified)",
893
+ "source_url": "https://www.labsmartlis.com/pdf/pathology/cbc-report-format.pdf",
894
+ "flags": {
895
+ "arrays": true,
896
+ "reconcile": false,
897
+ "rtl": false,
898
+ "cjk": false,
899
+ "handwriting": false,
900
+ "rotated": false,
901
+ "needle": false,
902
+ "nested": true
903
+ },
904
+ "scores": {
905
+ "claude": 0.9807692307692307,
906
+ "docupipe_high": 1.0,
907
+ "docupipe_standard": 1.0,
908
+ "extend": 0.9807692307692307,
909
+ "gemini": 1.0,
910
+ "gpt": 0.9807692307692307
911
+ }
912
+ },
913
+ {
914
+ "doc_id": "M66HZlWT",
915
+ "name": "Chang Gung Chinese Medical Receipt",
916
+ "lang": "zh",
917
+ "ftype": "jpeg",
918
+ "pages": 1,
919
+ "feature": "Chinese; self-pay + NHI-point fields, both reconcile",
920
+ "license": "Wikimedia Commons, CC BY-SA 4.0",
921
+ "source_url": "https://commons.wikimedia.org/wiki/File:Chang_Gung_Memorial_Hospital_medical_expenditure_receipt_20160224_face.jpg",
922
+ "flags": {
923
+ "arrays": false,
924
+ "reconcile": true,
925
+ "rtl": false,
926
+ "cjk": true,
927
+ "handwriting": false,
928
+ "rotated": false,
929
+ "needle": false,
930
+ "nested": false
931
+ },
932
+ "scores": {
933
+ "claude": 1.0,
934
+ "docupipe_high": 1.0,
935
+ "docupipe_standard": 1.0,
936
+ "extend": 1.0,
937
+ "gemini": 1.0,
938
+ "gpt": 1.0
939
+ }
940
+ },
941
+ {
942
+ "doc_id": "NNaGgwE5",
943
+ "name": "NRCS Pedon Handwritten Form",
944
+ "lang": "en",
945
+ "ftype": "pdf",
946
+ "pages": 2,
947
+ "feature": "handwriting; 10 soil-horizon rows, Munsell colors",
948
+ "license": "USDA-NRCS (US gov, public domain); UVM mirror",
949
+ "source_url": "https://www.uvm.edu/femc/attachments/project/161/Field_Book_for_Describing_and_Sampling_Soils.pdf",
950
+ "flags": {
951
+ "arrays": false,
952
+ "reconcile": false,
953
+ "rtl": false,
954
+ "cjk": false,
955
+ "handwriting": true,
956
+ "rotated": false,
957
+ "needle": false,
958
+ "nested": false
959
+ },
960
+ "scores": {
961
+ "claude": 0.9775280898876404,
962
+ "docupipe_high": 1.0,
963
+ "docupipe_standard": 0.9778491171749598,
964
+ "extend": 0.9775280898876404,
965
+ "gemini": 0.9887640449438202,
966
+ "gpt": 0.7857142857142856
967
+ }
968
+ },
969
+ {
970
+ "doc_id": "NlWTPen5",
971
+ "name": "PPL Electric Two Bill Example",
972
+ "lang": "en",
973
+ "ftype": "pdf",
974
+ "pages": 3,
975
+ "feature": "delivery charge array, usage + demand",
976
+ "license": "utility reference sample",
977
+ "source_url": "https://www.pplelectric.com/-/media/PPLElectric/At-Your-Service/Docs/General-Supplier-Reference-Information/Two-Bill-Example.pdf",
978
+ "flags": {
979
+ "arrays": true,
980
+ "reconcile": false,
981
+ "rtl": false,
982
+ "cjk": false,
983
+ "handwriting": false,
984
+ "rotated": false,
985
+ "needle": false,
986
+ "nested": false
987
+ },
988
+ "scores": {
989
+ "claude": 1.0,
990
+ "docupipe_high": 1.0,
991
+ "docupipe_standard": 1.0,
992
+ "extend": 1.0,
993
+ "gemini": 1.0,
994
+ "gpt": 1.0
995
+ }
996
+ },
997
+ {
998
+ "doc_id": "OayFbGlG",
999
+ "name": "Optum Discharge Summary",
1000
+ "lang": "en",
1001
+ "ftype": "pdf",
1002
+ "pages": 2,
1003
+ "feature": "healthcare; diagnoses array, empty-meds case",
1004
+ "license": "(c) Optum, sample note",
1005
+ "source_url": "https://www.optumhealthsandiego.com/content/dam/san-diego/documents/ffsproviders/review-inpatient/Inpatient%20Note%20Example.pdf",
1006
+ "flags": {
1007
+ "arrays": true,
1008
+ "reconcile": false,
1009
+ "rtl": false,
1010
+ "cjk": false,
1011
+ "handwriting": false,
1012
+ "rotated": false,
1013
+ "needle": false,
1014
+ "nested": false
1015
+ },
1016
+ "scores": {
1017
+ "claude": 1.0,
1018
+ "docupipe_high": 1.0,
1019
+ "docupipe_standard": 0.9444444444444444,
1020
+ "extend": 1.0,
1021
+ "gemini": 1.0,
1022
+ "gpt": 1.0
1023
+ }
1024
+ },
1025
+ {
1026
+ "doc_id": "Oe7iRM1G",
1027
+ "name": "Sage French Bulletin de Paie (payslip)",
1028
+ "lang": "fr",
1029
+ "ftype": "pdf",
1030
+ "pages": 1,
1031
+ "feature": "18-row social-contributions array, gross/net reconcile",
1032
+ "license": "vendor demo payslip (fictional)",
1033
+ "source_url": "https://www.amplitude-informatique.fr/app/download/5813294897/Bulletin+clarifie+(Exemple).PDF",
1034
+ "flags": {
1035
+ "arrays": true,
1036
+ "reconcile": true,
1037
+ "rtl": false,
1038
+ "cjk": false,
1039
+ "handwriting": false,
1040
+ "rotated": false,
1041
+ "needle": false,
1042
+ "nested": false
1043
+ },
1044
+ "scores": {
1045
+ "claude": 0.8418367346938775,
1046
+ "docupipe_high": 1.0,
1047
+ "docupipe_standard": 0.9551374819102749,
1048
+ "extend": 0.8098159509202455,
1049
+ "gemini": 0.9464544138929087,
1050
+ "gpt": 1.0
1051
+ }
1052
+ },
1053
+ {
1054
+ "doc_id": "PSU5pciM",
1055
+ "name": "CPS Energy Electric Bill",
1056
+ "lang": "en",
1057
+ "ftype": "pdf",
1058
+ "pages": 2,
1059
+ "feature": "electric charge array + meter read",
1060
+ "license": "utility-published redacted sample",
1061
+ "source_url": "https://www.cpsenergy.com/content/dam/corporate/en/Documents/RAC/CustomerBills/Bill%20Sample%20-%20RA%20Rate%20-%20Non-Summer%20%20Redacted.pdf",
1062
+ "flags": {
1063
+ "arrays": true,
1064
+ "reconcile": false,
1065
+ "rtl": false,
1066
+ "cjk": false,
1067
+ "handwriting": false,
1068
+ "rotated": false,
1069
+ "needle": false,
1070
+ "nested": false
1071
+ },
1072
+ "scores": {
1073
+ "claude": 1.0,
1074
+ "docupipe_high": 1.0,
1075
+ "docupipe_standard": 1.0,
1076
+ "extend": 1.0,
1077
+ "gemini": 1.0,
1078
+ "gpt": 1.0
1079
+ }
1080
+ },
1081
+ {
1082
+ "doc_id": "PYhFptk3",
1083
+ "name": "EDI 850 Purchase Order",
1084
+ "lang": "en",
1085
+ "ftype": "txt",
1086
+ "pages": 1,
1087
+ "feature": "X12 EDI text; envelope + 6 PO1 lines, CTT count reconciles",
1088
+ "license": "vendor docs sample X12 (synthetic)",
1089
+ "source_url": "https://iwayinfocenter.informationbuilders.com/TLs/TL_soa_ebiz_edix12/source/sample_docs48.htm",
1090
+ "flags": {
1091
+ "arrays": false,
1092
+ "reconcile": true,
1093
+ "rtl": false,
1094
+ "cjk": false,
1095
+ "handwriting": false,
1096
+ "rotated": false,
1097
+ "needle": false,
1098
+ "nested": false
1099
+ },
1100
+ "scores": {
1101
+ "claude": 1.0,
1102
+ "docupipe_high": 1.0,
1103
+ "docupipe_standard": 1.0,
1104
+ "extend": 0.8888888888888888,
1105
+ "gemini": 1.0,
1106
+ "gpt": 1.0
1107
+ }
1108
+ },
1109
+ {
1110
+ "doc_id": "QxoQ6zgn",
1111
+ "name": "UICCP Packing List Carton Dimensions",
1112
+ "lang": "en",
1113
+ "ftype": "pdf",
1114
+ "pages": 1,
1115
+ "feature": "carton/packing spec table array",
1116
+ "license": "vendor spec sheet (publicly posted)",
1117
+ "source_url": "https://uiccp.com/wp-content/uploads/2014/06/Copy-of-OCM.pdf",
1118
+ "flags": {
1119
+ "arrays": true,
1120
+ "reconcile": false,
1121
+ "rtl": false,
1122
+ "cjk": false,
1123
+ "handwriting": false,
1124
+ "rotated": false,
1125
+ "needle": false,
1126
+ "nested": false
1127
+ },
1128
+ "scores": {
1129
+ "claude": 1.0,
1130
+ "docupipe_high": 1.0,
1131
+ "docupipe_standard": 1.0,
1132
+ "extend": 1.0,
1133
+ "gemini": 1.0,
1134
+ "gpt": 1.0
1135
+ }
1136
+ },
1137
+ {
1138
+ "doc_id": "SBR9L7Y8",
1139
+ "name": "Hebrew Payslip",
1140
+ "lang": "he",
1141
+ "ftype": "jpeg",
1142
+ "pages": 1,
1143
+ "feature": "Hebrew RTL; 5 payment + 6 deduction rows, gross/net reconcile",
1144
+ "license": "Wikimedia Commons, CC BY-SA 4.0",
1145
+ "source_url": "https://commons.wikimedia.org/wiki/File:%D7%AA%D7%9C%D7%95%D7%A9_%D7%A9%D7%9B%D7%A8.jpg",
1146
+ "flags": {
1147
+ "arrays": false,
1148
+ "reconcile": true,
1149
+ "rtl": true,
1150
+ "cjk": false,
1151
+ "handwriting": false,
1152
+ "rotated": false,
1153
+ "needle": false,
1154
+ "nested": false
1155
+ },
1156
+ "scores": {
1157
+ "claude": 0.4482758620689655,
1158
+ "docupipe_high": 1.0,
1159
+ "docupipe_standard": 1.0,
1160
+ "extend": 0.4482758620689655,
1161
+ "gemini": 0.9310344827586207,
1162
+ "gpt": 0.8620689655172413
1163
+ }
1164
+ },
1165
+ {
1166
+ "doc_id": "SkD8Lz8o",
1167
+ "name": "SEC EDGAR Precision Lease 4th Amendment (excerpt)",
1168
+ "lang": "en",
1169
+ "ftype": "pdf",
1170
+ "pages": 3,
1171
+ "feature": "transposed multi-period rent schedule -> flat array",
1172
+ "license": "SEC EDGAR (US gov, public domain)",
1173
+ "source_url": "https://www.sec.gov/Archives/edgar/data/1357874/000095017024036817/dtil-ex10_12.htm",
1174
+ "flags": {
1175
+ "arrays": true,
1176
+ "reconcile": false,
1177
+ "rtl": false,
1178
+ "cjk": false,
1179
+ "handwriting": false,
1180
+ "rotated": false,
1181
+ "needle": false,
1182
+ "nested": false
1183
+ },
1184
+ "scores": {
1185
+ "claude": 1.0,
1186
+ "docupipe_high": 1.0,
1187
+ "docupipe_standard": 1.0,
1188
+ "extend": 1.0,
1189
+ "gemini": 1.0,
1190
+ "gpt": 0.8857142857142857
1191
+ }
1192
+ },
1193
+ {
1194
+ "doc_id": "UnG6cLfP",
1195
+ "name": "Samson Oil & Gas Check Stub",
1196
+ "lang": "en",
1197
+ "ftype": "pdf",
1198
+ "pages": 2,
1199
+ "feature": "oil&gas revenue lines, per-line deductions, gross/net reconcile",
1200
+ "license": "vendor sample (publicly posted)",
1201
+ "source_url": "https://www.samsonco.com/images/Owner-RelationsPage-DetailedExplanationofCheckStub.pdf",
1202
+ "flags": {
1203
+ "arrays": false,
1204
+ "reconcile": true,
1205
+ "rtl": false,
1206
+ "cjk": false,
1207
+ "handwriting": false,
1208
+ "rotated": false,
1209
+ "needle": false,
1210
+ "nested": false
1211
+ },
1212
+ "scores": {
1213
+ "claude": 1.0,
1214
+ "docupipe_high": 1.0,
1215
+ "docupipe_standard": 1.0,
1216
+ "extend": 0.9131313131313131,
1217
+ "gemini": 0.9393939393939394,
1218
+ "gpt": 0.9696969696969697
1219
+ }
1220
+ },
1221
+ {
1222
+ "doc_id": "WnxX1Buq",
1223
+ "name": "PG&E Solar NEM Statement",
1224
+ "lang": "en",
1225
+ "ftype": "pdf",
1226
+ "pages": 4,
1227
+ "feature": "energy NEM; charge-line + NEM-credit arrays reconcile",
1228
+ "license": "utility published sample (fictitious data)",
1229
+ "source_url": "https://www.pge.com/assets/pge/docs/account/billing-and-assistance/nem-monthly-transition-bill-base-services-charge.pdf",
1230
+ "flags": {
1231
+ "arrays": true,
1232
+ "reconcile": true,
1233
+ "rtl": false,
1234
+ "cjk": false,
1235
+ "handwriting": false,
1236
+ "rotated": false,
1237
+ "needle": false,
1238
+ "nested": false
1239
+ },
1240
+ "scores": {
1241
+ "claude": 1.0,
1242
+ "docupipe_high": 1.0,
1243
+ "docupipe_standard": 1.0,
1244
+ "extend": 0.8484848484848485,
1245
+ "gemini": 1.0,
1246
+ "gpt": 0.975
1247
+ }
1248
+ },
1249
+ {
1250
+ "doc_id": "WxP8Tqgf",
1251
+ "name": "Italian Busta Paga (payslip)",
1252
+ "lang": "it",
1253
+ "ftype": "pdf",
1254
+ "pages": 1,
1255
+ "feature": "VOCE/competenze pay-line array, gross/net reconcile",
1256
+ "license": "university-hosted example payslip",
1257
+ "source_url": "https://www.unife.it",
1258
+ "flags": {
1259
+ "arrays": true,
1260
+ "reconcile": true,
1261
+ "rtl": false,
1262
+ "cjk": false,
1263
+ "handwriting": false,
1264
+ "rotated": false,
1265
+ "needle": false,
1266
+ "nested": false
1267
+ },
1268
+ "scores": {
1269
+ "claude": 1.0,
1270
+ "docupipe_high": 0.9735054347826086,
1271
+ "docupipe_standard": 0.9735054347826086,
1272
+ "extend": 0.9429347826086957,
1273
+ "gemini": 0.951766304347826,
1274
+ "gpt": 0.9646739130434783
1275
+ }
1276
+ },
1277
+ {
1278
+ "doc_id": "XhJyv5mb",
1279
+ "name": "German DEG Jahresabschluss Bilanz+GuV (excerpt)",
1280
+ "lang": "de",
1281
+ "ftype": "pdf",
1282
+ "pages": 2,
1283
+ "feature": "balance-sheet + income-statement arrays, Aktiva=Passiva",
1284
+ "license": "published corporate annual report",
1285
+ "source_url": "https://www.deginvest.de/DEG-Dokumente/Download-Center/DEG_JAB_2022_DE.pdf",
1286
+ "flags": {
1287
+ "arrays": true,
1288
+ "reconcile": false,
1289
+ "rtl": false,
1290
+ "cjk": false,
1291
+ "handwriting": false,
1292
+ "rotated": false,
1293
+ "needle": false,
1294
+ "nested": false
1295
+ },
1296
+ "scores": {
1297
+ "claude": 0.991304347826087,
1298
+ "docupipe_high": 0.9826086956521739,
1299
+ "docupipe_standard": 0.9565217391304348,
1300
+ "extend": 0.7350427350427351,
1301
+ "gemini": 0.9739130434782609,
1302
+ "gpt": 0.9739130434782609
1303
+ }
1304
+ },
1305
+ {
1306
+ "doc_id": "ZN6HbuKp",
1307
+ "name": "Bank Transaction Register (CSV)",
1308
+ "lang": "en",
1309
+ "ftype": "csv",
1310
+ "pages": 1,
1311
+ "feature": "34-row register; computed summary + filtered largeDebits[] + needle",
1312
+ "license": "authored for this benchmark, CC BY 4.0",
1313
+ "source_url": "(generated by benchmark authors)",
1314
+ "flags": {
1315
+ "arrays": false,
1316
+ "reconcile": true,
1317
+ "rtl": false,
1318
+ "cjk": false,
1319
+ "handwriting": false,
1320
+ "rotated": false,
1321
+ "needle": true,
1322
+ "nested": false
1323
+ },
1324
+ "scores": {
1325
+ "claude": 0.9,
1326
+ "docupipe_high": 1.0,
1327
+ "docupipe_standard": 0.9857142857142858,
1328
+ "extend": 0.5396825396825397,
1329
+ "gemini": 1.0,
1330
+ "gpt": 0.9857142857142858
1331
+ }
1332
+ },
1333
+ {
1334
+ "doc_id": "ZXlksSpk",
1335
+ "name": "Getbuildingworks BOQ Summary",
1336
+ "lang": "en",
1337
+ "ftype": "pdf",
1338
+ "pages": 1,
1339
+ "feature": "25-bill summary array reconciles to grand total",
1340
+ "license": "publicly posted sample",
1341
+ "source_url": "https://getbuildingworks.com/wp-content/uploads/2018/01/Bill-of-Quantities-Work-Section.pdf",
1342
+ "flags": {
1343
+ "arrays": true,
1344
+ "reconcile": true,
1345
+ "rtl": false,
1346
+ "cjk": false,
1347
+ "handwriting": false,
1348
+ "rotated": false,
1349
+ "needle": false,
1350
+ "nested": false
1351
+ },
1352
+ "scores": {
1353
+ "claude": 1.0,
1354
+ "docupipe_high": 1.0,
1355
+ "docupipe_standard": 1.0,
1356
+ "extend": 1.0,
1357
+ "gemini": 1.0,
1358
+ "gpt": 1.0
1359
+ }
1360
+ },
1361
+ {
1362
+ "doc_id": "bjBNmyNw",
1363
+ "name": "Gordmans PO Line Items",
1364
+ "lang": "en",
1365
+ "ftype": "pdf",
1366
+ "pages": 1,
1367
+ "feature": "retail PO; 4 line items, extended-cost reconciles",
1368
+ "license": "publicly hosted vendor routing manual",
1369
+ "source_url": "https://mimage.opentext.com/alt_content/binary/businessnetwork/gordmans/gordmans-guide-12-20-19a.pdf",
1370
+ "flags": {
1371
+ "arrays": false,
1372
+ "reconcile": true,
1373
+ "rtl": false,
1374
+ "cjk": false,
1375
+ "handwriting": false,
1376
+ "rotated": false,
1377
+ "needle": false,
1378
+ "nested": false
1379
+ },
1380
+ "scores": {
1381
+ "claude": 1.0,
1382
+ "docupipe_high": 0.9523809523809523,
1383
+ "docupipe_standard": 0.9523809523809523,
1384
+ "extend": 0.9761904761904762,
1385
+ "gemini": 1.0,
1386
+ "gpt": 0.6428571428571429
1387
+ }
1388
+ },
1389
+ {
1390
+ "doc_id": "eKzY7gEA",
1391
+ "name": "Clinical Discharge Summary (HTML)",
1392
+ "lang": "en",
1393
+ "ftype": "html",
1394
+ "pages": 1,
1395
+ "feature": "clinical lists as array-of-objects",
1396
+ "license": "authored for this benchmark, CC BY 4.0",
1397
+ "source_url": "(generated by benchmark authors)",
1398
+ "flags": {
1399
+ "arrays": true,
1400
+ "reconcile": false,
1401
+ "rtl": false,
1402
+ "cjk": false,
1403
+ "handwriting": false,
1404
+ "rotated": false,
1405
+ "needle": false,
1406
+ "nested": false
1407
+ },
1408
+ "scores": {
1409
+ "claude": 1.0,
1410
+ "docupipe_high": 1.0,
1411
+ "docupipe_standard": 1.0,
1412
+ "extend": 1.0,
1413
+ "gemini": 1.0,
1414
+ "gpt": 1.0
1415
+ }
1416
+ },
1417
+ {
1418
+ "doc_id": "iTruRDrG",
1419
+ "name": "Vince Sea Waybill",
1420
+ "lang": "en",
1421
+ "ftype": "pdf",
1422
+ "pages": 2,
1423
+ "feature": "cargo array w/ HS codes, cartons/weight/cbm reconcile",
1424
+ "license": "vendor supplier-portal example",
1425
+ "source_url": "http://vincesupplierportal.vince.com/_uploads/ship/shipDocs/Seaway%20Bill%20Example.pdf",
1426
+ "flags": {
1427
+ "arrays": true,
1428
+ "reconcile": true,
1429
+ "rtl": false,
1430
+ "cjk": false,
1431
+ "handwriting": false,
1432
+ "rotated": false,
1433
+ "needle": false,
1434
+ "nested": false
1435
+ },
1436
+ "scores": {
1437
+ "claude": 0.6285714285714286,
1438
+ "docupipe_high": 0.8,
1439
+ "docupipe_standard": 0.8,
1440
+ "extend": 0.6153846153846154,
1441
+ "gemini": 1.0,
1442
+ "gpt": 0.9818181818181818
1443
+ }
1444
+ },
1445
+ {
1446
+ "doc_id": "jlKc8eVi",
1447
+ "name": "Hitachi Japanese Invoice",
1448
+ "lang": "ja",
1449
+ "ftype": "pdf",
1450
+ "pages": 1,
1451
+ "feature": "Japanese; 30-row line-item array w/ symbol product codes",
1452
+ "license": "vendor product sample template",
1453
+ "source_url": "https://www.hitachi.co.jp/Prod/comp/soft1/pde/info/concept/pdf/sample1_b.pdf",
1454
+ "flags": {
1455
+ "arrays": true,
1456
+ "reconcile": false,
1457
+ "rtl": false,
1458
+ "cjk": true,
1459
+ "handwriting": false,
1460
+ "rotated": false,
1461
+ "needle": false,
1462
+ "nested": false
1463
+ },
1464
+ "scores": {
1465
+ "claude": 0.9657360406091371,
1466
+ "docupipe_high": 0.9840101522842638,
1467
+ "docupipe_standard": 0.9840101522842638,
1468
+ "extend": 0.9071065989847712,
1469
+ "gemini": 0.9758883248730964,
1470
+ "gpt": 0.9708121827411168
1471
+ }
1472
+ },
1473
+ {
1474
+ "doc_id": "nESapyAA",
1475
+ "name": "Taub Hebrew Tax Invoice",
1476
+ "lang": "he",
1477
+ "ftype": "pdf",
1478
+ "pages": 1,
1479
+ "feature": "Hebrew RTL; line-item + payment, 18% VAT reconciles",
1480
+ "license": "vendor-generated sample invoice (posted publicly)",
1481
+ "source_url": "https://www.taubcenter.org.il/wp-content/uploads/2020/05/104880.pdf",
1482
+ "flags": {
1483
+ "arrays": false,
1484
+ "reconcile": true,
1485
+ "rtl": true,
1486
+ "cjk": false,
1487
+ "handwriting": false,
1488
+ "rotated": false,
1489
+ "needle": false,
1490
+ "nested": false
1491
+ },
1492
+ "scores": {
1493
+ "claude": 0.9090909090909091,
1494
+ "docupipe_high": 0.9545454545454546,
1495
+ "docupipe_standard": 0.9545454545454546,
1496
+ "extend": 1.0,
1497
+ "gemini": 0.9090909090909091,
1498
+ "gpt": 0.9090909090909091
1499
+ }
1500
+ },
1501
+ {
1502
+ "doc_id": "phovuuuk",
1503
+ "name": "University of Pittsburgh Filled Sample W-2",
1504
+ "lang": "en",
1505
+ "ftype": "pdf",
1506
+ "pages": 3,
1507
+ "feature": "box 12 + box 14 code arrays",
1508
+ "license": "university educational sample (no real PII)",
1509
+ "source_url": "https://www.payroll.pitt.edu/sites/default/files/assets/Sample-W2.pdf",
1510
+ "flags": {
1511
+ "arrays": true,
1512
+ "reconcile": false,
1513
+ "rtl": false,
1514
+ "cjk": false,
1515
+ "handwriting": false,
1516
+ "rotated": false,
1517
+ "needle": false,
1518
+ "nested": false
1519
+ },
1520
+ "scores": {
1521
+ "claude": 1.0,
1522
+ "docupipe_high": 1.0,
1523
+ "docupipe_standard": 1.0,
1524
+ "extend": 1.0,
1525
+ "gemini": 0.9615384615384616,
1526
+ "gpt": 1.0
1527
+ }
1528
+ },
1529
+ {
1530
+ "doc_id": "pw8elPW9",
1531
+ "name": "Hebrew Financial Statement (DOCX)",
1532
+ "lang": "he",
1533
+ "ftype": "docx",
1534
+ "pages": 1,
1535
+ "feature": "Hebrew RTL balance sheet + income statement, reconciling totals",
1536
+ "license": "authored for this benchmark, CC BY 4.0",
1537
+ "source_url": "(generated by benchmark authors)",
1538
+ "flags": {
1539
+ "arrays": false,
1540
+ "reconcile": true,
1541
+ "rtl": true,
1542
+ "cjk": false,
1543
+ "handwriting": false,
1544
+ "rotated": false,
1545
+ "needle": false,
1546
+ "nested": false
1547
+ },
1548
+ "scores": {
1549
+ "claude": 1.0,
1550
+ "docupipe_high": 1.0,
1551
+ "docupipe_standard": 1.0,
1552
+ "extend": 0.8333333333333334,
1553
+ "gemini": 0.9629629629629629,
1554
+ "gpt": 0.8333333333333334
1555
+ }
1556
+ },
1557
+ {
1558
+ "doc_id": "qQUPWQNA",
1559
+ "name": "Ramat Gan Arnona Rates 2025",
1560
+ "lang": "he",
1561
+ "ftype": "pdf",
1562
+ "pages": 5,
1563
+ "feature": "Hebrew; residential + zoned/banded property-type rate arrays",
1564
+ "license": "municipal government publication",
1565
+ "source_url": "https://cms-media.ramat-gan.muni.il/media/a33jhfld/",
1566
+ "flags": {
1567
+ "arrays": true,
1568
+ "reconcile": false,
1569
+ "rtl": true,
1570
+ "cjk": false,
1571
+ "handwriting": false,
1572
+ "rotated": false,
1573
+ "needle": false,
1574
+ "nested": false
1575
+ },
1576
+ "scores": {
1577
+ "claude": 0.7997175404289664,
1578
+ "docupipe_high": 0.7633511651101644,
1579
+ "docupipe_standard": 0.7814195882504955,
1580
+ "extend": 0.7370568501224051,
1581
+ "gemini": 0.7347711417389827,
1582
+ "gpt": 0.7481120969362851
1583
+ }
1584
+ },
1585
+ {
1586
+ "doc_id": "qoSTXgNE",
1587
+ "name": "Zionist Strategy NGO Financials",
1588
+ "lang": "he",
1589
+ "ftype": "pdf",
1590
+ "pages": 4,
1591
+ "feature": "Hebrew; 3-statement leaf line items, 3 reconciliations",
1592
+ "license": "GuideStar Israel (gov NGO registry), public filing",
1593
+ "source_url": "https://www.guidestar.org.il/organization/580429207/finances",
1594
+ "flags": {
1595
+ "arrays": false,
1596
+ "reconcile": true,
1597
+ "rtl": true,
1598
+ "cjk": false,
1599
+ "handwriting": false,
1600
+ "rotated": false,
1601
+ "needle": false,
1602
+ "nested": false
1603
+ },
1604
+ "scores": {
1605
+ "claude": 0.65,
1606
+ "docupipe_high": 0.6944444444444444,
1607
+ "docupipe_standard": 0.65625,
1608
+ "extend": 0.6944444444444444,
1609
+ "gemini": 0.7407407407407407,
1610
+ "gpt": 0.75
1611
+ }
1612
+ },
1613
+ {
1614
+ "doc_id": "tLFa76nQ",
1615
+ "name": "Fidelity Brokerage Statement (sliced from 28p)",
1616
+ "lang": "en",
1617
+ "ftype": "pdf",
1618
+ "pages": 18,
1619
+ "feature": "brokerage; 18-holding + 58-activity arrays, holdings sum reconciles",
1620
+ "license": "(c) Fidelity, published sample",
1621
+ "source_url": "https://www.fidelity.com/bin-public/060_www_fidelity_com/documents/sample-new-fidelity-acnt-stmt.pdf",
1622
+ "flags": {
1623
+ "arrays": true,
1624
+ "reconcile": true,
1625
+ "rtl": false,
1626
+ "cjk": false,
1627
+ "handwriting": false,
1628
+ "rotated": false,
1629
+ "needle": false,
1630
+ "nested": false
1631
+ },
1632
+ "scores": {
1633
+ "claude": 0.729008733231296,
1634
+ "docupipe_high": 0.9769402178806157,
1635
+ "docupipe_standard": 0.9469177319495793,
1636
+ "extend": 0.8760504374255554,
1637
+ "gemini": 0.7477221571981637,
1638
+ "gpt": 0.7933833682241328
1639
+ }
1640
+ },
1641
+ {
1642
+ "doc_id": "vBIz5dut",
1643
+ "name": "Five Guys Receipt Photo",
1644
+ "lang": "en",
1645
+ "ftype": "jpeg",
1646
+ "pages": 1,
1647
+ "feature": "photo receipt; 17-row line items w/ modifiers",
1648
+ "license": "ExpressExpense SRD dataset, MIT License",
1649
+ "source_url": "https://expressexpense.com/blog/free-receipt-images-ocr-machine-learning-dataset/",
1650
+ "flags": {
1651
+ "arrays": false,
1652
+ "reconcile": false,
1653
+ "rtl": false,
1654
+ "cjk": false,
1655
+ "handwriting": false,
1656
+ "rotated": false,
1657
+ "needle": false,
1658
+ "nested": false
1659
+ },
1660
+ "scores": {
1661
+ "claude": 0.9884692513368983,
1662
+ "docupipe_high": 1.0,
1663
+ "docupipe_standard": 1.0,
1664
+ "extend": 0.9769385026737968,
1665
+ "gemini": 0.9769385026737968,
1666
+ "gpt": 0.9772727272727273
1667
+ }
1668
+ },
1669
+ {
1670
+ "doc_id": "wVafMvAC",
1671
+ "name": "German 1976 Wage Statement",
1672
+ "lang": "de",
1673
+ "ftype": "jpeg",
1674
+ "pages": 1,
1675
+ "feature": "payslip; deduction-row array with printed trailing-minus storno (negative) amounts",
1676
+ "license": "CC BY 4.0 + GFDL 1.2+ (uploader Wolf1949, self-created); privately self-uploaded 1976 payslip, no printed personal name",
1677
+ "source_url": "https://commons.wikimedia.org/wiki/File:Entgeltabrechnung_in_einer_Versicherungsgesellschaft_1976.JPG",
1678
+ "flags": {
1679
+ "arrays": true,
1680
+ "reconcile": false,
1681
+ "rtl": false,
1682
+ "cjk": false,
1683
+ "handwriting": false,
1684
+ "rotated": false,
1685
+ "needle": false,
1686
+ "nested": false
1687
+ },
1688
+ "scores": {
1689
+ "claude": 0.17740112994350282,
1690
+ "docupipe_high": 0.8973821989528795,
1691
+ "docupipe_standard": 1.0,
1692
+ "extend": 0.7864406779661015,
1693
+ "gemini": 1.0,
1694
+ "gpt": 1.0
1695
+ }
1696
+ },
1697
+ {
1698
+ "doc_id": "yTRFKVPx",
1699
+ "name": "Smartsheet Construction Invoice",
1700
+ "lang": "en",
1701
+ "ftype": "pdf",
1702
+ "pages": 4,
1703
+ "feature": "materials/labor/misc line-item arrays, reconciling totals",
1704
+ "license": "vendor free template (publicly posted)",
1705
+ "source_url": "https://www.smartsheet.com/sites/default/files/2021-11/IC-Free-Printable-Construction-Invoice-11215_PDF.pdf",
1706
+ "flags": {
1707
+ "arrays": true,
1708
+ "reconcile": true,
1709
+ "rtl": false,
1710
+ "cjk": false,
1711
+ "handwriting": false,
1712
+ "rotated": false,
1713
+ "needle": false,
1714
+ "nested": false
1715
+ },
1716
+ "scores": {
1717
+ "claude": 1.0,
1718
+ "docupipe_high": 1.0,
1719
+ "docupipe_standard": 1.0,
1720
+ "extend": 1.0,
1721
+ "gemini": 1.0,
1722
+ "gpt": 1.0
1723
+ }
1724
+ },
1725
+ {
1726
+ "doc_id": "zKibU88u",
1727
+ "name": "Orders Export XML",
1728
+ "lang": "en",
1729
+ "ftype": "xml",
1730
+ "pages": 1,
1731
+ "feature": "200-order export; needle-extraction of one order + scattered lookups",
1732
+ "license": "authored for this benchmark, CC BY 4.0",
1733
+ "source_url": "(generated by benchmark authors)",
1734
+ "flags": {
1735
+ "arrays": false,
1736
+ "reconcile": false,
1737
+ "rtl": false,
1738
+ "cjk": false,
1739
+ "handwriting": false,
1740
+ "rotated": false,
1741
+ "needle": true,
1742
+ "nested": false
1743
+ },
1744
+ "scores": {
1745
+ "claude": 1.0,
1746
+ "docupipe_high": 1.0,
1747
+ "docupipe_standard": 1.0,
1748
+ "extend": 1.0,
1749
+ "gemini": 1.0,
1750
+ "gpt": 1.0
1751
+ }
1752
+ }
1753
+ ]
1754
+ }
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ gradio>=6.0
2
+ pandas>=2.0