SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.14215 · EMNLP · 2024

Text-Tuple-Table: Towards Information Integration in Text-to-Table Generation via Global Tuple Extraction

Wei Fan, Yangqiu Song, Weiqi Wang, Tianshi Zheng, Chunkit Chan, Zheye Deng, Yauwai Yim, Yuxi Sun

arXiv · PDF · Open in the Atlas

Code that ran

8 of 10 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; 3 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2404.14215.json · badge: /api/ran/2404.14215.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
gersteinlab/Struc-Bench canonical (classifier label)
classifier basis: census
7 ran · 2 no recorded run
hkust-knowcomp/livesum canonical (classifier label)
classifier basis: census
1 ran · 0 no recorded run
FunctionStatusWhere it lives
difflib_similarity Ran
ran, honoured the contract we drafted
gersteinlab/Struc-Bench/score/html_scores.py
pointer only (licence: NONE) · get_code("521c5eaf15e4461e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gersteinlab/Struc-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.

evaluate Ran
ran, violated the contract we drafted
hkust-knowcomp/livesum/evaluate.py
code served (permissive licence) · get_code("db5ab71619a96eda")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import os
import tempfile
import pandas as pd
import numpy as np

# Create temporary directories for test
temp_data_dir = tempfile.mkdtemp()
temp_output_dir = tempfile.mkdtemp()

# Create test.json in data_dir
test_data = [
    {
        'id': 0,
        'table': 'Team,Goals,Shots,Fouls,Yellow Cards,Red Cards,Corner Kicks,Free Kicks,Offsides\nTeam A,2,5,3,1,0,4,2,1\nTeam B,1,3,2,0,0,2,1,0'
    },
    {
        'id': 1,
        'table': 'Team,Goals,Shots,Fouls,Yellow Cards,Red Cards,Corner Kicks,Free Kicks,Offsides\nTeam C,3,7,4,2,0,5,3,2\nTeam D,0,2,1,0,1,1,0,0'
    }
]

with open(os.path.join(temp_data_dir, 'test.json'), 'w') as f:
    json.dump(test_data, f)

# Create output CSV files in output_dir
output_data_0 = pd.DataFrame({
    'Team': ['Team A', 'Team B'],
    'Goals': [2, 1],
    'Shots': [5, 3],
    'Fouls': [3, 2],
    'Yellow Cards': [1, 0],
    'Red Cards': [0, 0],
    'Corner Kicks': [4, 2],
    'Free Kicks': [2, 1],
    'Offsides': [1, 0]
})
output_data_0.to_csv(os.path.join(temp_output_dir, '0.csv'), index=False)

output_data_1 = pd.DataFrame({
    'Team': ['Team C', 'Team D'],
    'Goals': [3, 0],
    'Shots': [7, 2],
    'Fouls': [4, 1],
    'Yellow Cards': [2, 0],
    'Red Cards': [0, 1],
    'Corner Kicks': [5, 1],
    'Free Kicks': [3, 0],
    'Offsides': [2, 0]
})
output_data_1.to_csv(os.path.join(temp_output_dir, '1.csv'), index=False)

ARGS = {
    'data_dir': temp_data_dir,
    'output_dir': temp_output_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
find_idx_after Ran
ran, honoured the contract we drafted
gersteinlab/Struc-Bench/score/table_scores.py
pointer only (licence: NONE) · get_code("3fd6909a0cf91c84")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gersteinlab/Struc-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.

hash_model Ran
ran; our contract draft was wrong, not the code
gersteinlab/Struc-Bench/score/D2T/prism.py
pointer only (licence: NONE); the stored copy get_code serves, from thompsonb/prism, is pointer only (licence: NOASSERTION) · get_code("3c6efc3e854342ed")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gersteinlab/Struc-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.

levenshtein_similarity Ran
ran, honoured the contract we drafted
gersteinlab/Struc-Bench/score/html_scores.py
pointer only (licence: NONE) · get_code("3df628187afa9acf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gersteinlab/Struc-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.

read_file_to_list Ran
ran; our contract draft was wrong, not the code
gersteinlab/Struc-Bench/score/D2T/utils.py
pointer only (licence: NONE) · get_code("8b3846aabf2bb7ef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gersteinlab/Struc-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.

read_pickle Ran
ran; our contract draft was wrong, not the code
gersteinlab/Struc-Bench/score/D2T/utils.py
pointer only (licence: NONE) · get_code("1ab147c8cefa1585")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gersteinlab/Struc-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.

truncate Ran
ran, violated the contract we drafted
gersteinlab/Struc-Bench/score/D2T/moverscore.py
pointer only (licence: NONE) · get_code("e7166f45e5a6fb2a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gersteinlab/Struc-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.

build_simple_tree Not yet run
unverified (harvested, no recorded run)
gersteinlab/Struc-Bench/score/html_scores.py
pointer only (licence: NONE) · get_code("25616abbbb04af98")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gersteinlab/Struc-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.

capitalize_sents Not yet run
unverified (harvested, no recorded run)
gersteinlab/Struc-Bench/score/D2T/utils.py
pointer only (licence: NONE) · get_code("88e29bf59e677378")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gersteinlab/Struc-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 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 later) and 7 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.

FunctionAlso present inEarliest-datedOthers named
hash_model 2 other papers
2 dated earlier
2008.04935 (2020-08)
Paraphrase Generation as Zero-Shot Multilingual Translation: Disentangling Semantic Similarity from Lexical and Syntactic Diversity
2210.07626 (2022-10)
BERTScore is Unfair: On Social Bias in Language Model-Based Metrics for Text Generation
read_file_to_list 2 other papers
1 dated earlier, 1 same year, order not determinable
2202.08479 (2022-02)
On the Evaluation Metrics for Paraphrase Generation
2024.naacl-long.187 (2024 (year only))
Fair Abstractive Summarization of Diverse Perspectives
read_pickle 2 other papers
1 dated earlier, 1 same year, order not determinable
2202.08479 (2022-02)
On the Evaluation Metrics for Paraphrase Generation
2024.naacl-long.187 (2024 (year only))
Fair Abstractive Summarization of Diverse Perspectives

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

The task of condensing large chunks of textual information into concise and structured tables has gained attention recently due to the emergence of Large Language Models (LLMs) and their potential benefit for downstream tasks, such as text summarization and text mining. Previous approaches often generate tables that directly replicate information from the text, limiting their applicability in broader contexts, as text-to-table generation in real-life scenarios necessitates information extraction, reasoning, and integration. However, there is a lack of both datasets and methodologies towards this task. In this paper, we introduce LIVESUM, a new benchmark dataset created for generating summary tables of competitions based on real-time commentary texts. We evaluate the performances of state-of-the-art LLMs on this task in both fine-tuning and zero-shot settings, and additionally propose a novel pipeline called T 3 (Text-Tuple-Table ) to improve their performances. Extensive experimental results demonstrate that LLMs still struggle with this task even after fine-tuning, while our approach can offer substantial performance gains without explicit training. Further analyses demonstrate that our method exhibits strong generalization abilities, surpassing previous approaches on several other text-to-table datasets. Our code and data can be found at https://github. com/HKUST-KnowComp/LiveSum.

For agents

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

get_harvested_code_for_paper("2404.14215")
get_code_for_paper("2404.14215")
have("2404.14215")

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

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

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

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

Connect an agent — have() is free.