The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: PdfminerException
Message: No /Root object! - Is this really a PDF?
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/pdfplumber/pdf.py", line 50, in __init__
self.doc = PDFDocument(PDFParser(stream), password=password or "")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pdfminer/pdfdocument.py", line 752, in __init__
raise PDFSyntaxError("No /Root object! - Is this really a PDF?")
pdfminer.pdfparser.PDFSyntaxError: No /Root object! - Is this really a PDF?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2240, in __iter__
example = _apply_feature_types_on_example(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2159, in _apply_feature_types_on_example
decoded_example = features.decode_example(encoded_example, token_per_repo_id=token_per_repo_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 2204, in decode_example
column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1508, in decode_nested_example
return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/pdf.py", line 164, in decode_example
return pdfplumber.open(f)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pdfplumber/pdf.py", line 107, in open
return cls(
^^^^
File "/usr/local/lib/python3.12/site-packages/pdfplumber/pdf.py", line 52, in __init__
raise PdfminerException(e)
pdfplumber.utils.exceptions.PdfminerException: No /Root object! - Is this really a PDF?Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Regression Dataset for docling-parse
This repository contains the reference dataset used as a regression test corpus for
docling-parse.
Its purpose is to make parser and renderer changes safe: when behavior changes in
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 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.
- Downloads last month
- 1,474