SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2303.14040 · 2023

Euler Characteristic Tools For Topological Data Analysis

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 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 7 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2303.14040.json · badge: /api/ran/2303.14040.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
vadimlebovici/eulearning canonical (classifier label)
classifier basis not recorded on the link
7 ran · 1 no recorded run
FunctionStatusWhere it lives
compute_euler_curve Ran
ran on a synthesized input
vadimlebovici/eulearning/eulearning/descriptors.py
code served (permissive licence) · get_code("1fc16af3efec29b3")
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 1, dtype family float, shape (10,) 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

# Analyze the function:
# - vec_st: needs shape (n_splx, 2) with numeric values
# - bin_size: needs to be a tuple/list of (t_min, t_max, resolution)
# - Both must pass assert_all_finite (no NaN, inf)
# - vec_st is indexed as vec_st[i, 0] and vec_st[i, 1]
# - bin_size is unpacked as t_min, t_max, resolution

np.random.seed(0)

# Create vec_st: a 2D array with shape (n_splx, 2)
# First column contains values to accumulate, second column contains t values
vec_st = np.array([
    [1.5, 0.2],
    [2.3, 0.5],
    [0.8, 0.9],
    [1.1, 1.5]
], dtype=np.float64)

# Create bin_size as a tuple (t_min, t_max, resolution)
# resolution must be > 1 for the scale calculation to work
bin_size = (0.0, 2.0, 10)

ARGS = {
    "vec_st": vec_st,
    "bin_size": bin_size
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (10,) — shape (10,) 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_euler_profile Ran
ran on a synthesized input
vadimlebovici/eulearning/eulearning/descriptors.py
code served (permissive licence) · get_code("0ea7eff27e5ea9b1")
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 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 numpy as np

# Create a vectorized simplex tree representation
# Format: each row is [sign, filtration_value_1, filtration_value_2, ...]
# For 1-parameter case:
vec_st_1d = np.array([
    [1.0, 0.5],
    [-1.0, 1.5],
    [1.0, 2.0],
    [1.0, 0.8]
], dtype=np.float64)

# For 2-parameter case:
vec_st_2d = np.array([
    [1.0, 0.5, 0.3],
    [-1.0, 1.5, 0.7],
    [1.0, 2.0, 1.2],
    [1.0, 0.8, 0.5]
], dtype=np.float64)

# Define bin_sizes for 1-parameter case
bin_sizes_1d = [(0.0, 3.0, 5)]

# Define bin_sizes for 2-parameter case
bin_sizes_2d = [(0.0, 3.0, 5), (0.0, 2.0, 4)]

ARGS = {
    "vec_st": vec_st_1d,
    "bin_sizes": bin_sizes_1d
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, 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
compute_hybrid_transform Ran
ran on a synthesized input
vadimlebovici/eulearning/eulearning/descriptors.py
code served (permissive licence) · get_code("fe67db6839de3703")
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 (4, 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 numpy as np

# Define a simple kernel function that takes an array and returns transformed values
def simple_kernel(a):
    """Simple kernel function that returns the exponential of the input."""
    return np.exp(-np.abs(a))

# Create a vectorized simplex tree representation
# Shape: (num_simplices, 1 + num_parameters)
# First column: signs, remaining columns: values
vec_st = np.array([
    [1.0, 0.5, 0.3],      # sign=1, values=[0.5, 0.3]
    [-1.0, 0.2, 0.8],     # sign=-1, values=[0.2, 0.8]
    [1.0, 0.9, 0.1],      # sign=1, values=[0.9, 0.1]
], dtype=np.float64)

# Define bin sizes for 2-parameter hybrid transform
# Each tuple: (low, high, num_bins)
bin_sizes = [
    (0.0, 1.0, 5),   # First parameter: 5 bins from 0 to 1
    (0.0, 1.0, 4),   # Second parameter: 4 bins from 0 to 1
]

# Define the kernel function
kernel = simple_kernel

# Create the arguments dictionary
ARGS = {
    "vec_st": vec_st,
    "bin_sizes": bin_sizes,
    "kernel": kernel,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — 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 (4, 5) — shape (4, 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
compute_vertvals_from_edgevals Ran
ran on a synthesized input
vadimlebovici/eulearning/eulearning/utils.py
code served (permissive licence) · get_code("61ccf4504905ed52")
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 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 numpy as np

# Create a simple graph with 5 vertices and 6 edges
n_vertices = 5
edges = [(0, 1), (1, 2), (2, 3), (3, 4), (0, 4), (1, 3)]
edge_vals = np.array([1.5, 2.0, 1.2, 3.5, 2.8, 1.8])

ARGS = {
    "n_vertices": n_vertices,
    "edges": edges,
    "edge_vals": edge_vals
}
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 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
gen_dense_lines_with_noise Ran
ran on a synthesized input
vadimlebovici/eulearning/eulearning/datasets.py
code served (permissive licence) · get_code("c9c089959a711070")
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 (540, 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 numpy as np

# Define ARGS dict with all parameters for gen_dense_lines_with_noise
ARGS = {
    'n_pattern': 2,
    'n_noise': 500,
    'n_signal': 20,
    'size_signal': 10,
    'size_noise': 50
}
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 (540, 2) — shape (540, 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
gen_torus_non_unif Ran
ran on a synthesized input
vadimlebovici/eulearning/eulearning/datasets.py
code served (permissive licence) · get_code("c6d396f3340e280c")
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 (100, 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 numpy as np

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

# Define arguments for gen_torus_non_unif
ARGS = {
    "n_pts": 100,
    "noise": 0.05,
    "a": [0.5, 1.5],
    "c": [2.0, 3.0]
}
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 (100, 3) — shape (100, 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
gen_torus_unif Ran
ran on a synthesized input
vadimlebovici/eulearning/eulearning/datasets.py
code served (permissive licence) · get_code("788b96d5035ec760")
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 (10, 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 numpy as np

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

# Define arguments for gen_torus_unif
ARGS = {
    'n_pts': 10,  # Number of points to generate
    'noise': 0.01,  # Noise level to add
    'a': [0.5, 1.5],  # Interval for minor radius
    'c': [2.0, 3.0],  # Interval for major radius
}
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 (10, 3) — shape (10, 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
codensity Not yet run
unverified (harvested, no recorded run)
vadimlebovici/eulearning/eulearning/utils.py
code served (permissive licence) · get_code("13940860202e00b0")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 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.

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

Repositories linked to this paper

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

Abstract

In this article, we study Euler characteristic techniques in topological data analysis. Pointwise computing the Euler characteristic of a family of simplicial complexes built from data gives rise to the so-called Euler characteristic profile. We show that this simple descriptor achieve state-of-the-art performance in supervised tasks at a very low computational cost. Inspired by signal analysis, we compute hybrid transforms of Euler characteristic profiles. These integral transforms mix Euler characteristic techniques with Lebesgue integration to provide highly efficient compressors of topological signals. As a consequence, they show remarkable performances in unsupervised settings. On the qualitative side, we provide numerous heuristics on the topological and geometric information captured by Euler profiles and their hybrid transforms. Finally, we prove stability results for these descriptors as well as asymptotic guarantees in random settings.

For agents

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

get_harvested_code_for_paper("2303.14040")
get_code_for_paper("2303.14040")
have("2303.14040")

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

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

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

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

Connect an agent — have() is free.