SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1903.02278 · 2019

Causal Discovery Toolbox: Uncover causal relationships in Python

arXiv · PDF · Open in the Atlas

Code that ran

14 of 19 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 8 have no contract verdict; 4 failures of our instrument; 5 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/1903.02278.json · badge: /api/ran/1903.02278.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
FenTechSolutions/CausalDiscoveryToolbox canonical (classifier label)
classifier basis: classifier_2025
4 ran · 0 no recorded run
elementai/causal_discovery_toolbox community (classifier label)
classifier basis not recorded on the link
10 ran · 5 no recorded run
FunctionStatusWhere it lives
FastHsicTestGamma Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
FenTechSolutions/CausalDiscoveryToolbox/cdt/causality/pairwise/ANM.py
code served (permissive licence) · get_code("3cb1654fab9536d9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned float64, 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 numpy as np

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

# Create sample data
# X: m rows, dx columns
# Y: m rows, dy columns
# Use distinct dimensions: m=5, dx=3, dy=4

m = 5
dx = 3
dy = 4

X = np.random.randn(m, dx)
Y = np.random.randn(m, dy)

# sig parameter: list of two values for kernel sizes
# -1 means use median distance (default behavior)
sig = [-1, -1]

# maxpnt: maximum number of points to use
maxpnt = 200

ARGS = {
    'X': X,
    'Y': Y,
    'sig': sig,
    'maxpnt': maxpnt
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float, 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
aracne Ran
ran on a synthesized input
elementai/causal_discovery_toolbox/cdt/utils/graph.py
code served (permissive licence) · get_code("33b84bc94c3cb38b")
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 (5, 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
import operator

# Create a small sample relevance matrix
# Square matrix where m[i,j] represents similarity between nodes i and j
np.random.seed(0)
matrix = np.random.rand(5, 5) * 0.5  # Values between 0 and 0.5
matrix = (matrix + matrix.T) / 2  # Make symmetric
np.fill_diagonal(matrix, 1.0)  # Diagonal elements are 1.0

# Ensure all elements are non-negative (as required by docstring)
matrix = np.abs(matrix)

ARGS = {
    'm': matrix,
}
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 (5, 5) — shape (5, 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
clr Ran
ran on a synthesized input
elementai/causal_discovery_toolbox/cdt/utils/graph.py
code served (permissive licence) · get_code("4f4929f021d62838")
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, 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 small square matrix with non-negative elements
# The function expects a square matrix where mat(i,j) represents similarity between nodes i and j
M = np.array([
    [1.0, 0.5, 0.3, 0.2],
    [0.5, 1.0, 0.6, 0.4],
    [0.3, 0.6, 1.0, 0.7],
    [0.2, 0.4, 0.7, 1.0]
], dtype=np.float64)

ARGS = {
    'M': M
}
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 (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
gumbel_sigmoid Ran
ran on a synthesized input
elementai/causal_discovery_toolbox/cdt/utils/torch.py
code served (permissive licence) · get_code("1189b0c4307ca015")
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 as th

th.manual_seed(0)

# Create small logits tensor (batch_size=2, features=4)
logits = th.randn(2, 4)

# Create ones_tensor and zeros_tensor with same shape as logits
ones_tensor = th.ones(2, 4)
zeros_tensor = th.zeros(2, 4)

# tau parameter
tau = 1.0

# hard parameter
hard = False

ARGS = {
    "logits": logits,
    "ones_tensor": ones_tensor,
    "zeros_tensor": zeros_tensor,
    "tau": tau,
    "hard": hard,
}
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
gumbel_softmax Ran
ran on a synthesized input
elementai/causal_discovery_toolbox/cdt/utils/torch.py
code served (permissive licence) · get_code("8db23fb76184682b")
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)

# Create a small batch of logits for gumbel_softmax
# Shape: [batch_size=2, n_class=4]
logits = torch.randn(2, 4)

ARGS = {
    "logits": logits,
    "tau": 1.0,
    "hard": False,
    "eps": 1e-10,
}
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
message_warning Ran
ran; our contract draft was wrong, not the code
FenTechSolutions/CausalDiscoveryToolbox/cdt/causality/graph/CAM.py
code served (permissive licence) · get_code("99d91b2cc3c8aef8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned str. 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

# The function message_warning takes:
# - msg: a message (will be converted to string)
# - *a: variable positional arguments (not used in function body)
# - **kwargs: variable keyword arguments (not used in function body)

# Since the function only uses msg and converts it to string,
# we need to provide a msg parameter and can optionally provide
# additional positional and keyword arguments (though they're ignored)

ARGS = {
    'msg': 'This is a warning message',
    'a': ('extra', 'positional', 'args'),
    'kwargs': {'key1': 'value1', 'key2': 42}
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
network_deconvolution Ran
ran on a synthesized input
elementai/causal_discovery_toolbox/cdt/utils/graph.py
code served (permissive licence) · get_code("7e57718538f6e61b")
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, 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

np.random.seed(0)

# Create a small sample matrix for network deconvolution
# The matrix should be square, non-negative, and represent similarity/relevance between nodes
mat = np.array([
    [0.0, 0.8, 0.3, 0.1],
    [0.8, 0.0, 0.6, 0.2],
    [0.3, 0.6, 0.0, 0.7],
    [0.1, 0.2, 0.7, 0.0]
], dtype=np.float64)

ARGS = {
    'mat': mat,
    'alpha': 0.8,
    'beta': 0.99,
    'control': 0
}
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 (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
notears_constr Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
elementai/causal_discovery_toolbox/cdt/utils/loss.py
code served (permissive licence) · get_code("49362e8478f9c3ba")
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 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)

# Create a small binary adjacency matrix
# The function performs matrix operations and computes diagonal sums
# We need a square matrix since it computes powers and diagonals
adj_m_torch = torch.tensor([
    [0.0, 0.1, 0.0, 0.2],
    [0.0, 0.0, 0.15, 0.0],
    [0.0, 0.0, 0.0, 0.25],
    [0.0, 0.0, 0.0, 0.0]
], dtype=torch.float32)

# Also test with numpy array
adj_m_numpy = np.array([
    [0.0, 0.1, 0.0, 0.2],
    [0.0, 0.0, 0.15, 0.0],
    [0.0, 0.0, 0.0, 0.25],
    [0.0, 0.0, 0.0, 0.0]
], dtype=np.float32)

ARGS = {
    "adj_m": adj_m_torch,
    "max_pow": None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 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
rbf_dot Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
FenTechSolutions/CausalDiscoveryToolbox/cdt/causality/pairwise/ANM.py
code served (permissive licence) · get_code("bdd354350f93fb34")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned ndarray, ndim 2, dtype family float, shape (5, 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 small 2D array for X with distinct dimensions
# Using 5 samples with 3 features each
X = np.array([
    [1.0, 2.0, 3.0],
    [4.0, 5.0, 6.0],
    [7.0, 8.0, 9.0],
    [2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0]
])

# deg can be a positive number or -1 (for automatic calculation)
deg = 1.5

ARGS = {
    'X': X,
    'deg': deg
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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 (5, 5) — shape (5, 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
rbf_dot2 Ran
ran, honoured the contract we drafted
FenTechSolutions/CausalDiscoveryToolbox/cdt/causality/pairwise/ANM.py
code served (permissive licence) · get_code("4957512edbf23259")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned ndarray, ndim 2, dtype family float, shape (5, 7) 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

np.random.seed(0)

# Create two point sets with different dimensions
# p1: 5 points in 3D space
# p2: 7 points in 3D space
p1 = np.random.randn(5, 3)
p2 = np.random.randn(7, 3)

# deg is a scalar parameter controlling the RBF kernel width
deg = 1.5

ARGS = {
    'p1': p1,
    'p2': p2,
    'deg': deg
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
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 (5, 7) — shape (5, 7) 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
read_adjacency_matrix Ran
ran on a synthesized input
elementai/causal_discovery_toolbox/cdt/utils/io.py
code served (permissive licence) · get_code("10b87773546bfd0c")
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 DiGraph. 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 pandas as pd
import networkx as nx
import numpy as np

# Create a small test adjacency matrix as a DataFrame
# This will be a 3x3 matrix representing a simple graph
adjacency_data = np.array([
    [0, 1, 0],
    [1, 0, 1],
    [0, 1, 0]
], dtype=int)

df = pd.DataFrame(
    adjacency_data,
    columns=['node_a', 'node_b', 'node_c']
)

ARGS = {
    'filename': df,
    'directed': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx, numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DiGraph — a DiGraph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DiGraph output the recorded ndim 1 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
read_causal_pairs Ran
ran on a synthesized input
elementai/causal_discovery_toolbox/cdt/utils/io.py
code served (permissive licence) · get_code("5fd171c5bda38854")
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 DataFrame. 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 pandas as pd
import numpy as np
from io import StringIO

# Create a small in-memory DataFrame that mimics the ChaLearn format
csv_data = """SampleID,A,B
pair_001,1.0 2.0 3.0,4.0 5.0 6.0
pair_002,0.5 1.5 2.5,3.5 4.5 5.5"""

df = pd.read_csv(StringIO(csv_data))

ARGS = {
    'filename': df,
    'scale': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
read_list_edges Ran
ran on a synthesized input
elementai/causal_discovery_toolbox/cdt/utils/io.py
code served (permissive licence) · get_code("efe29062ce865244")
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 DiGraph. 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 pandas as pd
import networkx as nx
import tempfile
import os

# Create a temporary CSV file with edge list data
temp_dir = tempfile.gettempdir()
temp_file = os.path.join(temp_dir, "test_edges.csv")

# Write a simple edge list with 3 columns (Cause, Effect, Score)
with open(temp_file, 'w') as f:
    f.write("Cause,Effect,Score\n")
    f.write("A,B,0.5\n")
    f.write("B,C,0.8\n")
    f.write("C,D,0.3\n")

# Also create a DataFrame version as an alternative
df = pd.DataFrame({
    'Cause': ['X', 'Y', 'Z'],
    'Effect': ['Y', 'Z', 'X'],
    'Score': [0.7, 0.9, 0.4]
})

ARGS = {
    'filename': temp_file,
    'directed': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
networkx, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DiGraph — a DiGraph output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DiGraph output the recorded ndim 1 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
retrieve_adjacency_matrix Ran
ran, violated the contract we drafted
elementai/causal_discovery_toolbox/cdt/metrics.py
pointer only (licence: MIT); the stored copy get_code serves, from rmwu/sea, is pointer only (licence: NONE) · get_code("91007bd87b2f9f18")
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 rmwu/sea, 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.

functional_linear3d Not yet run
unverified (harvested, no recorded run)
elementai/causal_discovery_toolbox/cdt/utils/torch.py
code served (permissive licence) · get_code("6938344c3e48f119")
How it ran

no invocation recorded.

get_CPDAG Not yet run
unverified (harvested, no recorded run)
elementai/causal_discovery_toolbox/cdt/metrics.py
code served (permissive licence) · get_code("1504b06f9ca60dbf")
How it ran

no invocation recorded.

parallel_run Not yet run
unverified (harvested, no recorded run)
elementai/causal_discovery_toolbox/cdt/utils/parallel.py
code served (permissive licence) · get_code("52b85406b3bd7ad8")
How it ran

no invocation recorded.

parallel_run_generator Not yet run
unverified (harvested, no recorded run)
elementai/causal_discovery_toolbox/cdt/utils/parallel.py
code served (permissive licence) · get_code("16630bfa95f2df9c")
How it ran

no invocation recorded.

precision_recall Not yet run
unverified (harvested, no recorded run)
elementai/causal_discovery_toolbox/cdt/metrics.py
code served (permissive licence) · get_code("4dbd7430a7f9466a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 5 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 1 later) and 14 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
functional_linear3d 1 other paper
1 dated earlier
1803.04929 (2018-03)
Structural Agnostic Modeling: Adversarial Learning of Causal Graphs
gumbel_sigmoid 1 other paper
1 dated earlier
1803.04929 (2018-03)
Structural Agnostic Modeling: Adversarial Learning of Causal Graphs
gumbel_softmax 1 other paper
1 dated earlier
1803.04929 (2018-03)
Structural Agnostic Modeling: Adversarial Learning of Causal Graphs
notears_constr 1 other paper
1 dated earlier
1803.04929 (2018-03)
Structural Agnostic Modeling: Adversarial Learning of Causal Graphs
retrieve_adjacency_matrix 1 other paper
1 later
2402.01929 (2024-02)
Sample, estimate, aggregate: A recipe for causal discovery foundation models

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

This paper presents a new open source Python framework for causal discovery from observational data and domain background knowledge, aimed at causal graph and causal mechanism modeling. The 'cdt' package implements the end-to-end approach, recovering the direct dependencies (the skeleton of the causal graph) and the causal relationships between variables. It includes algorithms from the 'Bnlearn' and 'Pcalg' packages, together with algorithms for pairwise causal discovery such as ANM. 'cdt' is available under the MIT License at https://github.com/Diviyan-Kalainathan/CausalDiscoveryToolbox.

For agents

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

get_harvested_code_for_paper("1903.02278")
get_code_for_paper("1903.02278")
have("1903.02278")

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

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

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

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

Connect an agent — have() is free.