Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
document_id
int64
required_fields
int64
concentrated_wrong_fields
int64
spread_wrong_fields
int64
1
50
50
1
2
50
50
1
3
50
50
1
4
50
50
1
5
50
50
1
6
50
50
1
7
50
50
1
8
50
50
1
9
50
50
1
10
50
50
1
11
50
0
1
12
50
0
1
13
50
0
1
14
50
0
1
15
50
0
1
16
50
0
1
17
50
0
1
18
50
0
1
19
50
0
1
20
50
0
1
21
50
0
1
22
50
0
1
23
50
0
1
24
50
0
1
25
50
0
1
26
50
0
1
27
50
0
1
28
50
0
1
29
50
0
1
30
50
0
1
31
50
0
1
32
50
0
1
33
50
0
1
34
50
0
1
35
50
0
1
36
50
0
1
37
50
0
1
38
50
0
1
39
50
0
1
40
50
0
1
41
50
0
1
42
50
0
1
43
50
0
1
44
50
0
1
45
50
0
1
46
50
0
1
47
50
0
1
48
50
0
1
49
50
0
1
50
50
0
1
51
50
0
1
52
50
0
1
53
50
0
1
54
50
0
1
55
50
0
1
56
50
0
1
57
50
0
1
58
50
0
1
59
50
0
1
60
50
0
1
61
50
0
1
62
50
0
1
63
50
0
1
64
50
0
1
65
50
0
1
66
50
0
1
67
50
0
1
68
50
0
1
69
50
0
1
70
50
0
1
71
50
0
1
72
50
0
1
73
50
0
1
74
50
0
1
75
50
0
1
76
50
0
1
77
50
0
1
78
50
0
1
79
50
0
1
80
50
0
1
81
50
0
1
82
50
0
1
83
50
0
1
84
50
0
1
85
50
0
1
86
50
0
1
87
50
0
1
88
50
0
1
89
50
0
1
90
50
0
1
91
50
0
1
92
50
0
1
93
50
0
1
94
50
0
1
95
50
0
1
96
50
0
1
97
50
0
1
98
50
0
1
99
50
0
1
100
50
0
1
End of preview. Expand in Data Studio

Document Accuracy Aggregation Examples

Two error distributions can have the same 99% field accuracy and radically different document error rates: 1% versus 50%.

This educational dataset provides reproducible, synthetic examples for understanding document AI evaluation. It helps developers test metric aggregation and explain why field accuracy alone does not describe the proportion of complete documents that need correction.

How we calculated these results

DigiParser constructed 1,000 document records with 50 required fields per record. Each scenario has 500 incorrect fields out of 50,000, giving 99% field accuracy. The concentrated scenario puts all 500 incorrect fields in 10 documents. The spread scenario puts one incorrect field in each of 500 documents. A document is counted as having an error when at least one required field is incorrect.

These rows describe constructed error counts, not document images or extraction measurements. They demonstrate how error distribution changes aggregate document results. They do not evaluate a particular extraction system.

The second file contains 18 calculated probability scenarios. Each assumes a constant field accuracy and statistically independent errors across the required fields. Under that assumption, the probability of a completely correct document equals field accuracy multiplied by itself once for each required field. At 99% field accuracy and 100 fields, that probability is about 36.6%. Correlated errors can give different results; the constructed file shows why.

Files and schema

constructed-document-errors.csv contains 1,000 rows:

Column Meaning
document_id Synthetic identifier, 1 through 1,000
required_fields Number of scored fields in the document: 50
concentrated_wrong_fields Incorrect fields in the concentrated scenario
spread_wrong_fields Incorrect fields in the spread scenario

independent-field-model.csv contains 18 rows:

Column Meaning
required_fields Required field count: 10, 25, 50, 70, 100 or 200
field_accuracy Assumed correct-field fraction: 0.99, 0.995 or 0.999
perfect_document_probability Calculated completely correct document probability, 0 to 1
at_least_one_error_probability Complementary probability, 0 to 1

The Hub split name train is a file-loading convention. These examples are intended for metric education and checks, rather than training an extraction model.

Reproduce and check

Run python3 verify.py from this directory. It uses Python's standard library and checks all row counts, field totals, error counts and probability calculations. There is no customer data and no external API call.

Source and attribution

Original analysis published 23 September 2026. Package prepared 8 October 2026 by DigiParser.

Source: The Document AI Accuracy Trap.

The source article permits reuse of its example datasets with attribution and a link to the article. Preserve the synthetic-data description and model assumptions when reusing the results. This package retains those existing terms.

Suggested citation: DigiParser (2026), Document Accuracy Aggregation Examples, synthetic examples accompanying The Document AI Accuracy Trap.

Downloads last month
26