docling-project / docling-project/docling

Fails to properly extract table in official Swiss certificate of pension contributions

Open
#3,935 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Bug
Docling is hardly able to detect and extract tables in the given PDF form.

Input looks like:
Image

And the Markdown result renders one single table with a wrong last row.
[file.md](https://github.com/user-attachments/files/30708461/file.md)

The hybrid chunker then even breaks that single table apart into meaningless values.

### Steps to reproduce
1. Launch docling-serve-cu130:v1.27.0
2. Connect to UI (e.g. http://localhost:5001/ui/)
3. Select https://www.estv.admin.ch/dam/de/sd-web/SGAqZmbwA2OC/21EDP-2026-de.pdf
4. Keep default settings, and run process
(chunking cannot be done via UI, but that's anyway not part of this report).

### Docling version
2.113.0 running in docling-serve-cu130:v1.27.0

### Python version
Python 3.12.13 in docling-serve-cu130:v1.27.0

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with docling-serve-cu130:v1.27.0 using the linked Swiss PDF and compare the Markdown output with file.md. Start from the UI processing path, then follow the hybrid chunker behavior described in the issue. Done means the form's tables are extracted with the correct rows and are not split into meaningless values by the hybrid chunker.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.