SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.14066 · NeurIPS · 2024

Lightweight Correlation-Aware Table Compression

Josif Grabocka, Mihail Stoian, Alexander Van Renen, Jan Kobiolka, Ping-Lin Kuo, Andreas Kipf

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 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; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 8 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/2410.14066.json · badge: /api/ran/2410.14066.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
utndatasystems/virtual canonical (classifier label)
classifier basis: census
9 ran · 2 no recorded run
FunctionStatusWhere it lives
compute_error Ran
ran; our contract draft was wrong, not the code
utndatasystems/virtual/virtual/models/k_regression.py
code served (permissive licence) · get_code("8d1469ccb137db5b")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 numpy as np
from sklearn.linear_model import LinearRegression

torch_imported = False
try:
    import torch
    torch_imported = True
except:
    pass

np.random.seed(0)

# Create a simple sklearn model that has a predict method
model = LinearRegression()

# Create small training data to fit the model
X_train = np.random.randn(5, 4).astype(np.float32)
y_train = np.random.randn(5).astype(np.float32)
model.fit(X_train, y_train)

# Create test data with distinct dimensions
X = np.random.randn(2, 4).astype(np.float32)
y = np.random.randn(2).astype(np.float32)

ARGS = {
    "model": model,
    "X": X,
    "y": y
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
conflict Ran
ran, violated the contract we drafted
utndatasystems/virtual/virtual/v_optimizer.py
code served (permissive licence) · get_code("568f06b3f91e0b1c")
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 bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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 torch

torch.manual_seed(0)

# The conflict function expects two dictionaries (e1, e2)
# Each dictionary has 'right' and 'left' keys
# 'right' is compared for equality and membership
# 'left' is a collection that supports the 'in' operator

e1 = {
    'right': 'A',
    'left': ['B', 'C', 'D']
}

e2 = {
    'right': 'X',
    'left': ['A', 'Y', 'Z']
}

ARGS = {
    'e1': e1,
    'e2': e2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
debug Ran
ran; our contract draft was wrong, not the code
utndatasystems/virtual/virtual/expr_parser.py
code served (permissive licence) · get_code("7b5dcb4a12862adc")
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 dict. 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 torch

torch.manual_seed(0)

# The function simply returns its input dict argument
# So we need to construct a valid dict with any content
ARGS = {
    "d": {
        "key1": "value1",
        "key2": 42,
        "key3": torch.randn(2, 4),
        "key4": [1, 2, 3],
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 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
get_csv_header Ran
ran; our contract draft was wrong, not the code
utndatasystems/virtual/virtual/utils.py
code served (permissive licence) · get_code("9a4bf3c885bc2941")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 tempfile
import os

# Create a temporary CSV file with a header
temp_dir = tempfile.mkdtemp()
csv_path = os.path.join(temp_dir, "test.csv")

with open(csv_path, 'w', encoding='utf-8') as f:
    f.write("name,age,city,email\n")
    f.write("John,30,NYC,john@example.com\n")
    f.write("Jane,25,LA,jane@example.com\n")

ARGS = {
    'csv_path': csv_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
get_status Ran
ran; our contract draft was wrong, not the code
utndatasystems/virtual/virtual/btrblocks_utils.py
code served (permissive licence) · get_code("5797870b3880d5dd")
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 dict. 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 os
import tempfile

# Create a temporary directory and a stats.txt file with the expected format
temp_dir = tempfile.mkdtemp()

# Create a stats.txt file with sample data
# Format: column_name,uncompressed_size,compressed_size per line
# Last line should be total
stats_content = """header_line
column_col1,1000,500
column_col2,2000,1200
total,3000,1700
"""

stats_file_path = os.path.join(temp_dir, 'stats.txt')
with open(stats_file_path, 'w') as f:
    f.write(stats_content)

ARGS = {
    'extra_path': temp_dir,
    'csv_name': 'output'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 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
optimize Ran
ran; our contract draft was wrong, not the code
utndatasystems/virtual/virtual/expr_optimizer.py
code served (permissive licence) · get_code("b43d7a3657167b8a")
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 dict. 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.

# Simple tree structure for the optimize function
# The function recursively processes expression trees with different node types

# Define a simple literal tree (base case)
literal_tree = {
    'type': 'literal',
    'val': 42
}

# Define a cast tree
cast_tree = {
    'type': 'cast',
    'expr': {
        'type': 'literal',
        'val': 3.14
    }
}

# Define a round tree
round_tree = {
    'type': 'round',
    'expr': {
        'type': 'literal',
        'val': 2.71
    }
}

# Define a make_interval tree
make_interval_tree = {
    'type': 'make_interval',
    'expr': {
        'type': 'literal',
        'val': 10
    }
}

# Define a coalesce tree
coalesce_tree = {
    'type': 'coalesce',
    'exprs': [
        {'type': 'literal', 'val': 1},
        {'type': 'literal', 'val': 2}
    ]
}

# Define a when tree
when_tree = {
    'type': 'when',
    'cond': {'type': 'literal', 'val': True},
    'then': {'type': 'literal', 'val': 100}
}

# Define a case tree
case_tree = {
    'type': 'case',
    'when': [
        {
            'type': 'when',
            'cond': {'type': 'literal', 'val': True},
            'then': {'type': 'literal', 'val': 1}
        }
    ],
    'else': {'type': 'literal', 'val': 0}
}

# Define a term tree (simple case with no nested term)
term_tree = {
    'type': 'term',
    'coef': 2,
    'expr': {'type': 'literal', 'val': 5}
}

# Define a sum tree (simple case with no case expressions)
sum_tree = {
    'type': 'sum',
    'terms': [
        {
            'type': 'term',
            'coef': 1,
            'expr': {'type': 'literal', 'val': 10}
        },
        {
            'type': 'term',
            'coef': 2,
            'expr': {'type': 'literal', 'val': 20}
        }
    ]
}

# Use the literal_tree as the main test case
ARGS = {
    'tree': literal_tree
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 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
schema_to_yaml Ran
ran; our contract draft was wrong, not the code
utndatasystems/virtual/virtual/btrblocks_utils.py
code served (permissive licence) · get_code("b6367791f0672728")
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 dict. 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 torch
import numpy as np

# The function expects a list of dicts, where each dict has 'name' and 'type' keys
# 'type' must be one of: VARCHAR, BIGINT, SMALLINT, DOUBLE, TIMESTAMP, BOOLEAN, DATE, TIME

schema = [
    {'name': 'id', 'type': 'BIGINT'},
    {'name': 'username', 'type': 'VARCHAR'},
    {'name': 'created_at', 'type': 'TIMESTAMP'},
    {'name': 'score', 'type': 'DOUBLE'},
    {'name': 'is_active', 'type': 'BOOLEAN'},
    {'name': 'birth_date', 'type': 'DATE'},
    {'name': 'login_time', 'type': 'TIME'},
    {'name': 'count', 'type': 'SMALLINT'}
]

ARGS = {
    'schema': schema
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 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
solve_custom_cols Ran
ran; our contract draft was wrong, not the code
utndatasystems/virtual/virtual/v_driller.py
code served (permissive licence) · get_code("f092a01a9bb9f053")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 torch
import numpy as np

class DataWrapper:
    def __init__(self):
        self.v_cols = {
            'category_A': {
                'indices': [0, 1, 2],
                'names': ['col_0', 'col_1', 'col_2']
            },
            'category_B': {
                'indices': [10, 11],
                'names': ['feat_10', 'feat_11']
            }
        }

data_wrapper = DataWrapper()
category = 'category_A'
sample_size = None

ARGS = {
    'data_wrapper': data_wrapper,
    'category': category,
    'sample_size': sample_size
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
to_csv Ran
ran; our contract draft was wrong, not the code
utndatasystems/virtual/virtual/utils.py
code served (permissive licence) · get_code("1334ba2a4187a7f7")
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 str. 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 pandas as pd
import tempfile
import os

# Create a temporary directory for test files
tmpdir = tempfile.mkdtemp()

# Create a simple parquet file with some test data
test_data = pd.DataFrame({
    'col1': [1, 2, 3],
    'col2': ['a', 'b', 'c'],
    'col3': [1.1, 2.2, 3.3]
})

parquet_path = os.path.join(tmpdir, 'test_data.parquet')
csv_path = os.path.join(tmpdir, 'test_data.csv')

test_data.to_parquet(parquet_path)

ARGS = {
    'parquet_path': parquet_path,
    'format_path': csv_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 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
print_expr Not yet run
unverified (harvested, no recorded run)
utndatasystems/virtual/virtual/expr_parser.py
code served (permissive licence) · get_code("72429b37f32034a1")
How it ran

no invocation recorded.

storage_cost Not yet run
unverified (harvested, no recorded run)
utndatasystems/virtual/virtual/models/k_regression.py
code served (permissive licence) · get_code("c0f051172ca97276")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 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 11 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

The growing adoption of data lakes for managing relational data necessitates efficient, open storage formats that provide high scan performance and competitive compression ratios. While existing formats achieve fast scans through lightweight encoding techniques, they have reached a plateau in terms of minimizing storage footprint. Recently, correlation-aware compression schemes have been shown to reduce file sizes further. Yet, current approaches either incur significant scan overheads or require manual specification of correlations, limiting their practicability. We present Virtual, a framework that integrates seamlessly with existing open formats to automatically leverage data correlations, achieving substantial compression gains while having minimal scan performance overhead. Experiments on data.gov datasets show that Virtual reduces file sizes by up to 40% compared to Apache Parquet.

For agents

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

get_harvested_code_for_paper("2410.14066")
get_code_for_paper("2410.14066")
have("2410.14066")

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

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

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

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

Connect an agent — have() is free.