SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2303.10158 · 2023

Data-centric Artificial Intelligence: A Survey

arXiv · PDF · Open in the Atlas

Code that ran

16 of 20 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 12 have no contract verdict; 3 failures of our instrument; 4 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/2303.10158.json · badge: /api/ran/2303.10158.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
daochenzha/autoshard canonical (classifier label)
classifier basis not recorded on the link
9 ran · 2 no recorded run
daochenzha/simtsc canonical (classifier label)
classifier basis not recorded on the link
4 ran · 1 no recorded run
daochenzha/Meta-AAD canonical (classifier label)
classifier basis not recorded on the link
3 ran · 1 no recorded run
FunctionStatusWhere it lives
action_log_probs Ran
ran; our contract draft was wrong, not the code
daochenzha/autoshard/autoshard/utils.py
code served (permissive licence) · get_code("815b225c5ab9f314")
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, 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 torch
import torch.nn.functional as F

torch.manual_seed(0)

# policy_logits: should be a tensor that can be flattened and has a last dimension
# The function flattens it to 2D (batch, features), then applies log_softmax on dim=-1
# actions: should be a tensor of class indices that matches the flattened shape
# After flattening policy_logits to (N, C), actions should be (N,) with values in [0, C)

# Create policy_logits with shape (2, 3, 4)
# After flatten(0, -2) this becomes (6, 4) where 4 is the number of classes
policy_logits = torch.randn(2, 3, 4)

# Create actions with shape (2, 3) containing class indices in range [0, 4)
actions = torch.randint(0, 4, (2, 3))

ARGS = {
    "policy_logits": policy_logits,
    "actions": actions,
}
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, 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
benchmark_op Ran
ran on a synthesized input
daochenzha/autoshard/autoshard/bench.py
code served (permissive licence) · get_code("ad51bfcb3fcd9b5e")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch.nn as nn

torch.manual_seed(0)

# Create a simple operation that returns a tensor for backward pass
class SimpleOp(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Instantiate the operation
op = SimpleOp()

# Create small input tensors (batch_size=2, input_dim=4)
input_tensor = torch.randn(2, 4, requires_grad=True)

# Arguments for the operation
args = (input_tensor,)
kwargs = {}

# Create gradient tensor matching output shape (batch_size=2, output_dim=3)
grads_tensor = torch.ones(2, 3)

# Device
device = 'cpu'

# Number of iterations
num_iter = 2

ARGS = {
    'op': op,
    'args': args,
    'kwargs': kwargs,
    'grads_tensor': grads_tensor,
    'device': device,
    'num_iter': num_iter
}
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 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
compute_accuracy Ran
ran on a synthesized input
daochenzha/simtsc/src/simtsc/model.py
code served (permissive licence) · get_code("c54a9f059d35378d")
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 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
import torch.nn as nn
import numpy as np

torch.manual_seed(0)
np.random.seed(0)

# Build a minimal model that takes (_X, _adj, K, alpha) and returns logits
class SimpleGNNModel(nn.Module):
    def __init__(self, input_dim, output_dim):
        super().__init__()
        self.linear = nn.Linear(input_dim, output_dim)
    
    def forward(self, X, adj, K, alpha):
        # X shape: (batch, input_dim)
        # Return logits of shape (batch, output_dim)
        return self.linear(X)

# Create model
model = SimpleGNNModel(input_dim=4, output_dim=3)

# Create tiny tensors
num_samples = 10
num_features = 4
num_classes = 3

X = torch.randn(num_samples, num_features)
y = torch.randint(0, num_classes, (num_samples,))

# Create adjacency matrix (sparse-like, but we'll use dense for simplicity)
adj = torch.randn(num_samples, num_samples)

# K and alpha parameters
K = 2
alpha = 0.5

# Create a data loader (list of batch indices)
batch_size = 2
loader = [np.array([0, 1]), np.array([2, 3]), np.array([4, 5])]

# Device
device = 'cpu'

# other_idx: indices available for sampling (different from main batches)
other_idx = np.array([6, 7, 8, 9])

# other_batch_size: how many samples to draw from other_idx
other_batch_size = 2

ARGS = {
    'model': model,
    'X': X,
    'y': y,
    'adj': adj,
    'K': K,
    'alpha': alpha,
    'loader': loader,
    'device': device,
    'other_idx': other_idx,
    'other_batch_size': other_batch_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 Tensor, 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
dataframe_to_matrix Ran
ran on a synthesized input
daochenzha/Meta-AAD/meta_aad/utils.py
code served (permissive licence) · get_code("68b0770ac104f515")
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 a small sample dataframe in the expected anomaly dataset format
# First column is the label ('anomaly' or 'nominal')
# Remaining columns are numerical features
data = {
    'label': ['anomaly', 'nominal', 'anomaly', 'nominal'],
    'feature1': [1.0, 2.0, 3.0, 4.0],
    'feature2': [5.0, 6.0, 7.0, 8.0],
    'feature3': [9.0, 10.0, 11.0, 12.0],
}

df = pd.DataFrame(data)

ARGS = {
    'df': df,
    'labelindex': 0,
    'startcol': 1,
}
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 — 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
from_logits Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
daochenzha/autoshard/autoshard/utils.py
code served (permissive licence) · get_code("715b439b8761ea76")
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) and returned VTraceFromLogitsReturns. 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.functional as F

torch.manual_seed(0)

# Set up tensor dimensions
batch_size = 2
num_actions = 4
sequence_length = 3

# Create behavior policy logits: shape (sequence_length, batch_size, num_actions)
behavior_policy_logits = torch.randn(sequence_length, batch_size, num_actions)

# Create target policy logits: shape (sequence_length, batch_size, num_actions)
target_policy_logits = torch.randn(sequence_length, batch_size, num_actions)

# Create actions: shape (sequence_length, batch_size) with valid action indices
actions = torch.randint(0, num_actions, (sequence_length, batch_size))

# Create discounts: shape (sequence_length, batch_size)
discounts = torch.full((sequence_length, batch_size), 0.99)

# Create rewards: shape (sequence_length, batch_size)
rewards = torch.randn(sequence_length, batch_size)

# Create values: shape (sequence_length, batch_size)
values = torch.randn(sequence_length, batch_size)

# Create bootstrap_value: shape (batch_size,)
bootstrap_value = torch.randn(batch_size)

ARGS = {
    'behavior_policy_logits': behavior_policy_logits,
    'target_policy_logits': target_policy_logits,
    'actions': actions,
    'discounts': discounts,
    'rewards': rewards,
    'values': values,
    'bootstrap_value': bootstrap_value,
    'clip_rho_threshold': 1.0,
    'clip_pg_rho_threshold': 1.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type VTraceFromLogitsReturns — a VTraceFromLogitsReturns output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a VTraceFromLogitsReturns output the recorded ndim 3 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
gen_table_configs Ran
ran on a synthesized input
daochenzha/autoshard/gen_dlrm_data.py
code served (permissive licence) · get_code("4b566a009bca058d")
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 numpy as np

class Args:
    def __init__(self):
        self.dim_range = np.array([8, 16, 32, 64])

lS_rows = [100, 200, 150]
lS_pooling_factors = [2, 4, 3]
lS_bin_counts = [
    [10, 20, 15],
    [5, 8],
    [12, 18, 9, 7]
]
args = Args()

ARGS = {
    'lS_rows': lS_rows,
    'lS_pooling_factors': lS_pooling_factors,
    'lS_bin_counts': lS_bin_counts,
    'args': args
}
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 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_batch Ran
ran on a synthesized input
daochenzha/autoshard/autoshard/training.py
code served (permissive licence) · get_code("d2de783847f9b48e")
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 threading
import numpy as np
import torch
from torch import multiprocessing as mp

torch.manual_seed(0)

# Create a simple flags object with batch_size attribute
class Flags:
    def __init__(self, batch_size):
        self.batch_size = batch_size

flags = Flags(batch_size=2)

# Create a multiprocessing queue and populate it with sample data
mp.set_start_method('spawn', force=True)
data_queue = mp.Queue()

# Create sample buffer dictionaries that match the expected structure
def create_sample_buffer():
    buffer = {
        'tensor_data_1': torch.randn(4, 3),  # small tensor
        'tensor_data_2': torch.randn(4, 5),  # different size
        'actions_table': [
            torch.tensor([1, 2, 3]),
            torch.tensor([4, 5, 6]),
            torch.tensor([7, 8, 9])
        ],
        'initial_agent_state': (
            torch.randn(2, 4),
            torch.randn(2, 6)
        ),
        'cost_data': {
            'tables': [{'a': 1}, {'b': 2}],
            'offset': np.array([0, 5]),
            'cost': np.array([1.0, 2.0])
        }
    }
    return buffer

# Populate the queue with sample buffers
for _ in range(flags.batch_size):
    data_queue.put(create_sample_buffer())

# Create lock
lock = threading.Lock()

ARGS = {
    'flags': flags,
    'data_queue': data_queue,
    'lock': lock
}
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 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
knn Ran
ran on a synthesized input
daochenzha/simtsc/train_knn.py
code served (permissive licence) · get_code("4a23b89dea09f271")
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 torch
import numpy as np

torch.manual_seed(0)

# Create small sample data
n_samples = 5
n_features = 4

# X: feature matrix (not directly used in the function, but part of signature)
X = torch.randn(n_samples, n_features)

# y: labels for all samples
y = torch.tensor([0, 1, 0, 1, 1])

# train_idx: indices of training samples
train_idx = [0, 1, 2]

# test_idx: indices of test samples
test_idx = [3, 4]

# distances: a 2D structure (list of lists or dict) containing distances
# distances[i][j] gives distance between sample i and sample j
distances = [
    [0.0, 1.5, 0.8, 2.1, 3.0],
    [1.5, 0.0, 2.2, 1.1, 2.5],
    [0.8, 2.2, 0.0, 1.9, 2.8],
    [2.1, 1.1, 1.9, 0.0, 1.3],
    [3.0, 2.5, 2.8, 1.3, 0.0],
]

# logger: a simple logging object
class SimpleLogger:
    def log(self, msg):
        print(msg)

logger = SimpleLogger()

ARGS = {
    "X": X,
    "y": y,
    "train_idx": train_idx,
    "test_idx": test_idx,
    "distances": distances,
    "logger": logger,
}
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 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
process_data Ran
ran on a synthesized input
daochenzha/autoshard/gen_dlrm_data.py
code served (permissive licence) · get_code("43f4e10ab0642572")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 tempfile
import os

torch.manual_seed(0)

# Create a temporary file to store the data
temp_dir = tempfile.gettempdir()
data_path = os.path.join(temp_dir, "test_data.pt")

# Build tensors for indices, offsets, and lengths
# num_tables = 2, batch_size = 3
num_tables = 2
batch_size = 3

# indices: flattened index values across all tables and batches
indices = torch.tensor([1, 2, 3, 1, 2, 5, 0, 1, 2, 3, 4, 5, 1, 1, 2], dtype=torch.long)

# offsets: pointers into indices for each batch element across all tables
# For 2 tables with batch_size 3, we need 2 * (3+1) = 8 offsets
offsets = torch.tensor([0, 3, 6, 9, 0, 4, 8, 12], dtype=torch.long)

# lengths: shape (num_tables, batch_size) - number of entries per table per batch
lengths = torch.tensor([[3, 3, 3], [4, 4, 3]], dtype=torch.long)

# Save the data
torch.save((indices, offsets, lengths), data_path)

ARGS = {
    "data_path": data_path
}
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 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
read_csv Ran
ran on a synthesized input
daochenzha/Meta-AAD/meta_aad/utils.py
code served (permissive licence) · get_code("91208082a6886cd7")
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 io

# Create a small CSV content as a string
csv_content = """name,age,city
Alice,30,New York
Bob,25,Los Angeles
Charlie,35,Chicago"""

# Convert string to file-like object
csv_file = io.StringIO(csv_content)

ARGS = {
    'file': csv_file,
    'header': None,
    'sep': ',',
    'index_col': None,
    'skiprows': None,
    'usecols': None,
    'encoding': 'utf8'
}
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 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
read_dataset Ran
ran on a synthesized input
daochenzha/simtsc/src/utils.py
code served (permissive licence) · get_code("06a34bf9802aadc9")
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 os
import tempfile
import numpy as np
import pandas as pd
from sklearn.preprocessing import LabelEncoder

# Create a temporary directory structure with mock UCR dataset files
temp_dir = tempfile.mkdtemp()
ucr_root_dir = temp_dir
dataset_name = "TestDataset"
dataset_dir = os.path.join(ucr_root_dir, dataset_name)
os.makedirs(dataset_dir, exist_ok=True)

# Create mock TRAIN file
np.random.seed(0)
n_train = 10
n_test = 8
seq_length = 20

train_labels = np.array([0, 0, 0, 1, 1, 1, 2, 2, 2, 2])
train_data = np.random.randn(n_train, seq_length).astype(np.float32)
train_df = pd.DataFrame(np.column_stack([train_labels, train_data]))
train_df.to_csv(os.path.join(dataset_dir, dataset_name + '_TRAIN.tsv'), sep='\t', header=False, index=False)

# Create mock TEST file
test_labels = np.array([0, 1, 1, 2, 0, 2, 1, 0])
test_data = np.random.randn(n_test, seq_length).astype(np.float32)
test_df = pd.DataFrame(np.column_stack([test_labels, test_data]))
test_df.to_csv(os.path.join(dataset_dir, dataset_name + '_TEST.tsv'), sep='\t', header=False, index=False)

shot = 2

ARGS = {
    'ucr_root_dir': ucr_root_dir,
    'dataset_name': dataset_name,
    'shot': shot
}
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
read_dataset_from_npy Ran
ran on a synthesized input
daochenzha/simtsc/src/utils.py
code served (permissive licence) · get_code("1ecbffbc5d0eea38")
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 tempfile
import os

# Create a temporary .npy file with the expected structure
temp_dir = tempfile.mkdtemp()
temp_path = os.path.join(temp_dir, "test_dataset.npy")

# Create sample data matching the expected dictionary structure
data_dict = {
    'X': np.random.randn(10, 4).astype(np.float32),  # 10 samples, 4 features
    'y': np.random.randint(0, 2, size=(10,)),  # 10 labels
    'train_idx': np.array([0, 1, 2, 3, 4, 5]),  # Training indices
    'test_idx': np.array([6, 7, 8, 9])  # Test indices
}

# Save as .npy file
np.save(temp_path, data_dict)

ARGS = {
    'path': temp_path
}
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 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
register_sharder Ran
ran; our contract draft was wrong, not the code
daochenzha/autoshard/autoshard/sharders.py
code served (permissive licence) · get_code("1853184b9cb1b65f")
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 function. 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 register_sharder function is a decorator factory
# It takes a sharder_name (string) and returns a decorator
# The decorator wraps a function and registers it in _sharders dict
# We need to provide a sharder_name string

sharder_name = "test_sharder"

ARGS = {
    "sharder_name": sharder_name
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
swap_and_flatten Ran
ran, violated the contract we drafted
daochenzha/Meta-AAD/meta_aad/ppo2.py
pointer only (licence: MIT); the stored copy get_code serves, from IrisLi17/self-imitation-via-reduction, is pointer only (licence: NONE) · get_code("abd71f89b632da7f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from IrisLi17/self-imitation-via-reduction, and GitHub detected no licence in that repository 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.

table_size Ran
ran on a synthesized input
daochenzha/autoshard/autoshard/utils.py
code served (permissive licence) · get_code("3515cb6082291847")
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 torch
import numpy as np

torch.manual_seed(0)

ARGS = {
    "hash_size": 1000000,
    "dim": 128,
    "fp16": False,
}
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 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
warmup Ran
ran on a synthesized input
daochenzha/autoshard/autoshard/bench.py
code served (permissive licence) · get_code("7932098d03c9573f")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch.nn as nn
from typing import Any, Callable

torch.manual_seed(0)

# Create a simple operation that returns a tensor with gradients
class SimpleOp(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x).sum()

# Instantiate the operation
op = SimpleOp()

# Create input tensor (batch_size=2, input_dim=4)
input_tensor = torch.randn(2, 4, requires_grad=True)

# Arguments for the operation
args = [input_tensor]
kwargs = {}

# Create gradient tensor for backward pass
grads_tensor = torch.tensor(1.0)

# Device
device = 'cpu'

# Number of iterations
num_iter = 2

ARGS = {
    'op': op,
    'args': args,
    'kwargs': kwargs,
    'grads_tensor': grads_tensor,
    'device': device,
    'num_iter': num_iter
}
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 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
measure_latency Not yet run
unverified (harvested, no recorded run)
daochenzha/autoshard/autoshard/bench.py
code served (permissive licence) · get_code("0eea246a0d6016fa")
How it ran

no invocation recorded.

read_data_as_matrix Not yet run
unverified (harvested, no recorded run)
daochenzha/Meta-AAD/meta_aad/utils.py
code served (permissive licence) · get_code("5ed38dadf9d7729f")
How it ran

no invocation recorded.

read_multivariate_dataset Not yet run
unverified (harvested, no recorded run)
daochenzha/simtsc/src/utils.py
code served (permissive licence) · get_code("8b7b6df9e9e64197")
How it ran

no invocation recorded.

shard Not yet run
unverified (harvested, no recorded run)
daochenzha/autoshard/autoshard/sharders.py
code served (permissive licence) · get_code("cf5a0b7bf5c33cb1")
How it ran

no invocation recorded.

Also present in other papers' code

Of 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 0 later) and 16 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
action_log_probs 1 other paper
1 dated earlier
1802.01561 (2018-02)
IMPALA: Scalable Distributed Deep-RL with Importance Weighted Actor-Learner Architectures
from_logits 1 other paper
1 dated earlier
1802.01561 (2018-02)
IMPALA: Scalable Distributed Deep-RL with Importance Weighted Actor-Learner Architectures
register_sharder 1 other paper
1 dated earlier
2210.02023 (2022-10)
DreamShard: Generalizable Embedding Table Placement for Recommender Systems
swap_and_flatten 1 other paper
1 dated earlier
2103.07607 (2021-03)
Solving Compositional Reinforcement Learning Problems via Task Reduction

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

Artificial Intelligence (AI) is making a profound impact in almost every domain. A vital enabler of its great success is the availability of abundant and high-quality data for building machine learning models. Recently, the role of data in AI has been significantly magnified, giving rise to the emerging concept of data-centric AI. The attention of researchers and practitioners has gradually shifted from advancing model design to enhancing the quality and quantity of the data. In this survey, we discuss the necessity of data-centric AI, followed by a holistic view of three general data-centric goals (training data development, inference data development, and data maintenance) and the representative methods. We also organize the existing literature from automation and collaboration perspectives, discuss the challenges, and tabulate the benchmarks for various tasks. We believe this is the first comprehensive survey that provides a global view of a spectrum of tasks across various stages of the data lifecycle. We hope it can help the readers efficiently grasp a broad picture of this field, and equip them with the techniques and further research ideas to systematically engineer data for building AI systems. A companion list of data-centric AI resources will be regularly updated on https://github.com/daochenzha/data-centric-AI

For agents

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

get_harvested_code_for_paper("2303.10158")
get_code_for_paper("2303.10158")
have("2303.10158")

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

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

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

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

Connect an agent — have() is free.