|
Download README.md from docling-project/regression-dataset-for-docling-parse: direct link, hf CLI and curl.
- Browser
- Download file 2.07 kB
-
https://huggingface.co/datasets/docling-project/regression-dataset-for-docling-parse/resolve/b7ff1827ca962cd048182badb00ee093a57ad6fb/README.md
- Command line
-
hf download hf://datasets/docling-project/regression-dataset-for-docling-parse@b7ff1827ca962cd048182badb00ee093a57ad6fb/README.md
-
curl -L -o README.md https://huggingface.co/datasets/docling-project/regression-dataset-for-docling-parse/resolve/b7ff1827ca962cd048182badb00ee093a57ad6fb/README.md
2.07 kB
| license: apache-2.0 | |
| # Regression Dataset for [`docling-parse`](https://github.com/docling-project/docling-parse) | |
| This repository contains the reference dataset used as a regression test corpus for | |
| [`docling-parse`](https://github.com/docling-project/docling-parse). | |
| Its purpose is to make parser and renderer changes safe: when behavior changes in | |
| [`docling-parse`](https://github.com/docling-project/docling-parse), the test | |
| suite can compare the current output against the expected artifacts stored in this | |
| dataset. | |
| ## What this dataset is used for | |
| The dataset serves two related parts of the | |
| [`docling-parse`](https://github.com/docling-project/docling-parse) test suite: | |
| - `parse`: PDF parsing outputs are checked against stored ground-truth structures, | |
| extracted content, and document-specific regression fixtures. | |
| - `renderer`: rendering outputs are checked against stored render instructions, | |
| bitmap artifacts, and page images. | |
| Reference test code is included in this repository under | |
| `_docling_parse/_tests`, in particular: | |
| - `_docling_parse/_tests/test_parse.py` | |
| - `_docling_parse/_tests/test_renderer.py` | |
| ## Repository contents | |
| The dataset is organized into a few main groups: | |
| - `regression/`: source PDF files used for regression coverage. | |
| - `groundtruth/`: expected parse outputs for selected pages and documents. | |
| - `groundtruth_renderer/`: expected renderer outputs such as instruction JSON, | |
| bitmap metadata, exported bitmap files, and full-page images. | |
| - `cases/`, `errors/`, `synthetic/`: additional fixtures covering focused edge | |
| cases, failure scenarios, and synthetic test inputs. | |
| ## Why this exists | |
| PDF parsing and rendering are both sensitive to small implementation changes. | |
| This dataset helps detect unintended regressions in: | |
| - text extraction | |
| - layout and geometry | |
| - annotations, forms, and shapes | |
| - bitmap extraction | |
| - page rendering instructions | |
| In short, this repository is the regression baseline for both the `parse` and the | |
| `renderer` parts of [`docling-parse`](https://github.com/docling-project/docling-parse). | |