SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.05202 · ICML · 2025

Causal Effect Identification in lvLiNGAM from Higher-Order Cumulants

Saber Salehkaleybar, Negar Kiyavash, Daniele Tramontano, Yaroslav Kivva, Mathias Drton

arXiv · PDF · Open in the Atlas

Code that ran

14 of 16 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; 1 honoured the contract we drafted, 1 violated it and 11 have no contract verdict; 1 failure 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/2506.05202.json · badge: /api/ran/2506.05202.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
danieletramontano/CEId-from-Moments canonical (classifier label)
classifier basis not recorded on the link
14 ran · 2 no recorded run
FunctionStatusWhere it lives
adjacency_to_path_matrix Ran
ran on a synthesized input
danieletramontano/CEId-from-Moments/estimation/other_models/direct_lingam/DAG.py
code served (permissive licence) · get_code("b5c92f2da4cec04d")
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 (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 numpy as np

# The function expects an adjacency matrix with shape (p, p+q) where:
# - First p rows and p columns are Lambda (square matrix)
# - First p rows and remaining q columns are Gamma
# Let's construct a simple example with p=3, q=2

p = 3
q = 2

# Create a valid adjacency matrix
# Lambda (p x p) - needs to be such that (I - Lambda) is invertible
Lambda = np.array([
    [0.1, 0.2, 0.1],
    [0.15, 0.05, 0.1],
    [0.1, 0.1, 0.05]
], dtype=np.float64)

# Gamma (p x q) - arbitrary matrix
Gamma = np.array([
    [0.3, 0.2],
    [0.1, 0.4],
    [0.2, 0.15]
], dtype=np.float64)

# Concatenate horizontally to form adjacency matrix
adjacency = np.hstack((Lambda, Gamma))

ARGS = {
    "adjacency": adjacency
}
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 (3, 5) — shape (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
calculate_orders_needed Ran
ran on a synthesized input
danieletramontano/CEId-from-Moments/estimation/other_models/direct_lingam/.ipynb_checkpoints/constraints_to_test-checkpoint.py
code served (permissive licence) · get_code("9261cfee41477ea2")
How it ran

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

import torch
import numpy as np
from math import sqrt, ceil

# Analyze the function: calculate_orders_needed(l)
# The function takes a parameter 'l' and uses it in:
# - l + 2 (arithmetic)
# - sqrt(8 * l + 17) (arithmetic)
# - ceil(...) (arithmetic)
# So 'l' should be a numeric value (int or float)

# Test with a simple integer value
l = 5

ARGS = {
    "l": l
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
count_lists Ran
ran on a synthesized input
danieletramontano/CEId-from-Moments/estimation/other_models/grica/methods.py
code served (permissive licence) · get_code("ab9b9b4c8489f8f1")
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 (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 numpy as np

# Analyze the function:
# - count_lists takes parameter 'l' (a list)
# - It iterates through the list with enumerate
# - It checks if l[i] == 0
# - It accesses len(l)
# - It uses np.zeros(len(l))
# So 'l' should be a list or array-like of numeric values

# Create a simple list with zeros and non-zeros
l = [0, 5, 0, 3, 0, 1]

ARGS = {
    "l": l
}
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 (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
get_Gamma Ran
ran on a synthesized input
danieletramontano/CEId-from-Moments/estimation/other_models/direct_lingam/simulate_data.py
code served (permissive licence) · get_code("84c6a65a17e97ccd")
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 (0,) 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 edges as a set of tuples representing graph connections
edges = {(0, 2), (0, 3), (1, 2), (1, 4)}

# p and q define the range of vertices
# p is the starting index, q is the ending index (exclusive)
p = 0
q = 5

ARGS = {
    "edges": edges,
    "p": p,
    "q": q,
}
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 (0,) — shape (0,) 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
get_Lambda Ran
ran on a synthesized input
danieletramontano/CEId-from-Moments/estimation/other_models/direct_lingam/simulate_data.py
code served (permissive licence) · get_code("31a2644b0c6dcdb1")
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 (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 numpy as np

# edges: a set of tuples representing edges in a graph
# p: number of vertices/nodes
edges = {(0, 1), (1, 2), (2, 0)}
p = 3

ARGS = {
    "edges": edges,
    "p": p
}
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 (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
get_all_argminima Ran
ran, honoured the contract we drafted
danieletramontano/CEId-from-Moments/estimation/other_models/direct_lingam/ReLVLiNGAM.py
code served (permissive licence) · get_code("4df70f3abb2fd397")
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 int, shape (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

# Create a small numpy array with some duplicate minimum values
A = np.array([5, 2, 8, 2, 9, 2, 1, 1, 3])

ARGS = {
    "A": A
}
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 int, shape (2,) — shape (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
get_constraints_for_l_latents Ran
ran on a synthesized input
danieletramontano/CEId-from-Moments/estimation/other_models/direct_lingam/.ipynb_checkpoints/constraints_to_test-checkpoint.py
code served (permissive licence) · get_code("0268d29d84dd931d")
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 itertools as it
from math import sqrt, ceil
from sympy import factorial, parse_expr, Matrix, symbols, BlockMatrix, poly

# The function get_constraints_for_l_latents takes a single parameter 'l'
# which is used as an integer to:
# 1. Calculate orders needed
# 2. Create symbolic matrices based on combinations
# 3. Generate constraint equations
# We'll test with a small value of l

ARGS = {
    'l': 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
sympy — 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
init_w_guess_ Ran
ran on a synthesized input
danieletramontano/CEId-from-Moments/estimation/other_models/grica/methods.py
code served (permissive licence) · get_code("1a83b68e7ba89c2b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, 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 networkx as nx

torch.manual_seed(0)

# Create a small data tensor (samples x features)
# We need enough features for the function to work with latent variables
data = torch.randn(5, 6)

# Create a directed acyclic graph
# latent=2 means nodes 0,1 are latent variables
# nodes 2,3,4,5 are observed variables
g = nx.DiGraph()
g.add_edges_from([
    (0, 2),  # latent 0 -> observed 2
    (1, 3),  # latent 1 -> observed 3
    (2, 4),  # observed 2 -> observed 4
    (3, 5),  # observed 3 -> observed 5
])

latent = 2

ARGS = {
    "data": data,
    "g": g,
    "latent": latent,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
intersection Ran
ran, violated the contract we drafted
danieletramontano/CEId-from-Moments/estimation/other_models/grica/methods.py
code served (permissive licence) · get_code("961380137e514c00")
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 list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# For the intersection function, we need two lists
# The function computes the intersection by checking if each value in lst1 exists in lst2

# Create two simple lists with some common and some unique elements
lst1 = [1, 2, 3, 4, 5]
lst2 = [3, 4, 5, 6, 7]

ARGS = {
    "lst1": lst1,
    "lst2": lst2,
}
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 list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
min_dist_perm Ran
ran on a synthesized input
danieletramontano/CEId-from-Moments/estimation/helpers/utils.py
code served (permissive licence) · get_code("03a45c130027ec06")
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 int, shape (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 numpy as np
from itertools import permutations

# Create two small numpy arrays with distinct dimensions
np.random.seed(0)
v1 = np.array([1.0, 2.0, 3.0, 4.0])
v2 = np.array([4.0, 3.0, 2.0, 1.0])

ARGS = {
    'v1': v1,
    'v2': v2
}
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 int, shape (4,) — shape (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
path_matrix_to_adjacency Ran
ran on a synthesized input
danieletramontano/CEId-from-Moments/estimation/other_models/direct_lingam/DAG.py
code served (permissive licence) · get_code("972d01bc5754b700")
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 (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 numpy as np
from scipy.linalg import inv

# Create a valid path_matrix
# The function expects a matrix that can be split into [:p, :p] and [:p, p:]
# where p is the number of rows
# Let's create a 3x5 matrix (3 rows, so p=3, and 5 columns total)
# This will be split into a 3x3 part and a 3x2 part

p = 3
# Create a 3x3 invertible matrix for the first part
path_matrix_left = np.array([
    [2.0, 0.5, 0.1],
    [0.5, 2.0, 0.2],
    [0.1, 0.2, 2.0]
])

# Create a 3x2 matrix for the second part
path_matrix_right = np.array([
    [0.3, 0.4],
    [0.5, 0.6],
    [0.7, 0.8]
])

# Concatenate horizontally to form the full path_matrix
path_matrix = np.hstack((path_matrix_left, path_matrix_right))

ARGS = {
    "path_matrix": path_matrix,
    "tol": 1e-10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — 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 (3, 5) — shape (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
project Ran
ran on a synthesized input
danieletramontano/CEId-from-Moments/estimation/helpers/utils.py
code served (permissive licence) · get_code("995a66387adc1a2c")
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 (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 numpy as np

# Construct arguments for the project function
# The function projects point x onto a hyperplane defined by normal vector a and offset c

# x: The point to project - a 1D numpy array
x = np.array([1.0, 2.0, 3.0, 4.0])

# a: The normal vector of the hyperplane - a 1D numpy array with same dimension as x
a = np.array([0.5, 0.3, 0.2, 0.1])

# c: The offset (scalar) of the hyperplane
c = 1.5

ARGS = {
    "x": x,
    "a": a,
    "c": c,
}
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 (4,) — shape (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
reduce_list Ran
ran on a synthesized input
danieletramontano/CEId-from-Moments/estimation/helpers/utils.py
code served (permissive licence) · get_code("6634af8b16b12806")
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 torch

torch.manual_seed(0)

# The function reduce_list takes a list parameter and returns:
# - the single element if the list has exactly 1 element
# - the list itself otherwise

# Test case 1: list with one element (should return that element)
single_element_list = [42]

# Test case 2: list with multiple elements (should return the list)
multi_element_list = [1, 2, 3]

# We'll use the single element list case since it's the more interesting behavior
ARGS = {
    "l": single_element_list
}
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 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
tensor_outer_product Ran
ran; our contract draft was wrong, not the code
danieletramontano/CEId-from-Moments/estimation/other_models/direct_lingam/ReLVLiNGAM.py
code served (permissive licence) · get_code("96714f90f2fb4843")
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 3, dtype family float, shape (4, 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 numpy as np

# Create a simple vector
v = np.array([1.0, 2.0, 3.0, 4.0])

# Create an integer k for the number of outer product repetitions
k = 3

ARGS = {
    "v": v,
    "k": k
}
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 3, dtype family float, shape (4, 4, 4) — shape (4, 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
confounders_btw_pairs Not yet run
unverified (harvested, no recorded run)
danieletramontano/CEId-from-Moments/estimation/other_models/direct_lingam/DAG.py
code served (permissive licence) · get_code("2a8cf09cc3682961")
How it ran

no invocation recorded.

simulate_data Not yet run
unverified (harvested, no recorded run)
danieletramontano/CEId-from-Moments/estimation/other_models/direct_lingam/simulate_data.py
code served (permissive licence) · get_code("35df36b2dcb98fb5")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 1 later) and 13 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
intersection 5 other papers
4 dated earlier, 1 later
2008.10707 (2020-08)
Patching as Translation: the Data and the Metaphor
2404.02060 (2024-04)
Long-context LLMs Struggle with Long In-context Learning
2406.02049 (2024-06)
Causal Effect Identification in LiNGAM Models with Latent Confounders
and 2 more not named here
get_all_argminima 1 other paper
1 dated earlier
2408.04907 (2024-08)
Causal Discovery of Linear Non-Gaussian Causal Models with Unobserved Confounding
tensor_outer_product 1 other paper
1 dated earlier
2408.04907 (2024-08)
Causal Discovery of Linear Non-Gaussian Causal Models with Unobserved Confounding

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

This paper investigates causal effect identification in latent variable Linear Non-Gaussian Acyclic Models (lvLiNGAM) using higher-order cumulants, addressing two prominent setups that are challenging in the presence of latent confounding: (1) a single proxy variable that may causally influence the treatment and (2) underspecified instrumental variable cases where fewer instruments exist than treatments. We prove that causal effects are identifiable with a single proxy or instrument and provide corresponding estimation methods. Experimental results demonstrate the accuracy and robustness of our approaches compared to existing methods, advancing the theoretical and practical understanding of causal inference in linear systems with latent confounders.

For agents

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

get_harvested_code_for_paper("2506.05202")
get_code_for_paper("2506.05202")
have("2506.05202")

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

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

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

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

Connect an agent — have() is free.