SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.09257 · 2026

BSTabDiff: Block-Subunit Diffusion Priors for High-Dimensional Tabular Data Generation

Donald Adjeroh, Gianfranco Doretto, Al Zadid, Younus Ahamed, Prashnna Gyawali

arXiv · PDF · Open in the Atlas

Code that ran

13 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (8 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 8 have no contract verdict; 4 failures of our instrument; 2 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/2606.09257.json · badge: /api/ran/2606.09257.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
zadid6pretam/BSTabDiff community
Papers with Code archive
13 ran · 2 no recorded run
FunctionStatusWhere it lives
AffineCoupling Ran
ran on a synthesized input · constructed an object; no result was computed
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("d3494dc9b96d545d")
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 an instance of its own class, AffineCoupling: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn

torch.manual_seed(0)

# Parameters for AffineCoupling.__init__
dim = 4
hidden = 8
cond_dim = 3

# Create a mask tensor with shape (dim,)
# Alternating 0s and 1s for a valid affine coupling mask
mask = torch.tensor([1.0, 0.0, 1.0, 0.0])

ARGS = {
    'dim': dim,
    'hidden': hidden,
    'mask': mask,
    'cond_dim': cond_dim,
}
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 AffineCoupling — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a AffineCoupling 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
DiffusionPrior Ran
ran on a synthesized input · constructed an object; no result was computed
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("1761151b02d5fc8c")
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 an instance of its own class, DiffusionPrior: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn
import math

torch.manual_seed(0)

# DiffusionPrior parameters:
# M: int - latent dimension
# n_classes: Optional[int] - number of classes
# T: int - number of diffusion steps
# hidden: int - hidden dimension
# y_embed_dim: int - embedding dimension for classes

ARGS = {
    "M": 4,
    "n_classes": 5,
    "T": 200,
    "hidden": 256,
    "y_embed_dim": 64,
}
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 DiffusionPrior — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a DiffusionPrior 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
EMA Ran
ran on a synthesized input · constructed an object; no result was computed
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("bc05178cdd2a90b3")
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 an instance of its own class, EMA: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn

torch.manual_seed(0)

# Build a minimal nn.Module
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
        self.conv = nn.Conv1d(2, 5, kernel_size=3)
    
    def forward(self, x):
        return self.linear(x)

# Instantiate the model
model = SimpleModel()

# Define ARGS dict with all parameters for EMA.__init__
ARGS = {
    'model': model,
    'decay': 0.999
}
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 EMA — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a EMA 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
EmissionParams Ran
ran on a synthesized input · constructed an object; no result was computed
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("91c23b5e260ad8f6")
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 an instance of its own class, EmissionParams: the run constructed the object and did not call it, so no result was computed. 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
from dataclasses import dataclass
from typing import Dict, Optional

torch.manual_seed(0)

# Create small tensors with distinct dimensions for clarity
a = torch.randn(2, 4)  # shape (2, 4)
sigma = torch.randn(2, 3)  # shape (2, 3) - different from a
b = torch.randn(2, 5)  # shape (2, 5) - optional but provided
miss_rate = torch.randn(2)  # shape (2,)
miss_rate_y = torch.randn(3)  # shape (3,) - optional but provided

# Create dictionaries with categorical weights and offsets
cat_W = {
    0: torch.randn(4, 6),  # category 0: (4, 6)
    1: torch.randn(4, 7),  # category 1: (4, 7)
}

cat_c = {
    0: torch.randn(6),  # category 0: (6,)
    1: torch.randn(7),  # category 1: (7,)
}

ARGS = {
    "a": a,
    "sigma": sigma,
    "b": b,
    "cat_W": cat_W,
    "cat_c": cat_c,
    "miss_rate": miss_rate,
    "miss_rate_y": miss_rate_y,
}
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 EmissionParams — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a EmissionParams 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
EmpiricalMarginals Ran
ran on a synthesized input · constructed an object; no result was computed
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("4f0379bb47193282")
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 an instance of its own class, EmpiricalMarginals: the run constructed the object and did not call it, so no result was computed. 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
from dataclasses import dataclass
from typing import Dict, List, Optional, Tuple

torch.manual_seed(0)

@dataclass
class FeatureSpec:
    name: str
    kind: str
    n_categories: int = 0

# Create small test data
n_samples = 10
n_features = 4
n_classes = 3

# X: (10, 4) with some NaN values for continuous features
X = np.random.randn(n_samples, n_features).astype(np.float32)
X[0, 0] = np.nan  # Add some missing values
X[2, 1] = np.nan

# R: (10, 4) missingness mask {0, 1}
R = np.ones((n_samples, n_features), dtype=np.int32)
R[0, 0] = 0  # Mark first entry as missing
R[2, 1] = 0  # Mark another as missing

# y: (10,) class labels
y = np.random.randint(0, n_classes, size=n_samples)

# Feature specs: mix of continuous and categorical
feature_specs = [
    FeatureSpec(name="feat0", kind="continuous"),
    FeatureSpec(name="feat1", kind="continuous"),
    FeatureSpec(name="feat2", kind="categorical", n_categories=5),
    FeatureSpec(name="feat3", kind="continuous"),
]

# Device
device = torch.device("cpu")

ARGS = {
    "m": n_features,
    "n_classes": n_classes,
    "device": device,
}
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 EmpiricalMarginals — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a EmpiricalMarginals 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
FeatureSpec Ran
ran on a synthesized input · constructed an object; no result was computed
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("e21ab405669d759f")
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 an instance of its own class, FeatureSpec: the run constructed the object and did not call it, so no result was computed. 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
from dataclasses import dataclass

@dataclass
class FeatureSpec:
    name: str
    kind: str
    n_categories: int = 0

torch.manual_seed(0)

ARGS = {
    "name": "feature_1",
    "kind": "categorical",
    "n_categories": 5
}
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 FeatureSpec — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a FeatureSpec 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
FlowPrior Ran
ran on a synthesized input · constructed an object; no result was computed
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("b5ca960cf0c1753f")
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 an instance of its own class, FlowPrior: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn
import math

torch.manual_seed(0)

# Parameters for FlowPrior
M = 4  # latent dimension
n_classes = 3  # number of classes for embedding
n_layers = 6  # number of coupling layers
hidden = 256  # hidden dimension for networks
y_embed_dim = 64  # embedding dimension for class labels

ARGS = {
    'M': M,
    'n_classes': n_classes,
    'n_layers': n_layers,
    'hidden': hidden,
    'y_embed_dim': y_embed_dim,
}
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 FlowPrior — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a FlowPrior 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
TimeEmbedding Ran
ran on a synthesized input · constructed an object; no result was computed
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("94e17cd5d3180b63")
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 an instance of its own class, TimeEmbedding: the run constructed the object and did not call it, so no result was computed. 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 torch.nn as nn
import math

torch.manual_seed(0)

ARGS = {
    'dim': 8,
}
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 TimeEmbedding — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a TimeEmbedding 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
approx_normal_icdf Ran
ran; our contract draft was wrong, not the code
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("6f981f679833b101")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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
import math

torch.manual_seed(0)

# u is a tensor of probabilities in (0, 1)
# Create a small tensor with values in the valid range (eps, 1-eps)
u = torch.tensor([
    [0.1, 0.3, 0.5, 0.7],
    [0.2, 0.4, 0.6, 0.9]
], dtype=torch.float32)

eps = 1e-06

ARGS = {
    "u": u,
    "eps": eps
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
erf_normal_cdf Ran
ran; our contract draft was wrong, not the code
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("7ae78d028e75d87c")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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
import math

torch.manual_seed(0)

# The function erf_normal_cdf takes a single parameter x which is a torch.Tensor
# It applies erf (error function) and basic arithmetic operations on it
# So we need to provide a tensor as input

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
fit_emissions_from_inferred_h Ran
ran; our contract draft was wrong, not the code
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("a62399b6ae233041")
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 EmissionParams. 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
from dataclasses import dataclass
from typing import Dict, List, Optional

torch.manual_seed(0)

@dataclass
class FeatureSpec:
    name: str
    kind: str
    n_categories: int = 0

# Setup dimensions with distinct sizes
n_samples = 2  # number of observations
n_features = 4  # number of features
n_blocks = 3  # number of blocks
n_classes = 2  # number of classes
device = torch.device('cpu')

# Create X: observed features (n_samples x n_features)
X = np.random.randn(n_samples, n_features).astype(np.float32)

# Create R: missingness mask (n_samples x n_features), all observed
R = np.ones((n_samples, n_features), dtype=np.float32)
R[0, 1] = 0  # one missing value

# Create y: class labels (n_samples,)
y = np.array([0, 1], dtype=np.int32)

# Create blocks: list of arrays indicating which features belong to each block
blocks = [
    np.array([0, 1]),      # block 0: features 0, 1
    np.array([2]),          # block 1: feature 2
    np.array([3]),          # block 2: feature 3
]

# Create feature_specs: describe each feature
feature_specs = [
    FeatureSpec(name='feat_0', kind='continuous'),
    FeatureSpec(name='feat_1', kind='continuous'),
    FeatureSpec(name='feat_2', kind='categorical', n_categories=3),
    FeatureSpec(name='feat_3', kind='continuous'),
]

# Set categorical feature values to valid category indices
X[0, 2] = 0
X[1, 2] = 1

# Create h_hat: inferred latent states (n_samples x n_blocks)
h_hat = np.random.randn(n_samples, n_blocks).astype(np.float32)

# Package all arguments
ARGS = {
    'X': X,
    'R': R,
    'y': y,
    'blocks': blocks,
    'feature_specs': feature_specs,
    'h_hat': h_hat,
    'n_classes': n_classes,
    'device': device,
}
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 EmissionParams — a EmissionParams output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a EmissionParams 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
infer_block_latents_mean_gaussianized Ran
ran; our contract draft was wrong, not the code
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("14580b2228fa1944")
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 2, dtype family float, shape (2, 3) 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
import torch
import math
from dataclasses import dataclass

torch.manual_seed(0)

@dataclass
class FeatureSpec:
    name: str
    kind: str
    n_categories: int = 0

# Setup parameters
n_samples = 2
n_features = 4
n_blocks = 3

# X: feature matrix (n_samples, n_features)
X = np.array([
    [1.5, 2.3, 3.1, 4.2],
    [1.8, 2.1, 3.5, 4.0]
], dtype=np.float32)

# R: response/observation mask (n_samples, n_features) - indicates which values are observed
R = np.array([
    [1, 1, 1, 1],
    [1, 1, 1, 1]
], dtype=np.float32)

# feature_specs: list of FeatureSpec for each feature
feature_specs = [
    FeatureSpec(name="feat_0", kind="continuous"),
    FeatureSpec(name="feat_1", kind="continuous"),
    FeatureSpec(name="feat_2", kind="continuous"),
    FeatureSpec(name="feat_3", kind="continuous"),
]

# blocks: list of arrays where each array contains indices of features in that block
blocks = [
    np.array([0, 1], dtype=np.int32),
    np.array([2], dtype=np.int32),
    np.array([3], dtype=np.int32),
]

# y: optional target variable (not used in function body but in signature)
y = np.array([0.5, 1.2], dtype=np.float32)

ARGS = {
    "X": X,
    "R": R,
    "blocks": blocks,
    "feature_specs": feature_specs,
    "y": y,
}
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 ndarray, ndim 2, dtype family float, shape (2, 3) — shape (2, 3) 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
invert_permutation Ran
ran, violated the contract we drafted
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("aa17f6e8e7c6502c")
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 int, shape (5,) 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

# Create a simple permutation array
# A permutation of length 5: [2, 0, 4, 1, 3]
# This means: position 0 gets value from position 2,
#            position 1 gets value from position 0, etc.
perm = np.array([2, 0, 4, 1, 3], dtype=np.int64)

ARGS = {
    "perm": perm
}
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 int, shape (5,) — shape (5,) 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
BlockSubunitGenerator Not yet run
unverified (harvested, no recorded run)
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("ce0c1cf8d2f1f09d")
How it ran

no invocation recorded.

_validate_feature_specs Not yet run
unverified (harvested, no recorded run)
zadid6pretam/BSTabDiff/bstabdiff/block_subunit_gen.py
code served (permissive licence) · get_code("c1d949bbef3fa9e6")
How it ran

no invocation recorded.

Also present in other papers' code

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

High-Dimensional Low-Sample Size (HDLSS) tabular domains (e.g., omics) are characterized by n ≪ m, where n = number of samples, and m = number of features. Such domains often exhibit strong local correlation groups, sparse crossgroup dependencies, heavy-tailed non-Gaussian marginals, heteroscedastic noise, and structured missingness, making direct density learning in R m ill-conditioned since n ≪ m. We propose BSTabDiff, a block-subunit generative framework that partitions the m observed features into M latent blocks (M ≪ m) and generates each block via a shared low-dimensional subunit variable, concentrating global dependence learning in the compact block-latent space R M while decoding to the full feature space with copula-driven dependence, flexible per-feature marginals, and explicit missingness mechanisms. BSTabDiff supports modern deep priors on block latents, including diffusion and normalizing flows, enabling stable synthesis and controllable benchmark generation in the HDLSS regime. Empirically, BSTabDiff produces more realistic and stable high-dimensional synthetic data when compared with unstructured tabular generators on HDLSS data.

For agents

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

get_harvested_code_for_paper("2606.09257")
get_code_for_paper("2606.09257")
have("2606.09257")

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

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

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

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

Connect an agent — have() is free.