SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.08459 · 2026

Beyond Tables: Doc2DB-Bench for Relationally Faithful Document-to-Database Construction

Nan Tang, Haixun Wang, Zhengxuan Zhang, Zhuowen Liang, Jiayang Wang, Jiazhuo Chen

arXiv · PDF · Open in the Atlas

Code that ran

4 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 5 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2608.08459.json · badge: /api/ran/2608.08459.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
SetonLiang/Doc2DB-Bench canonical (classifier label)
classifier basis: census
4 ran · 5 no recorded run
FunctionStatusWhere it lives
build_noise_protocol Ran
ran; our contract draft was wrong, not the code
SetonLiang/Doc2DB-Bench/data_construction/src/parameters.py
pointer only (licence: NONE) · get_code("c4057f9711697d5b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SetonLiang/Doc2DB-Bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

clean_baseline_result Ran
ran; our contract draft was wrong, not the code
SetonLiang/Doc2DB-Bench/evaluation/clean_llamaextract_result.py
pointer only (licence: NONE) · get_code("ae1961498c67030e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SetonLiang/Doc2DB-Bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

remove_tags Ran
ran; our contract draft was wrong, not the code
SetonLiang/Doc2DB-Bench/data_construction/clean.py
pointer only (licence: NONE) · get_code("650be71134463aee")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SetonLiang/Doc2DB-Bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_percent Ran
ran, honoured the contract we drafted
SetonLiang/Doc2DB-Bench/data_construction/src/parameters.py
pointer only (licence: NONE) · get_code("f2b61c886c7b81d3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SetonLiang/Doc2DB-Bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

deepseek_ocr Not yet run
unverified (harvested, no recorded run)
SetonLiang/Doc2DB-Bench/data_construction/ocr.py
pointer only (licence: NONE) · get_code("f1d985273b255bf1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SetonLiang/Doc2DB-Bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

deepseek_ocr_pdf Not yet run
unverified (harvested, no recorded run)
SetonLiang/Doc2DB-Bench/data_construction/ocr.py
pointer only (licence: NONE) · get_code("c516ddcfe2ad746e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SetonLiang/Doc2DB-Bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_capability_definitions Not yet run
unverified (harvested, no recorded run)
SetonLiang/Doc2DB-Bench/data_construction/src/capabilities.py
pointer only (licence: NONE) · get_code("00feb6b1fb3165d5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SetonLiang/Doc2DB-Bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

paddle_ocr Not yet run
unverified (harvested, no recorded run)
SetonLiang/Doc2DB-Bench/data_construction/ocr.py
pointer only (licence: NONE) · get_code("e6a3d84a1189307d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SetonLiang/Doc2DB-Bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

process_dataset Not yet run
unverified (harvested, no recorded run)
SetonLiang/Doc2DB-Bench/evaluation/clean_llamaextract_result.py
pointer only (licence: NONE) · get_code("ed2b9770a39a07ce")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SetonLiang/Doc2DB-Bench when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 9 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Practical AI systems increasingly need to turn long, heterogeneous documents into queryable relational databases, not isolated spreadsheets. In domains such as finance, healthcare, education, transportation, and enterprise operations, downstream workflows rely on normalized schemas, entity identities, keys, cross-table relationships, and integrity constraints for analytics, compliance, auditing, and SQL-backed decision making. Existing Document-to-Table benchmarks are insufficient for this setting: flattening evidence into single tables can duplicate entities, obscure many-to-many relationships, create sparse records, and avoid testing whether extracted facts form a valid database instance. This creates an urgent need to evaluate document understanding as database construction rather than field extraction. We introduce Doc2DB-Bench, a benchmark for Document-to-Database construction, containing 203 long-document instances across 42 schemas and seven domain groups, with 117 entity tables, 132 relationship tables, 7,341 rows, and 41,935 cells. Built through a controllable DB-to-Doc synthesis pipeline and organized by a taxonomy of intra-table extraction and inter-table reasoning, the generated documents undergo authenticity verification, proving indistinguishable from real-world references. Doc2DB-Bench thus provides a testbed for reliable, auditable, and relationally faithful LLM-based data systems. The benchmark is publicly available at https://github.com/SetonLiang/Doc2DB-Bench

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2608.08459")
get_code_for_paper("2608.08459")
have("2608.08459")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2608.08459.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2608.08459.svg)](https://syntology.ai/paper/2608.08459)

Connect an agent — have() is free.