SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2010.12760 · ICML · 2021

Dataset Dynamics via Gradient Flows in Probability Space

David Alvarez-Melis, Nicolò Fusi

arXiv · PDF · Open in the Atlas

Code that ran

14 of 22 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 14 have no contract verdict; 0 failures of our instrument; 8 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/2010.12760.json · badge: /api/ran/2010.12760.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
microsoft/otdd community (classifier label)
classifier basis not recorded on the link
14 ran · 8 no recorded run
FunctionStatusWhere it lives
affine_feature_norm Ran
ran on a synthesized input
microsoft/otdd/otdd/pytorch/functionals.py
code served (permissive licence) · get_code("fe65bf2ed1bf2fd3")
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

torch.manual_seed(0)

# X is used with .norm(dim=1) and @ operator
# Y is not used in the function body
# A is used with @ operator (X @ A)
# b is used in subtraction and .norm(dim=1)
# threshold is used as a condition and passed to torch.nn.functional.threshold
# weight is multiplied with the final result

X = torch.randn(2, 4)  # batch_size=2, feature_dim=4
Y = torch.randn(2, 3)  # not used but provided
A = torch.randn(4, 5)  # (feature_dim, output_dim) for X @ A
b = torch.randn(5)     # matches output dimension after X @ A
threshold = 0.5
weight = 2.0

ARGS = {
    "X": X,
    "Y": Y,
    "A": A,
    "b": b,
    "threshold": threshold,
    "weight": weight,
}
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 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
as_si Ran
ran on a synthesized input
microsoft/otdd/otdd/plotting.py
code served (permissive licence) · get_code("a7ad9c0571a0b644")
How it ran

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

import torch
import numpy as np

torch.manual_seed(0)

# Analyze the function:
# - x: a number that will be formatted using '{x:0.{ndp:d}e}'.format()
# - ndp: an integer specifying decimal places in scientific notation format
# The function converts a number to LaTeX-style scientific notation

ARGS = {
    'x': 1234.5678,
    'ndp': 3
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
binary_hyperplane_margin Ran
ran on a synthesized input
microsoft/otdd/otdd/pytorch/functionals.py
code served (permissive licence) · get_code("bc93b440de03c16b")
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

torch.manual_seed(0)

# X: input features, shape (batch_size, feature_dim)
# For a 2-sample batch with 4 features
X = torch.randn(2, 4)

# Y: binary labels, expected to be {0, 1}
Y = torch.randint(0, 2, (2,), dtype=torch.float32)

# w: weight vector for the hyperplane, shape (feature_dim,)
w = torch.randn(4)

# b: bias term for the hyperplane, scalar
b = torch.tensor(0.5)

# weight: scalar multiplier for the loss
weight = 1.0

ARGS = {
    "X": X,
    "Y": Y,
    "w": w,
    "b": b,
    "weight": weight,
}
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 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
cov Ran
ran on a synthesized input
microsoft/otdd/otdd/pytorch/moments.py
code served (permissive licence) · get_code("55b79342272ecb51")
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 (3, 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

torch.manual_seed(0)

# Construct a 2-D tensor with shape (3, 4)
# 3 variables, 4 observations
m = torch.randn(3, 4)

# Construct mean as None (will be computed in function)
mean = None

# rowvar=True means rows are variables, columns are observations
rowvar = True

# inplace=False means don't modify the input tensor in place
inplace = False

ARGS = {
    "m": m,
    "mean": mean,
    "rowvar": rowvar,
    "inplace": inplace,
}
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 (3, 3) — shape (3, 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
dataset_from_numpy Ran
ran on a synthesized input
microsoft/otdd/otdd/pytorch/datasets.py
code served (permissive licence) · get_code("9925fca6d2b2916e")
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 TensorDataset. 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 torch

torch.manual_seed(0)

# Create small sample data
# X: 2 samples, 4 features
X = np.random.randn(2, 4).astype(np.float32)

# Y: 2 labels (classes 0 and 1)
Y = np.array([0, 1])

# classes: list of class labels
classes = [0, 1]

ARGS = {
    "X": X,
    "Y": Y,
    "classes": classes
}
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 TensorDataset — a TensorDataset 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
dimension_collapse Ran
ran on a synthesized input
microsoft/otdd/otdd/pytorch/functionals.py
code served (permissive licence) · get_code("fab376d56097e0b1")
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

torch.manual_seed(0)

# Create small tensors for X and Y
# X should have shape (batch_size, num_dims) where we can index by dim
# Y is not used in the function body, but we need to provide it
X = torch.randn(2, 4)  # batch_size=2, num_dims=4
Y = torch.randn(2, 3)  # batch_size=2, different size for Y

ARGS = {
    "X": X,
    "Y": Y,
    "dim": 1,
    "v": 0.5,
    "weight": 2.0
}
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 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
dimreduce_means_covs Ran
ran on a synthesized input
microsoft/otdd/otdd/pytorch/moments.py
code served (permissive licence) · get_code("0364431038c0888f")
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 torch
import numpy as np

torch.manual_seed(0)

# Create small test tensors
# Means: list of 2 tensors with shapes (n1, d1) and (n2, d2)
# Using distinct dimensions: n1=2, d1=4, n2=3, d2=4
Means = [
    torch.randn(2, 4),
    torch.randn(3, 4)
]

# Covs: list of 2 tensors representing covariance matrices
# For each task: (num_samples, d, d) where d=4
Covs = [
    torch.randn(2, 4, 4),
    torch.randn(3, 4, 4)
]

# Make covariances symmetric positive semi-definite
Covs[0] = Covs[0] @ Covs[0].transpose(-2, -1)
Covs[1] = Covs[1] @ Covs[1].transpose(-2, -1)

ARGS = {
    'Means': Means,
    'Covs': Covs,
    'redtype': 'diagonal'
}
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
get_plot_ranges Ran
ran on a synthesized input
microsoft/otdd/otdd/plotting.py
code served (permissive licence) · get_code("99f62aec128f4e86")
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 torch
import numpy as np

torch.manual_seed(0)

# Construct a 2D tensor with shape (4, 2) for X
# The function expects X[:, 0] and X[:, 1] to be extractable (2D array/tensor with at least 2 columns)
X = torch.tensor([
    [1.0, 2.0],
    [3.0, 4.0],
    [5.0, 6.0],
    [7.0, 8.0]
])

ARGS = {
    "X": X
}
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, 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
heatmap Ran
ran on a synthesized input
microsoft/otdd/otdd/plotting.py
code served (permissive licence) · get_code("111f3719f5e48079")
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 matplotlib.pyplot as plt
import numpy as np

# Create sample data
np.random.seed(0)
data = np.random.rand(4, 3)  # 4 rows, 3 columns

# Create labels
row_labels = ['Row_A', 'Row_B', 'Row_C', 'Row_D']
col_labels = ['Col_1', 'Col_2', 'Col_3']

# Create axes
fig, ax = plt.subplots()

# Create colorbar kwargs
cbar_kw = {'shrink': 0.8}

# Create cbarlabel
cbarlabel = 'Value'

# Additional kwargs for imshow
imshow_kwargs = {'cmap': 'viridis', 'aspect': 'auto'}

ARGS = {
    'data': data,
    'row_labels': row_labels,
    'col_labels': col_labels,
    'ax': ax,
    'cbar': True,
    'cbar_kw': cbar_kw,
    'cbarlabel': cbarlabel,
    **imshow_kwargs
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy — 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
inverse_normalize Ran
ran on a synthesized input
microsoft/otdd/otdd/pytorch/utils.py
code served (permissive licence) · get_code("8c145c5564b78973")
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 4, dtype family float, shape (2, 4, 3, 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 torch
import torch.nn as nn

torch.manual_seed(0)

# Construct arguments for inverse_normalize function
# The function expects:
# - tensor: a 4D tensor with shape (batch, channels, height, width)
# - mean: a list/sequence of mean values (one per channel)
# - std: a list/sequence of std values (one per channel)

# Create a small 4D tensor: batch=2, channels=4, height=3, width=5
tensor = torch.randn(2, 4, 3, 5)

# Create mean and std lists matching the number of channels (4)
mean = [0.485, 0.456, 0.406, 0.5]
std = [0.229, 0.224, 0.225, 0.2]

ARGS = {
    "tensor": tensor,
    "mean": mean,
    "std": std,
}
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 4, dtype family float, shape (2, 4, 3, 5) — shape (2, 4, 3, 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
launch_logger Ran
ran on a synthesized input
microsoft/otdd/otdd/utils.py
code served (permissive licence) · get_code("652ff7cd9e338b0c")
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 RootLogger. 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 sys
import logging
import tempfile

ARGS = {
    'console_level': 'warning'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type RootLogger — a RootLogger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a RootLogger 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
process_device_arg Ran
ran on a synthesized input
microsoft/otdd/otdd/pytorch/utils.py
code served (permissive licence) · get_code("e12b5e7de92459e1")
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 device. 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

torch.manual_seed(0)

# The function accepts a device argument which can be:
# - None (will default to cuda if available, else cpu)
# - A string (will be converted to torch.device)
# - A torch.device object (passed through)

# Test case 1: None
ARGS = {
    "device": None
}
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 device — a device output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a device 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
random_index_split Ran
ran on a synthesized input
microsoft/otdd/otdd/pytorch/utils.py
code served (permissive licence) · get_code("bccbd63c8c2c029b")
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

# Set random seed for reproducibility
np.random.seed(42)

# Test case 1: input as int
ARGS = {
    "input": 100,
    "alpha": 0.9,
    "max_split_sizes": (None, None)
}

# Alternative test cases (uncomment to test different scenarios):
# ARGS = {
#     "input": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
#     "alpha": 0.8,
#     "max_split_sizes": (None, None)
# }

# ARGS = {
#     "input": np.array([10, 20, 30, 40, 50]),
#     "alpha": 0.7,
#     "max_split_sizes": (3, 2)
# }

# ARGS = {
#     "input": 50,
#     "alpha": 0.75,
#     "max_split_sizes": (20, 15)
# }
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
sort_by_label Ran
ran on a synthesized input
microsoft/otdd/otdd/pytorch/datasets.py
code served (permissive licence) · get_code("64986354a6b8ac35")
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

# Construct valid arguments for sort_by_label(X, Y)
# The function expects:
# - X: a 2D array that supports fancy indexing with [idxs, :]
# - Y: a 1D array that can be sorted with np.argsort()

X = np.array([[1.0, 2.0, 3.0, 4.0],
              [5.0, 6.0, 7.0, 8.0]])

Y = np.array([3, 1])

ARGS = {
    "X": X,
    "Y": Y
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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
bbures_distance Not yet run
unverified (harvested, no recorded run)
microsoft/otdd/otdd/pytorch/wasserstein.py
code served (permissive licence) · get_code("c364a985c4b4d2a5")
How it ran

no invocation recorded.

bures_distance Not yet run
unverified (harvested, no recorded run)
microsoft/otdd/otdd/pytorch/wasserstein.py
code served (permissive licence) · get_code("229665e6772911e1")
How it ran

no invocation recorded.

compute_label_stats Not yet run
unverified (harvested, no recorded run)
microsoft/otdd/otdd/pytorch/moments.py
code served (permissive licence) · get_code("bd30bd3381bb38ad")
How it ran

no invocation recorded.

special_sylvester Not yet run
unverified (harvested, no recorded run)
microsoft/otdd/otdd/pytorch/sqrtm.py
code served (permissive licence) · get_code("44330ff2301fa4af")
How it ran

no invocation recorded.

subdataset_from_labels Not yet run
unverified (harvested, no recorded run)
microsoft/otdd/otdd/pytorch/datasets.py
code served (permissive licence) · get_code("aa69746c8a70084e")
How it ran

no invocation recorded.

symsqrt_v1 Not yet run
unverified (harvested, no recorded run)
microsoft/otdd/otdd/pytorch/sqrtm.py
code served (permissive licence) · get_code("1216a62e004bbcfb")
How it ran

no invocation recorded.

symsqrt_v2 Not yet run
unverified (harvested, no recorded run)
microsoft/otdd/otdd/pytorch/sqrtm.py
code served (permissive licence) · get_code("4d8d971cc420c07c")
How it ran

no invocation recorded.

wasserstein_gauss_distance Not yet run
unverified (harvested, no recorded run)
microsoft/otdd/otdd/pytorch/wasserstein.py
code served (permissive licence) · get_code("dfe3624311e691f5")
How it ran

no invocation recorded.

Also present in other papers' code

Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 4 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 4 later) and 18 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
as_si 1 other paper
1 later
Li_Data_Valuation_and_Detections_in_Federated_Learning_CVPR_2024_paper (2024 (year only))
Data Valuation and Detections in Federated Learning
get_plot_ranges 1 other paper
1 later
Li_Data_Valuation_and_Detections_in_Federated_Learning_CVPR_2024_paper (2024 (year only))
Data Valuation and Detections in Federated Learning
heatmap 1 other paper
1 later
Li_Data_Valuation_and_Detections_in_Federated_Learning_CVPR_2024_paper (2024 (year only))
Data Valuation and Detections in Federated Learning
launch_logger 1 other paper
1 later
Li_Data_Valuation_and_Detections_in_Federated_Learning_CVPR_2024_paper (2024 (year only))
Data Valuation and Detections in Federated Learning

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

Various machine learning tasks, from generative modeling to domain adaptation, revolve around the concept of dataset transformation and manipulation. While various methods exist for transforming unlabeled datasets, principled methods to do so for labeled (e.g., classification) datasets are missing. In this work, we propose a novel framework for dataset transformation, which we cast as optimization over data-generating joint probability distributions. We approach this class of problems through Wasserstein gradient flows in probability space, and derive practical and efficient particle-based methods for a flexible but well-behaved class of objective functions. Through various experiments, we show that this framework can be used to impose constraints on classification datasets, adapt them for transfer learning, or to re-purpose fixed or blackbox models to classify -with high accuracypreviously unseen datasets.

For agents

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

get_harvested_code_for_paper("2010.12760")
get_code_for_paper("2010.12760")
have("2010.12760")

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

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

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

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

Connect an agent — have() is free.