SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2204.00887 · 2022

Dimensionless machine learning: Imposing exact units equivariance

arXiv · PDF · Open in the Atlas

Code that ran

15 of 17 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 9 have no contract verdict; 5 failures of our instrument; 2 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/2204.00887.json · badge: /api/ran/2204.00887.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
weichiyao/scalaremlp canonical (classifier label)
classifier basis not recorded on the link
15 ran · 2 no recorded run
FunctionStatusWhere it lives
LBface_swap Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
weichiyao/scalaremlp/scalaremlp/datasets.py
code served (permissive licence) · get_code("7a51a150eb170ac2")
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, 34) 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 takes a state parameter which is a numpy array
# It performs:
# 1. .copy() on state
# 2. Indexing with [:, L_B_center_top_faces] 
# 3. np.roll() on an array
# So state needs to be a 2D numpy array

# Create a small state array
# First dimension is batch (size 2), second dimension contains pieces (at least 33 elements for indices 33 and 25)
state = np.arange(2 * 34).reshape(2, 34).astype(np.float32)

ARGS = {
    "state": state
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 34) — shape (2, 34) 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
UBedge_flip Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
weichiyao/scalaremlp/scalaremlp/datasets.py
code served (permissive licence) · get_code("d867e51e2ce022c2")
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 int, shape (6, 48) 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

# Construct a valid state for the Rubik's cube
# The function expects shape (6, 48) based on the docstring
# 6 appears to be batch size, 48 appears to be edge positions

state = np.arange(6 * 48, dtype=np.int32).reshape(6, 48)

ARGS = {
    "state": state
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family int, shape (6, 48) — shape (6, 48) 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
ULBcorner_rot Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
weichiyao/scalaremlp/scalaremlp/datasets.py
code served (permissive licence) · get_code("791a506bebdb19cf")
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, 33) 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

# Analyzing the function:
# - state: a numpy array that supports .copy() and indexing with [:, indices]
#   The function treats it as a 2D array where first dimension is batch, second is features
# - i: an integer for rotation amount (default=1)

# Create a small state array: shape (2, 32) - batch of 2, with 32 features (enough to cover indices 0, 4*8=32, 3*8+2=26)
state = np.random.randn(2, 33)  # 33 to safely cover all indices

ARGS = {
    "state": state,
    "i": 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 33) — shape (2, 33) 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
both_concrete Ran
ran on a synthesized input
weichiyao/scalaremlp/scalaremlp/reps/product_sum_reps.py
code served (permissive licence) · get_code("c5a538eb4059635a")
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 bool, 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

torch.manual_seed(0)

class ConcreteRep:
    """A representation object with a concrete attribute."""
    def __init__(self, concrete_value):
        self.concrete = concrete_value

class NonConcreteRep:
    """A representation object without a concrete attribute."""
    pass

# Create test representations
rep1 = ConcreteRep(True)
rep2 = ConcreteRep(False)

ARGS = {
    "rep1": rep1,
    "rep2": rep2,
}
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 bool, 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
comp_inner_products Ran
ran on a synthesized input
weichiyao/scalaremlp/scalaremlp/nn/objax.py
code served (permissive licence) · get_code("dc9fb0bd60d2edff")
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, 20) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a small test batch with shape [N, 4, dim]
# N=2 datasets, 4 vectors (q1, q2, p1, p2), dim=4 features
x = np.random.randn(2, 4, 4).astype(np.float32)

ARGS = {
    'x': x,
    'take_sqrt': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (2, 20) — shape (2, 20) 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
comp_inner_products Ran
ran on a synthesized input
weichiyao/scalaremlp/experiments/scalars_nn.py
code served (permissive licence) · get_code("8195671f48f885ee")
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, 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 torch

torch.manual_seed(0)

# Construct tiny tensor arguments
# x should be [N, n, dim] where N=batch size, n=num particles, dim=dimension
N = 2  # number of datasets
n = 3  # number of particles
dim = 4  # dimension of each particle

x = torch.randn(N, n, dim)

# stype should be either "Euclidean" or "Minkowski"
stype = "Euclidean"

# simplified is a boolean flag
simplified = True

ARGS = {
    "x": x,
    "stype": stype,
    "simplified": simplified
}
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, 6) — shape (2, 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
comp_outer_products Ran
ran on a synthesized input
weichiyao/scalaremlp/experiments/scalars_nn.py
code served (permissive licence) · get_code("b4e48946530b76bb")
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, 144) 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 should be a tensor with shape (batch, dim1, dim2)
# The function uses einsum 'bik,bjl->bijkl' and then reshapes to (N, -1)
# where N = x.shape[0] (batch dimension)
x = torch.randn(2, 4, 3)

ARGS = {
    'x': x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 144) — shape (2, 144) 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_transform Ran
ran on a synthesized input
weichiyao/scalaremlp/experiments/scalars_nn.py
code served (permissive licence) · get_code("43113a7d839cd454")
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 torch
import numpy as np

torch.manual_seed(0)

class MockData:
    def __init__(self, symname, X, Y):
        self.symname = symname
        self.X = X
        self.Y = Y

# Test case 1: O5invariant
X_o5 = np.random.randn(2, 10).astype(np.float32)  # 2 datasets, 2*5 = 10 features
Y_o5 = np.random.randint(0, 2, 2).astype(np.int64)  # 2 labels
data_o5 = MockData('O5invariant', X_o5, Y_o5)

# Test case 2: O3equivariant
# n=5, so X should have n + n*3 = 5 + 15 = 20 features
X_o3 = np.random.randn(2, 20).astype(np.float32)
Y_o3 = np.random.randint(0, 2, 2).astype(np.int64)
data_o3 = MockData('O3equivariant', X_o3, Y_o3)

# Test case 3: Lorentz
X_lorentz = np.random.randn(2, 16).astype(np.float32)  # 2 datasets, 4*4 = 16 features
Y_lorentz = np.random.randint(0, 2, 2).astype(np.int64)
data_lorentz = MockData('Lorentz', X_lorentz, Y_lorentz)

ARGS = {
    'data': data_o5
}
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 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
export Ran
ran; our contract draft was wrong, not the code
weichiyao/scalaremlp/scalaremlp/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from woriazzc/robust-pu, is pointer only (licence: NONE) · get_code("2660b9d52e1de712")
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 woriazzc/robust-pu, 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.

isintlike Ran
ran, violated the contract we drafted
weichiyao/scalaremlp/scalaremlp/reps/linear_operator_base.py
code served (permissive licence) · get_code("0a7da0d18ce0c2fc")
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 bool, 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)

# The function isintlike(x) checks if x is an instance of int
# We need to provide a valid argument for parameter x

# Test with an actual integer
x = 42

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 bool, 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
isshape Ran
ran on a synthesized input
weichiyao/scalaremlp/scalaremlp/reps/linear_operator_base.py
code served (permissive licence) · get_code("256d133bd6da0597")
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 bool, 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 np

def isintlike(x):
    return isinstance(x, int)

def isshape(x, nonneg=False):
    """Is x a valid 2-tuple of dimensions?
    If nonneg, also checks that the dimensions are non-negative.
    """
    try:
        M, N = x
    except Exception:
        return False
    else:
        if isintlike(M) and isintlike(N):
            if np.ndim(M) == 0 and np.ndim(N) == 0:
                if not nonneg or (M >= 0 and N >= 0):
                    return True
        return False

ARGS = {
    "x": (4, 3),
    "nonneg": False
}
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 bool, 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
kronsum Ran
ran on a synthesized input
weichiyao/scalaremlp/scalaremlp/reps/linear_operators.py
code served (permissive licence) · get_code("755216c79053d541")
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 (12, 12) 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 square matrices for A and B
# A will be 3x3, B will be 4x4 to have distinct dimensions
A = jnp.array([
    [1.0, 2.0, 0.0],
    [3.0, 4.0, 1.0],
    [0.0, 1.0, 2.0]
])

B = jnp.array([
    [1.0, 0.5, 0.0, 0.2],
    [0.5, 2.0, 0.1, 0.0],
    [0.0, 0.1, 3.0, 0.5],
    [0.2, 0.0, 0.5, 1.0]
])

ARGS = {
    "A": A,
    "B": B
}
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 (12, 12) — shape (12, 12) 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
matrix_power_simple Ran
ran on a synthesized input
weichiyao/scalaremlp/scalaremlp/groups.py
code served (permissive licence) · get_code("ac065ea6ecd18125")
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
import jax.numpy as jnp
from jax import jit, vmap

# Create a simple square matrix for matrix power computation
M = jnp.array([
    [2.0, 0.5, 0.1, 0.2],
    [0.3, 1.5, 0.2, 0.1],
    [0.1, 0.2, 1.8, 0.3],
    [0.2, 0.1, 0.4, 2.0]
], dtype=jnp.float32)

# Test with positive integer power
n = 3

ARGS = {
    "M": M,
    "n": n
}
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 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
noise2sample Ran
ran; our contract draft was wrong, not the code
weichiyao/scalaremlp/scalaremlp/groups.py
code served (permissive licence) · get_code("58568c4f4e25b94a")
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 (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 jax
import jax.numpy as jnp
import numpy as np

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

# Define dimensions
D = 4  # noise dimension
d = 3  # matrix dimension for lie algebra and discrete generators
M = 2  # number of discrete generators
K = 2  # number of repeats for each discrete generator

# z: noise vector of shape (D,)
z = jnp.array([0.1, 0.2, 0.3, 0.4])

# ks: shape (M, K) - integers specifying powers for discrete generators
ks = jnp.array([[2, 1], [1, 3]], dtype=jnp.int32)

# lie_algebra: shape (D, d, d) - D matrices of size d x d
lie_algebra = jnp.array(np.random.randn(D, d, d), dtype=jnp.float32)

# discrete_generators: shape (M, d, d) - M matrices of size d x d
discrete_generators = jnp.array(np.random.randn(M, d, d), dtype=jnp.float32)

# seed: integer
seed = 42

ARGS = {
    "z": z,
    "ks": ks,
    "lie_algebra": lie_algebra,
    "discrete_generators": discrete_generators,
    "seed": seed
}
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 (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
rel_err Ran
ran on a synthesized input
weichiyao/scalaremlp/scalaremlp/groups.py
code served (permissive licence) · get_code("b9e669d60e5fb206")
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

# Create two small JAX arrays for testing the relative error function
# Using distinct shapes to make dimensions unambiguous
A = jnp.array([[1.0, 2.0, 3.0, 4.0],
               [5.0, 6.0, 7.0, 8.0]])

B = jnp.array([[1.1, 2.1, 2.9, 4.2],
               [5.2, 5.9, 7.1, 7.8]])

ARGS = {
    "A": A,
    "B": B,
}
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
densify Not yet run
unverified (harvested, no recorded run)
weichiyao/scalaremlp/scalaremlp/reps/linear_operators.py
code served (permissive licence) · get_code("4279baf2a0ddfc25")
How it ran

no invocation recorded.

lazify Not yet run
unverified (harvested, no recorded run)
weichiyao/scalaremlp/scalaremlp/reps/linear_operators.py
code served (permissive licence) · get_code("6e08e48f5474ba00")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 16 are also present in other papers whose code we hold (16 with at least one paper dated earlier, 0 the same month, 8 later) and 1 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
export 6 other papers
3 dated earlier, 3 later
1904.04717 (2019-04)
Label Propagation for Deep Semi-supervised Learning
2104.09459 (2021-04)
A Practical Method for Constructing Equivariant Multilayer Perceptrons for Arbitrary Matrix Groups
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
and 3 more not named here
LBface_swap 3 other papers
2 dated earlier, 1 later
2104.09459 (2021-04)
A Practical Method for Constructing Equivariant Multilayer Perceptrons for Arbitrary Matrix Groups
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
2306.06327 (2023-06)
Any-dimensional equivariant neural networks
UBedge_flip 3 other papers
2 dated earlier, 1 later
2104.09459 (2021-04)
A Practical Method for Constructing Equivariant Multilayer Perceptrons for Arbitrary Matrix Groups
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
2306.06327 (2023-06)
Any-dimensional equivariant neural networks
ULBcorner_rot 3 other papers
2 dated earlier, 1 later
2104.09459 (2021-04)
A Practical Method for Constructing Equivariant Multilayer Perceptrons for Arbitrary Matrix Groups
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
2306.06327 (2023-06)
Any-dimensional equivariant neural networks
matrix_power_simple 3 other papers
2 dated earlier, 1 later
2104.09459 (2021-04)
A Practical Method for Constructing Equivariant Multilayer Perceptrons for Arbitrary Matrix Groups
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
2306.06327 (2023-06)
Any-dimensional equivariant neural networks
noise2sample 3 other papers
2 dated earlier, 1 later
2104.09459 (2021-04)
A Practical Method for Constructing Equivariant Multilayer Perceptrons for Arbitrary Matrix Groups
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
2306.06327 (2023-06)
Any-dimensional equivariant neural networks
rel_err 3 other papers
2 dated earlier, 1 later
2104.09459 (2021-04)
A Practical Method for Constructing Equivariant Multilayer Perceptrons for Arbitrary Matrix Groups
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
2306.06327 (2023-06)
Any-dimensional equivariant neural networks
isintlike 2 other papers
1 dated earlier, 1 later
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
2312.17173 (2023-12)
Non-Vacuous Generalization Bounds for Large Language Models
both_concrete 1 other paper
1 dated earlier
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
comp_inner_products 1 other paper
1 dated earlier
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
comp_outer_products 1 other paper
1 dated earlier
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
dataset_transform 1 other paper
1 dated earlier
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
densify 1 other paper
1 dated earlier
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
isshape 1 other paper
1 dated earlier
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
kronsum 1 other paper
1 dated earlier
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics
lazify 1 other paper
1 dated earlier
2106.06610 (2021-06)
Scalars are universal: Equivariant machine learning, structured like classical physics

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

Units equivariance (or units covariance) is the exact symmetry that follows from the requirement that relationships among measured quantities of physics relevance must obey self-consistent dimensional scalings. Here, we express this symmetry in terms of a (non-compact) group action, and we employ dimensional analysis and ideas from equivariant machine learning to provide a methodology for exactly units-equivariant machine learning: For any given learning task, we first construct a dimensionless version of its inputs using classic results from dimensional analysis, and then perform inference in the dimensionless space. Our approach can be used to impose units equivariance across a broad range of machine learning methods which are equivariant to rotations and other groups. We discuss the in-sample and out-of-sample prediction accuracy gains one can obtain in contexts like symbolic regression and emulation, where symmetry is important. We illustrate our approach with simple numerical examples involving dynamical systems in physics and ecology.

For agents

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

get_harvested_code_for_paper("2204.00887")
get_code_for_paper("2204.00887")
have("2204.00887")

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

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

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

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

Connect an agent — have() is free.