All evaluations Benchmark

DocMath-Eval

Compute from long specialized documents

What it evaluates

What is under test
model output or RAG system
How tasks are built
Reuses predecessor tasks plus long-document calculations
Size
4,000 questions: simpshort 1,000; simplong 500; compshort 1,000; complong 1,500; testmini 800 / test 3,200 (test ground truth private)
Authors
Zhao, Yilun; Long, Yitao; Liu, Hongjun; Kamoi, Ryo; Nan, Linyong; Chen, Lyuhao; Liu, Yixin; Tang, Xiangru; Zhang, Rui; Cohan, Arman
First public
2023-11-16

The task environment. DocMath-Eval has 4,000 numerical questions in four context/difficulty subsets: simpshort 1,000, simplong 500, compshort 1,000, and complong 1,500; the first three adapt predecessor datasets, while complong was newly annotated. Table 1 partitions each subset 20% testmini and 80% test, giving 800 testmini and 3,200 test questions overall. The owner README now announces public test gold, but its Hugging Face repository required access approval during this inspection; the sample below instead comes from the authors' separately public, explicitly linked testmini model-output archive.

Sample tasks

Each task is taken from the evaluation's own released material or the authors' worked examples, never written by us. The provenance under each task says exactly where it comes from.

Task 1

Sum OCI amounts for currency derivatives across years

Paraphrased from the source

What the system receives

In millions, add the effective portions of foreign-currency exchange contracts recognized in other comprehensive income in 2017 and 2018, plus the 2018 change in value of derivative contracts and other items.
Inputs and tools
The public output record omits the original paragraphs/tables and leaves source and original_question_id empty. The Hugging Face document data is gated, so a filing name, section, and context cannot be reconstructed from the reference solution.
Expected output
ground_truth = -31.0. The public reference solution adds effective_portion_2017 = -25, effective_portion_2018 = 1, and changes_in_value = -7, then returns their sum.
How this item is graded
The released PoT evaluator executes solution() and compares its value with the executed reference solution. Its compare_two_numbers accepts a 0.15% relative tolerance plus magnitude-based power-of-ten/scaling and three-decimal ceiling checks; these checks can ignore sign, so this is not strict signed numerical equality. For this archived item the provided result records execution_rate = 1 and acc = 0 for the model output.
A failure the source reports
The released GPT-4o-mini code uses 7 and -4 for the two effective-portion amounts, then adds -7. The authors' processed record reports prediction_executed_result = -4.0 and acc = 0; the reference instead uses -25 and 1 and totals -31.0. This is an archived model error, not a newly run benchmark.
Source
https://drive.google.com/file/d/1oGTk8YrzqYukvUVuFoihity_24… (author README linked Google Drive: llm_outputs/complong_testmini/processed_pot_outputs/gpt-4o-mini.json, zero-based row 0, question_id complong-testmini-0; public archive modified August 10, 2024). Raw counterpart: https://drive.google.com/file/d/1ukE2leY_J9tkw7vSm3ByRLw6ia…. https://github.com/yale-nlp/DocMath-Eval/blob/ee3a6de323644… and https://github.com/yale-nlp/DocMath-Eval/blob/ee3a6de323644… (evaluate_pot_pred_file, compare_two_numbers).
Split
other - public complong_testmini output release
Licence
The owner Hugging Face metadata declares MIT for the dataset, but no separate terms were found for this public output archive. The question and code behavior are closely paraphrased; archive licence coverage is not inferred.

How it is graded

Numeracy-aware execution/reference comparison

Metric
Accuracy by context and difficulty subset; declare subset. Released comparator accepts 0.15% relative tolerance, power-of-ten and percent/thousand scale matches, and equality after rounding up to three decimals; scale and rounding checks compare absolute values

What it cannot establish

Static length tests do not show causal use of evidence in judgments

Data and code

Data licence
MIT (Hugging Face metadata); access gated
Released artifacts
https://github.com/yale-nlp/DocMath-Evalhttps://huggingface.co/datasets/yale-nlp/DocMath-Evalhttps://drive.google.com/drive/folders/1b7m2oxgtzYispbzZylrXVWkLyeIoK… (model outputs)

Not reported: Data, Reference answers, Code, Code licence.

Sources checked: 2026-10-19. Sources for this description: https://arxiv.org/html/2311.09805v3#S3; https://github.com/yale-nlp/DocMath-Eval/blob/ee3a6de323644…; https://huggingface.co/datasets/yale-nlp/DocMath-Eval; https://drive.google.com/file/d/1oGTk8YrzqYukvUVuFoihity_24…