SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.07630 · ICLR · 2024

Differentiable Euler Characteristic Transforms for Shape Classification

Bastian Rieck, Ernst Röell

arXiv · PDF · Open in the Atlas

Code that ran

12 of 22 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 7 failures of our instrument; 10 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/2310.07630.json · badge: /api/ran/2310.07630.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
aidos-lab/DECT canonical (classifier label)
classifier basis: census
7 ran · 2 no recorded run
aidos-lab/dect canonical (classifier label)
classifier basis: classifier_2025
4 ran · 1 no recorded run
aidos-lab/DECT-evaluation marked official in Papers with Code
Papers with Code archive
1 ran · 7 no recorded run
FunctionStatusWhere it lives
EctLayer Ran
ran on a synthesized input
aidos-lab/DECT-evaluation/dect/dect/ect.py
code served (permissive licence) · get_code("4935b85ca1fb9994")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, 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 torch.nn as nn
from dataclasses import dataclass

@dataclass(frozen=True)
class EctConfig:
    num_thetas: int = 32
    bump_steps: int = 32
    R: float = 1.1
    ect_type: str = 'points'
    device: str = 'cpu'
    num_features: int = 3
    normalized: bool = False

def compute_ecc(nh, index, lin, dim_size, out):
    ecc = torch.nn.functional.sigmoid(50 * torch.sub(lin, nh))
    return torch.index_add(out, 1, index, ecc).movedim(0, 1)

def compute_ecc_derivative(nh, index, lin, dim_size, out):
    ecc = torch.nn.functional.sigmoid(100 * torch.sub(lin, nh)) * (1 - torch.nn.functional.sigmoid(100 * torch.sub(lin, nh)))
    return torch.index_add(out, 1, index, ecc).movedim(0, 1)

def compute_ect_edges(data, v, lin, out):
    nh = data.x @ v
    eh, _ = nh[data.edge_index].max(dim=0)
    return compute_ecc(nh, data.batch, lin, data.num_graphs, out) - compute_ecc(eh, data.batch[data.edge_index[0]], lin, data.num_graphs, out)

def compute_ect_faces(data, v, lin, out):
    nh = data.x @ v
    eh, _ = nh[data.edge_index].max(dim=0)
    fh, _ = nh[data.face].max(dim=0)
    return compute_ecc(nh, data.batch, lin, data.num_graphs, out) - compute_ecc(eh, data.batch[data.edge_index[0]], lin, data.num_graphs, out) + compute_ecc(fh, data.batch[data.face[0]], lin, data.num_graphs, out)

def compute_ect_points(data, v, lin, out):
    nh = data.x @ v
    return compute_ecc(nh, data.batch, lin, data.num_graphs, out)

def compute_ect_points_derivative(data, v, lin, out):
    nh = data.x @ v
    return compute_ecc_derivative(nh, data.batch, lin, data.num_graphs, out)

class EctLayer(nn.Module):
    """docstring for EctLayer."""

    def __init__(self, config: EctConfig, V=None):
        super().__init__()
        self.config = config
        self.lin = torch.linspace(-config.R, config.R, config.bump_steps).view(-1, 1, 1).to(config.device)
        if torch.is_tensor(V):
            self.v = V
        else:
            self.v = (torch.rand(size=(config.num_features, config.num_thetas)) - 0.5).T.to(config.device)
            self.v /= self.v.pow(2).sum(axis=1).sqrt().unsqueeze(1)
            self.v = self.v.T
        if config.ect_type == 'points':
            self.compute_ect = compute_ect_points
        elif config.ect_type == 'edges':
            self.compute_ect = compute_ect_edges
        elif config.ect_type == 'faces':
            self.compute_ect = compute_ect_faces
        elif config.ect_type == 'points_derivative':
            self.compute_ect = compute_ect_points_derivative

    def forward(self, data):
        out = torch.zeros(size=(self.config.bump_steps, data.batch.max().item() + 1, self.config.num_thetas), device=self.config.device)
        ect = self.compute_ect(data, self.v, self.lin, out)
        if self.config.normalized:
            return ect / torch.amax(ect, dim=(1, 2)).unsqueeze(1).unsqueeze(1)
        else:
            return ect


class MockData:
    def __init__(self, num_nodes=8, num_features=4, num_graphs=2):
        self.x = torch.randn(num_nodes, num_features)
        self.batch = torch.tensor([0, 0, 0, 0, 1, 1, 1, 1])
        self.edge_index = torch.tensor([[0, 1, 2, 3, 4, 5], [1, 2, 3, 0, 5, 6]])
        self.num_graphs = num_graphs


config = EctConfig(
    num_thetas=8,
    bump_steps=4,
    R=1.1,
    ect_type='points',
    device='cpu',
    num_features=4,
    normalized=False
)

INIT_ARGS = {
    'config': config,
    'V': None
}

data = MockData(num_nodes=8, num_features=4, num_graphs=2)

ARGS = {
    'data': data
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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 3, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
FastECT Ran
ran on a synthesized input · constructed an object; no result was computed
aidos-lab/dect/dect/fect.py
code served (permissive licence) · get_code("bc60e6d48c19dfa9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, FastECT: the run constructed the object and did not call it, so no result was computed. 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)

# Analyze the function:
# - FastECT.forward takes (x, v)
# - x is used in: torch.matmul(x, v) - so x should be a tensor
# - v is used in: v.shape[1], matmul with x, saved in context, used in backward
# - The function expects x to be point cloud data (batch of points)
# - v should be a set of directions/vectors
# - bincount expects idx to have shape that scatters into (resolution, resolution)

# From fast_ect:
# - x: shape should allow matmul with v
# - v: shape[1] is resolution
# - nh = ((torch.matmul(x, v) + 1) * (resolution // 2)).to(torch.uint32)
#   This suggests x @ v produces values, likely in [-1, 1] range
# - nh is then used as indices in bincount(nh, resolution)

# Let's construct:
# - batch_size = 2 (small batch)
# - point_dim = 4 (points in 4D space)
# - resolution = 3 (small resolution for 3x3 histograms)
# - v shape should be (point_dim, resolution) for matmul to work
# - x shape should be (batch_size, point_dim) for matmul with v to give (batch_size, resolution)

batch_size = 2
point_dim = 4
resolution = 3

# x: point cloud, shape (batch_size, point_dim)
x = torch.randn(batch_size, point_dim, dtype=torch.float32)

# v: direction vectors, shape (point_dim, resolution)
v = torch.randn(point_dim, resolution, dtype=torch.float32)

# Normalize v roughly to unit vectors to keep values in reasonable range
v = v / (torch.norm(v, dim=0, keepdim=True) + 1e-6)

ARGS = {
    'x': x,
    'v': v,
}
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 FastECT — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a FastECT 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
bincount Ran
ran; our contract draft was wrong, not the code
aidos-lab/dect/dect/fect.py
code served (permissive licence) · get_code("9bc20074ce92a7fc")
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; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function expects:
# - idx: a tensor that will be converted to int64 and used as indices for scatter_
# - resolution: an integer specifying the size of the output histogram

# Create idx tensor with indices that fit within resolution bounds
resolution = 4
idx = torch.randint(0, resolution, size=(2, 4), dtype=torch.int32)

ARGS = {
    "idx": idx,
    "resolution": resolution,
}
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 — no output shape is stated: observe_signature.py could not observe it (call:AssertionError)
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_ect_point_cloud Ran
ran; our contract draft was wrong, not the code
aidos-lab/dect/dect/ect.py
code served (permissive licence) · get_code("fc6dd648de2dec22")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 3, dtype family float, shape (2, 8, 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 torch.nn.functional as F

torch.manual_seed(0)

# Create point cloud tensor [B, N, D]
# B=2 (batch size), N=5 (number of points), D=3 (ambient dimension)
x = torch.randn(2, 5, 3)

# Create direction tensor [D, M]
# D=3 (ambient dimension), M=4 (number of directions)
v = torch.randn(3, 4)

# Scalar parameters
radius = 1.0
resolution = 8
scale = 2.0
normalize = False

ARGS = {
    "x": x,
    "v": v,
    "radius": radius,
    "resolution": resolution,
    "scale": scale,
    "normalize": normalize,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 8, 4) — shape (2, 8, 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
fast_ect Ran
ran; our contract draft was wrong, not the code
aidos-lab/dect/dect/fect.py
code served (permissive licence) · get_code("a50c50e02f61a95d")
How it ran

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

import torch

torch.manual_seed(0)

# Analyze the function:
# - fast_ect(x, v) uses:
#   - x: needs to support torch.matmul(x, v), so should be a tensor
#   - v: needs shape[1] attribute, needs to support torch.matmul(x, v), so should be a tensor
# - The matmul result is added 1, multiplied by (resolution // 2), converted to uint32
# - Result passed to bincount which expects idx shape compatible with scatter_
# - bincount creates (resolution, resolution) output

# For bincount to work with scatter_(0, idx, 1, reduce='add'):
# - idx needs to be int64 indices into dimension 0 of shape (resolution, resolution)
# - idx values should be in range [0, resolution)

# Working backwards:
# - Let resolution = 4
# - nh should have values in range [0, resolution) after the computation
# - ((torch.matmul(x, v) + 1) * (resolution // 2)).to(torch.uint32)
# - This needs matmul result to give values that when +1 and *2, stay in uint32 range

# x shape: (batch, feature_dim) = (2, 3)
# v shape: (feature_dim, resolution) = (3, 4)
# matmul result: (2, 4)
# After +1 and *2: (2, 4) with values in [0, resolution)

resolution = 4

# Create x: (batch=2, feature_dim=3)
x = torch.randn(2, 3)

# Create v: (feature_dim=3, resolution=4)
# Values should be such that matmul results in values where
# ((result + 1) * 2).to(uint32) stays in [0, 4)
v = torch.randn(3, 4) * 0.1

ARGS = {
    "x": x,
    "v": v,
}
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
fastsigmoid Ran
ran; our contract draft was wrong, not the code
aidos-lab/DECT/fastect.py
code served (permissive licence) · get_code("53de22341a70f0a7")
How it ran

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

import torch

torch.manual_seed(0)

# The function fastsigmoid takes a single parameter: slope
# It returns an inner function that applies Sigmoid.apply(x, slope)
# The inner function expects x to be a tensor

# Let's create a simple test case
test_input = torch.randn(2, 4)  # Small tensor: batch_size=2, dim=4

ARGS = {
    "slope": 0.01
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
generate_2d_directions Ran
ran, honoured the contract we drafted
aidos-lab/DECT/dect/directions.py
code served (permissive licence) · get_code("569a1013265e9106")
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, 64) 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
from torch import Tensor

torch.manual_seed(0)

ARGS = {
    "num_thetas": 64
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 64) — shape (2, 64) 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
generate_multiview_directions Ran
ran, honoured the contract we drafted
aidos-lab/DECT/dect/directions.py
code served (permissive licence) · get_code("25ab5a1f210f22b2")
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, 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 torch
import itertools

torch.manual_seed(0)

ARGS = {
    "num_thetas": 12,
    "d": 3,
}
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, 12) — shape (3, 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
generate_uniform_directions Ran
ran, honoured the contract we drafted
aidos-lab/DECT/dect/directions.py
code served (permissive licence) · get_code("9cd6735385d47865")
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 (4, 2) 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)

ARGS = {
    "num_thetas": 2,
    "d": 4,
    "seed": 42,
    "device": "cpu",
}
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 (4, 2) — shape (4, 2) 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
indicator Ran
ran; our contract draft was wrong, not the code
aidos-lab/DECT/dect/ect_fn.py
code served (permissive licence) · get_code("fe10db4ae81f331e")
How it ran

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

import torch

torch.manual_seed(0)

# The function expects a Tensor of height values and applies the heaviside step function
# Create a small tensor with some positive, negative, and zero values
ecc = torch.tensor([[-1.5, -0.5, 0.0, 0.5], [1.0, 2.0, -0.2, 0.3]], dtype=torch.float32)

ARGS = {
    "ecc": ecc
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
normalize Ran
ran; our contract draft was wrong, not the code
aidos-lab/DECT/dect/nn.py
code served (permissive licence) · get_code("ae5935bf5d5f110f")
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

torch.manual_seed(0)

# The function expects ect to be a tensor with at least 4 dimensions
# It calls torch.amax(ect, dim=(2, 3)) which reduces dimensions 2 and 3
# Then unsqueezes at positions 2 and 3 to restore those dimensions for broadcasting
# So we need a tensor with shape (batch, channels, height, width) or similar

ect = torch.randn(2, 4, 3, 5)

ARGS = {
    "ect": ect
}
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
scaled_sigmoid Ran
ran; our contract draft was wrong, not the code
aidos-lab/DECT/dect/ect_fn.py
code served (permissive licence) · get_code("8c0df195c68db953")
How it ran

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

import torch
from torch import Tensor

torch.manual_seed(0)

# Create a small tensor for the 'ecc' parameter
# The function expects height values and applies sigmoid to them
ecc = torch.randn(2, 4)

ARGS = {
    "ecc": ecc
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
EctConfig Not yet run
unverified (harvested, no recorded run)
aidos-lab/DECT-evaluation/dect/dect/ect.py
code served (permissive licence) · get_code("be68dc1f34a1a7c8")
How it ran

no invocation recorded.

compute_ecc Not yet run
unverified (harvested, no recorded run)
aidos-lab/DECT-evaluation/dect/dect/ect.py
code served (permissive licence) · get_code("45b93adde637dfbd")
How it ran

no invocation recorded.

compute_ecc_derivative Not yet run
unverified (harvested, no recorded run)
aidos-lab/DECT-evaluation/dect/dect/ect.py
code served (permissive licence) · get_code("4abf2fc85afc57b8")
How it ran

no invocation recorded.

compute_ect_edges Not yet run
unverified (harvested, no recorded run)
aidos-lab/DECT-evaluation/dect/dect/ect.py
code served (permissive licence) · get_code("f19519b128f900cc")
How it ran

no invocation recorded.

compute_ect_faces Not yet run
unverified (harvested, no recorded run)
aidos-lab/DECT-evaluation/dect/dect/ect.py
code served (permissive licence) · get_code("25931f25ef3e9ed7")
How it ran

no invocation recorded.

compute_ect_points Not yet run
unverified (harvested, no recorded run)
aidos-lab/DECT-evaluation/dect/dect/ect.py
code served (permissive licence) · get_code("9297ad2d96835d36")
How it ran

no invocation recorded.

compute_ect_points_derivative Not yet run
unverified (harvested, no recorded run)
aidos-lab/DECT-evaluation/dect/dect/ect.py
code served (permissive licence) · get_code("3fb1b682ec0acd37")
How it ran

no invocation recorded.

compute_wecc Not yet run
unverified (harvested, no recorded run)
aidos-lab/DECT/dect/wect.py
code served (permissive licence) · get_code("c09fded5afa4f91a")
How it ran

no invocation recorded.

fast_ect_edges Not yet run
unverified (harvested, no recorded run)
aidos-lab/DECT/dect/fect.py
code served (permissive licence) · get_code("141f231a90ed8d30")
How it ran

no invocation recorded.

normalize_ect Not yet run
unverified (harvested, no recorded run)
aidos-lab/dect/dect/ect.py
code served (permissive licence) · get_code("69b6998128965bd0")
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, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 21 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
compute_ect_points
brick of this paper's assembly: helper
1 other paper
1 later
2410.02622 (2024-10)
Diss-l-ECT: Dissecting Graph Data with Local Euler Characteristic Transforms

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

The Euler Characteristic Transform (ECT) is a powerful invariant, combining geometrical and topological characteristics of shapes and graphs. However, the ECT was hitherto unable to learn task-specific representations. We overcome this issue and develop a novel computational layer that enables learning the ECT in an end-to-end fashion. Our method, the Differentiable Euler Characteristic Transform (DECT) is fast and computationally efficient, while exhibiting performance on a par with more complex models in both graph and point cloud classification tasks. Moreover, we show that this seemingly simple statistic provides the same topological expressivity as more complex topological deep learning layers.

For agents

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

get_harvested_code_for_paper("2310.07630")
get_code_for_paper("2310.07630")
have("2310.07630")

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

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

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

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

Connect an agent — have() is free.