SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.08777 · 2023

MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splitting

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 (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 4 failures of our instrument; 2 no recorded run), measured 2026-11-24; 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/2306.08777.json · badge: /api/ran/2306.08777.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
antoninschrab/mmdfuse-paper canonical (classifier label)
classifier basis: census
13 ran · 2 no recorded run
FunctionStatusWhere it lives
G Ran
ran on a synthesized input
antoninschrab/mmdfuse-paper/sampler_perturbations.py
code served (permissive licence) · get_code("74f5342c2c79173c")
How it ran

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

import numpy as np

def G(x):
    """
    Function G defined in Section 5.4 of our paper.
    input: x: real number
    output: G(x): real number
    """
    if -1 < x and x < -0.5:
        return np.exp(-1 / (1 - (4 * x + 3) ** 2))
    if -0.5 < x and x < 0:
        return -np.exp(-1 / (1 - (4 * x + 1) ** 2))
    return 0

# Test with various real numbers
test_values = [
    -0.75,  # Falls in first condition: -1 < x < -0.5
    -0.25,  # Falls in second condition: -0.5 < x < 0
    0.5,    # Falls in return 0 case
    -1.5,   # Falls in return 0 case
]

ARGS = {
    "x": -0.75
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
MMDu Ran
ran; our contract draft was wrong, not the code
antoninschrab/mmdfuse-paper/other_tests/deep_mmd_not_image.py
code served (permissive licence) · get_code("b2fd0117a1785dcf")
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

torch.manual_seed(0)

# Create small tensors with distinct sizes
# Fea and Fea_org should have the same shape: (total_samples, feature_dim)
# We'll use 4 total samples (2 from class X, 2 from class Y) with 3 features
total_samples = 4
feature_dim = 3
len_s = 2  # First 2 samples are X, remaining 2 are Y

# Create feature tensors
Fea = torch.randn(total_samples, feature_dim)
Fea_org = torch.randn(total_samples, feature_dim)

# Define parameters
sigma = 1.0
sigma0 = 0.1
epsilon = 1e-10
is_smooth = True
is_var_computed = True
use_1sample_U = True

ARGS = {
    "Fea": Fea,
    "len_s": len_s,
    "Fea_org": Fea_org,
    "sigma": sigma,
    "sigma0": sigma0,
    "epsilon": epsilon,
    "is_smooth": is_smooth,
    "is_var_computed": is_var_computed,
    "use_1sample_U": use_1sample_U,
}
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
MatConvert Ran
ran; our contract draft was wrong, not the code
antoninschrab/mmdfuse-paper/other_tests/deep_mmd_image.py
code served (permissive licence) · get_code("6a971acad70e55e1")
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. 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, 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 a small numpy array to convert
x = np.random.randn(2, 4).astype(np.float32)

# Use CPU device instead of CUDA
device = torch.device('cpu')

# Set dtype
dtype = torch.float

ARGS = {
    'x': x,
    'device': device,
    'dtype': dtype
}
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 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
MatConvert Ran
ran; our contract draft was wrong, not the code
antoninschrab/mmdfuse-paper/other_tests/deep_mmd_not_image.py
code served (permissive licence) · get_code("8dae3f1d2133e338")
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. 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, 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 a small numpy array
x = np.random.randn(2, 4).astype(np.float32)

# Set device to CPU (no CUDA)
device = torch.device('cpu')

# Set dtype
dtype = torch.float

ARGS = {
    'x': x,
    'device': device,
    'dtype': dtype
}
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 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
compute_bandwidths Ran
ran on a synthesized input
antoninschrab/mmdfuse-paper/kernel.py
code served (permissive licence) · get_code("ff420ac5893b251d")
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 ArrayImpl, ndim 1, dtype family float, 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 jax.numpy as jnp
import numpy as np

# Create small test data for X and Y
# X and Y should be 2D arrays (batch, features)
X = jnp.array([
    [1.0, 2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0, 8.0]
], dtype=jnp.float32)

Y = jnp.array([
    [1.5, 2.5, 3.5, 4.5],
    [5.5, 6.5, 7.5, 8.5]
], dtype=jnp.float32)

# Define ARGS dict with all parameters for compute_bandwidths
ARGS = {
    'X': X,
    'Y': Y,
    'l': 'l2',
    'number_bandwidths': 5,
    'only_median': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 1, dtype family float, 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
f0 Ran
ran on a synthesized input
antoninschrab/mmdfuse-paper/sampler_perturbations.py
code served (permissive licence) · get_code("3de090d02c055924")
How it ran

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

import numpy as np

# The function f0 takes a single parameter 'x' which should be an array
# It checks if all values are between 0 and 1 (inclusive)
# and returns 1 if true, 0 otherwise

# Create a test array that satisfies the condition (all values in [0, 1])
x_valid = np.array([0.2, 0.5, 0.8, 0.1])

ARGS = {
    "x": x_valid
}
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 int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
f_theta Ran
ran on a synthesized input
antoninschrab/mmdfuse-paper/sampler_perturbations.py
code served (permissive licence) · get_code("8f3b20cf3cb686c2")
How it ran

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

import numpy as np

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

# Define ARGS dict with all parameters for f_theta
ARGS = {
    'x': np.array([0.3, 0.5, 0.2, 0.7]),  # (d,) array, d=4
    'p': 3,  # non-negative integer (number of perturbations)
    's': 1.5,  # positive number (smoothness parameter)
    'perturbation_multiplier': 0.5,  # positive number (c_d in Eq. (17))
    'seed': 123  # integer random seed
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_item Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
antoninschrab/mmdfuse-paper/other_tests/deep_mmd_image.py
code served (permissive licence) · get_code("ada1992bbe1e1e8b")
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, 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 numpy as np

torch.manual_seed(0)

# Create a small tensor for testing
x = torch.randn(2, 4)

# is_cuda parameter
is_cuda_value = False

ARGS = {
    "x": x,
    "is_cuda": is_cuda_value
}
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, 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
jax_distances Ran
ran on a synthesized input
antoninschrab/mmdfuse-paper/kernel.py
code served (permissive licence) · get_code("96320bb32a7c4b9b")
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 ArrayImpl, ndim 1, dtype family float, shape (6,) 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 jax.numpy as jnp
import numpy as np

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

# Create small test tensors
X = jnp.array(np.random.randn(2, 4), dtype=jnp.float32)  # 2 samples, 4 dimensions
Y = jnp.array(np.random.randn(3, 4), dtype=jnp.float32)  # 3 samples, 4 dimensions

ARGS = {
    'X': X,
    'Y': Y,
    'l': 'l2',
    'max_samples': None,
    'matrix': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 1, dtype family float, shape (6,) — shape (6,) 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
kernel_matrix Ran
ran on a synthesized input
antoninschrab/mmdfuse-paper/kernel.py
code served (permissive licence) · get_code("dbcb6b687249d1a2")
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 ArrayImpl, ndim 2, dtype family float, shape (4, 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 jax.numpy as jnp
import numpy as np

# Create a small pairwise distance matrix (2m x 2m)
# Using m=2, so we get a 4x4 matrix
pairwise_matrix = jnp.array([
    [0.0, 1.5, 2.3, 3.1],
    [1.5, 0.0, 1.2, 2.0],
    [2.3, 1.2, 0.0, 0.8],
    [3.1, 2.0, 0.8, 0.0]
], dtype=jnp.float32)

# Define parameters
l = "l2"
kernel = "gaussian"
bandwidth = 1.0
rq_kernel_exponent = 0.5

ARGS = {
    "pairwise_matrix": pairwise_matrix,
    "l": l,
    "kernel": kernel,
    "bandwidth": bandwidth,
    "rq_kernel_exponent": rq_kernel_exponent
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (4, 4) — shape (4, 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
ratio_mmd_std Ran
ran on a synthesized input
antoninschrab/mmdfuse-paper/mmd_split.py
code served (permissive licence) · get_code("e098ad70adbd383d")
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 ArrayImpl, 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 jax.numpy as jnp
import numpy as np

# The function expects a kernel matrix K of shape (2n, 2n)
# where the first n rows/cols correspond to X and the second n to Y
# We'll create a small 4x4 kernel matrix (n=2)

n = 2
K = jnp.array([
    [1.0, 0.5, 0.3, 0.2],
    [0.5, 1.0, 0.4, 0.1],
    [0.3, 0.4, 1.0, 0.6],
    [0.2, 0.1, 0.6, 1.0]
], dtype=jnp.float32)

ARGS = {
    "K": K
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, 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
sampler_galaxy Ran
ran on a synthesized input
antoninschrab/mmdfuse-paper/sampler_galaxy.py
code served (permissive licence) · get_code("1bd578f7d2dc6c47")
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 jax
import jax.numpy as jnp
from jax import random

# Create a JAX random key
key = random.PRNGKey(0)

# Parameters for the function
m = 5  # number of samples for X
n = 8  # number of samples for Y
corruption = 0.3  # corruption probability

# Create small image tensors for each label class
# Each image is a small 4-dimensional vector to keep it tiny
images_0 = jnp.ones((10, 4))  # 10 images with label 0
images_1 = jnp.ones((10, 4)) * 1.0  # 10 images with label 1
images_2 = jnp.ones((10, 4)) * 2.0  # 10 images with label 2
images_3 = jnp.ones((10, 4)) * 3.0  # 10 images with label 3

# Create the images_list as expected by the function
images_list = [images_0, images_1, images_2, images_3]

# Construct the ARGS dictionary
ARGS = {
    "key": key,
    "m": m,
    "n": n,
    "corruption": corruption,
    "images_list": images_list,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — 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
sampler_mixture Ran
ran on a synthesized input
antoninschrab/mmdfuse-paper/sampler_mixture.py
code served (permissive licence) · get_code("64efdbe02b940c75")
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 jax
import jax.numpy as jnp
from jax import random

ARGS = {
    "key": random.PRNGKey(0),
    "m": 2,
    "n": 3,
    "d": 4,
    "mu": 20,
    "std_1": 1,
    "std_2": 2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — 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
deep_mmd_image Not yet run
unverified (harvested, no recorded run)
antoninschrab/mmdfuse-paper/other_tests/deep_mmd_image.py
code served (permissive licence) · get_code("0f5d8713d451077f")
How it ran

no invocation recorded.

deep_mmd_not_image Not yet run
unverified (harvested, no recorded run)
antoninschrab/mmdfuse-paper/other_tests/deep_mmd_not_image.py
code served (permissive licence) · get_code("0b574a538a744679")
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 14 distinct functions with an identity, 6 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 2 later) and 8 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
MatConvert 2 other papers
1 dated earlier, 1 later
2106.07636 (2021-06)
Meta Two-Sample Testing: Learning Kernels for Testing with Limited Data
2507.12843 (2025-07)
Are Two Datasets Close Enough With Statistical Significance? A Kernel Distributional Closeness Testing Approach
G 1 other paper
1 dated earlier
2110.15073 (2021-10)
MMD Aggregated Two-Sample Test
MMDu 1 other paper
1 later
2506.05047 (2025-06)
Reliably Detecting Model Failures in Deployment Without Labels
f0 1 other paper
1 dated earlier
2110.15073 (2021-10)
MMD Aggregated Two-Sample Test
f_theta 1 other paper
1 dated earlier
2110.15073 (2021-10)
MMD Aggregated Two-Sample Test
get_item 1 other paper
1 dated earlier
2206.08843 (2022-06)
AutoML Two-Sample Test

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-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We propose novel statistics which maximise the power of a two-sample test based on the Maximum Mean Discrepancy (MMD), by adapting over the set of kernels used in defining it. For finite sets, this reduces to combining (normalised) MMD values under each of these kernels via a weighted soft maximum. Exponential concentration bounds are proved for our proposed statistics under the null and alternative. We further show how these kernels can be chosen in a data-dependent but permutation-independent way, in a well-calibrated test, avoiding data splitting. This technique applies more broadly to general permutation-based MMD testing, and includes the use of deep kernels with features learnt using unsupervised models such as auto-encoders. We highlight the applicability of our MMD-FUSE test on both synthetic low-dimensional and real-world high-dimensional data, and compare its performance in terms of power against current state-of-the-art kernel tests.

For agents

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

get_harvested_code_for_paper("2306.08777")
get_code_for_paper("2306.08777")
have("2306.08777")

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

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

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

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

Connect an agent — have() is free.