SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.01908 · 2025

Benchmarking Synthetic Tabular Data: A Multi-Dimensional Evaluation Framework

arXiv · PDF · Open in the Atlas

Code that ran

9 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; 0 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 0 failures of our instrument; 1 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/2504.01908.json · badge: /api/ran/2504.01908.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
mostly-ai/mostlyai-qa canonical (classifier label)
classifier basis not recorded on the link
9 ran · 1 no recorded run
FunctionStatusWhere it lives
calculate_dcrs_nndrs Ran
ran on a synthesized input
mostly-ai/mostlyai-qa/mostlyai/qa/_distances.py
code served (permissive licence) · get_code("0dc28ba1e0e5b452")
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 tuple, ndim 2, 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 numpy as np
import logging

logging.basicConfig(level=logging.INFO)

# Create sample data and query arrays
# data: shape (5, 3) - 5 samples with 3 features
# query: shape (2, 3) - 2 query points with 3 features
np.random.seed(0)

data = np.random.randn(5, 3).astype(np.float64)
query = np.random.randn(2, 3).astype(np.float64)

ARGS = {
    "data": data,
    "query": query,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
joblib, numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple 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
calculate_distinct_categories_per_sequence Ran
ran on a synthesized input
mostly-ai/mostlyai-qa/mostlyai/qa/_coherence.py
code served (permissive licence) · get_code("6b3ae1578ca2feb2")
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 pandas as pd
import numpy as np

# Create a sample DataFrame with multiple sequences and categories
data = {
    'sequence_id': [1, 1, 1, 2, 2, 2, 3, 3],
    'category_A': ['cat', 'cat', 'dog', 'cat', 'bird', 'bird', 'dog', 'dog'],
    'category_B': [10, 20, 10, 30, 40, 40, 50, 50],
    'category_C': ['x', 'y', 'x', 'y', 'z', 'z', 'x', 'y']
}

df = pd.DataFrame(data)

ARGS = {
    'df': df,
    'context_key': 'sequence_id'
}
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 int 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
calculate_ims Ran
ran on a synthesized input
mostly-ai/mostlyai-qa/mostlyai/qa/_distances.py
code served (permissive licence) · get_code("24229ad491eda52f")
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 float64, ndim 0, 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 numpy as np

# The function takes a numpy array `dcr` and returns the mean of elements <= 1e-06
# We need to create a numpy array with some values, some of which are <= 1e-06

dcr = np.array([
    1e-07,      # <= 1e-06
    5e-07,      # <= 1e-06
    1e-05,      # > 1e-06
    0.001,      # > 1e-06
    1e-08,      # <= 1e-06
    2e-06,      # > 1e-06
    0.5e-06,    # <= 1e-06
    1.5
])

ARGS = {
    "dcr": dcr
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
calculate_sequences_per_distinct_category Ran
ran on a synthesized input
mostly-ai/mostlyai-qa/mostlyai/qa/_coherence.py
code served (permissive licence) · get_code("e1f5ce87b7bf7e22")
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 tuple, 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 pandas as pd
import numpy as np

# Create a sample DataFrame with categorical columns and a context key
np.random.seed(0)

# Create categorical data
categories_col1 = pd.Categorical(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K'])
categories_col2 = pd.Categorical(['X', 'Y', 'Z', 'W', 'V', 'U', 'T', 'S', 'R', 'Q'])

# Create a DataFrame with categorical columns
df = pd.DataFrame({
    'context': ['ctx_1', 'ctx_2', 'ctx_3', 'ctx_1', 'ctx_2', 'ctx_3', 'ctx_1', 'ctx_2', 'ctx_3', 'ctx_1'],
    'category_1': pd.Categorical(np.random.choice(['A', 'B', 'C', 'D', 'E'], 10), categories=categories_col1),
    'category_2': pd.Categorical(np.random.choice(['X', 'Y', 'Z', 'W'], 10), categories=categories_col2),
})

# Define the arguments
ARGS = {
    'df': df,
    'context_key': 'context',
    'top_cats': None,
}
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 tuple, ndim 1, dtype family float — a tuple 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
deciles Ran
ran on a synthesized input
mostly-ai/mostlyai-qa/mostlyai/qa/_distances.py
code served (permissive licence) · get_code("43498a592f52e249")
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 ndarray, ndim 1, dtype family float, shape (11,) 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

# The function deciles(x) expects x to be an array-like object
# It calls np.quantile on x with quantiles from 0 to 1 in 11 steps
# Then rounds the result to 3 decimal places

# Create a simple numpy array with some data
x = np.array([1.5, 2.3, 3.7, 4.2, 5.1, 6.8, 7.4, 8.9, 9.2, 10.5])

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (11,) — shape (11,) 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
determine_data_size Ran
ran on a synthesized input
mostly-ai/mostlyai-qa/mostlyai/qa/_common.py
code served (permissive licence) · get_code("6eead1536503039b")
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 int, ndim 0, dtype family int, 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 pandas as pd
import numpy as np

# Create sample DataFrames for testing
np.random.seed(0)

# Create target data
tgt_data = pd.DataFrame({
    'context_id': [1, 1, 2, 2, 3, 3],
    'value': np.random.randn(6)
})

# Create context data
ctx_data = pd.DataFrame({
    'id': [1, 2, 3, 4],
    'context_value': np.random.randn(4)
})

ARGS = {
    'tgt_data': tgt_data,
    'ctx_data': ctx_data,
    'ctx_primary_key': 'id',
    'tgt_context_key': 'context_id'
}
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 int, ndim 0, dtype family int, 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
encode_numerics Ran
ran on a synthesized input
mostly-ai/mostlyai-qa/mostlyai/qa/_embeddings.py
code served (permissive licence) · get_code("b3882cb6732a4999")
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 tuple. 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 numpy as np
import pandas as pd

# Create small synthetic dataframes with numeric and some missing values
np.random.seed(0)

# Create training data
trn = pd.DataFrame({
    'col1': [1.0, 2.0, 3.0, np.nan, 5.0],
    'col2': [10.0, np.nan, 30.0, 40.0, 50.0],
    'col3': [100.0, 200.0, 300.0, 400.0, 500.0],
})

# Create synthetic data
syn = pd.DataFrame({
    'col1': [1.5, 2.5, 3.5, 4.5, 5.5],
    'col2': [15.0, 25.0, 35.0, 45.0, 55.0],
    'col3': [150.0, 250.0, 350.0, 450.0, 550.0],
})

# Create holdout data
hol = pd.DataFrame({
    'col1': [1.2, np.nan, 3.2],
    'col2': [12.0, 22.0, np.nan],
    'col3': [120.0, 220.0, 320.0],
})

ARGS = {
    'syn': syn,
    'trn': trn,
    'hol': hol,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
harmonize_dtype Ran
ran on a synthesized input
mostly-ai/mostlyai-qa/mostlyai/qa/_sampling.py
code served (permissive licence) · get_code("ddbf1c7e2ef45004")
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 Series. 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 numpy as np
import pyarrow as pa
from datetime import datetime, timedelta

# Create a simple pd.Series with numeric data
numeric_series = pd.Series([1.0, 2.0, 3.0, 4.0, 5.0])

ARGS = {
    "x": numeric_series
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, pyarrow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Series — a Series output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Series output the recorded ndim 1 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
sample_two_consecutive_rows Ran
ran on a synthesized input
mostly-ai/mostlyai-qa/mostlyai/qa/_sampling.py
code served (permissive licence) · get_code("dc8b54e790a33ddc")
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 tuple, ndim 3, 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 numpy as np
import pandas as pd

# Create a sample DataFrame with multiple groups and rows
df = pd.DataFrame({
    'group': ['A', 'A', 'A', 'B', 'B', 'B', 'C', 'C'],
    'value': [10, 20, 30, 40, 50, 60, 70, 80],
    'feature': [1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8]
})

col_by = 'group'

ARGS = {
    'df': df,
    'col_by': col_by
}
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 tuple, ndim 3, dtype family float — a tuple 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
set_random_state Not yet run
unverified (harvested, no recorded run)
mostly-ai/mostlyai-qa/mostlyai/qa/random_state.py
code served (permissive licence) · get_code("8e29ce5dff0b300c")
How it ran

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, 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 10 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

Evaluating the quality of synthetic data remains a key challenge for ensuring privacy and utility in data-driven research. In this work, we present an evaluation framework that quantifies how well synthetic data replicates original distributional properties while ensuring privacy. The proposed approach employs a holdout-based benchmarking strategy that facilitates quantitative assessment through low- and high-dimensional distribution comparisons, embedding-based similarity measures, and nearest-neighbor distance metrics. The framework supports various data types and structures, including sequential and contextual information, and enables interpretable quality diagnostics through a set of standardized metrics. These contributions aim to support reproducibility and methodological consistency in benchmarking of synthetic data generation techniques. The code of the framework is available at https://github.com/mostly-ai/mostlyai-qa.

For agents

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

get_harvested_code_for_paper("2504.01908")
get_code_for_paper("2504.01908")
have("2504.01908")

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

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

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

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

Connect an agent — have() is free.