SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.01929 · 2024

Sample, estimate, aggregate: A recipe for causal discovery foundation models

arXiv · PDF · Open in the Atlas

Code that ran

12 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; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 11 failures of our instrument; 4 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/2402.01929.json · badge: /api/ran/2402.01929.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
rmwu/sea canonical (classifier label)
classifier basis: census
12 ran · 4 no recorded run
FunctionStatusWhere it lives
adj Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rmwu/sea/src/ges/utils.py
pointer only (licence: NONE) · get_code("89d20c69f3c6527d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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.

get_mask Ran
ran; our contract draft was wrong, not the code
rmwu/sea/src/model/baseline.py
pointer only (licence: NONE) · get_code("a367036b61699c66")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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.

get_params_groups Ran
ran; our contract draft was wrong, not the code
rmwu/sea/src/model/utils.py
pointer only (licence: NONE) · get_code("53c768f1526a2e2c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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.

get_suffix Ran
ran; our contract draft was wrong, not the code
rmwu/sea/src/utils.py
pointer only (licence: NONE) · get_code("56ee495500ae3e00")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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.

na Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rmwu/sea/src/ges/utils.py
pointer only (licence: NONE) · get_code("219a7efaf7fb487c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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.

neighbors Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rmwu/sea/src/ges/utils.py
pointer only (licence: NONE) · get_code("9b79ca71eafd0891")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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.

override_args Ran
ran; our contract draft was wrong, not the code
rmwu/sea/src/args.py
pointer only (licence: NONE) · get_code("b3d4fdc848c17859")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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.

precision_recall Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rmwu/sea/src/cdt/metrics.py
pointer only (licence: NONE) · get_code("74b6c24a736de396")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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.

read_csv Ran
ran; our contract draft was wrong, not the code
rmwu/sea/src/utils.py
pointer only (licence: NONE) · get_code("c59f9272b2e9178c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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.

read_pickle Ran
ran; our contract draft was wrong, not the code
rmwu/sea/src/utils.py
pointer only (licence: NONE) · get_code("621ec17cc6678229")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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.

retrieve_adjacency_matrix Ran
ran, violated the contract we drafted
rmwu/sea/src/cdt/metrics.py
pointer only (licence: NONE) · get_code("91007bd87b2f9f18")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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.

shd_metric Ran
ran; our contract draft was wrong, not the code
rmwu/sea/src/model/utils.py
pointer only (licence: NONE) · get_code("71a5a3022973fb47")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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.

exp_fit_bic Not yet run
unverified (harvested, no recorded run)
rmwu/sea/src/gies/scratch.py
pointer only (licence: NONE) · get_code("9b483f9d2de5ac74")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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. No invocation recorded.

get_CPDAG Not yet run
unverified (harvested, no recorded run)
rmwu/sea/src/cdt/metrics.py
pointer only (licence: NONE) · get_code("4f41006b7caf1dfc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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. No invocation recorded.

get_model_cls Not yet run
unverified (harvested, no recorded run)
rmwu/sea/src/model/factory.py
pointer only (licence: NONE) · get_code("d96988e33b80fd0e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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. No invocation recorded.

load_model Not yet run
unverified (harvested, no recorded run)
rmwu/sea/src/model/factory.py
pointer only (licence: NONE) · get_code("599cc4499ffcf6d0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rmwu/sea 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. 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, 6 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 5 later) and 10 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
adj 1 other paper
1 later
2607.24673 (2026-07)
Causal-TS: A Python Library for Causal Discovery in High-Dimensional and Nonstationary Time Series
get_params_groups 1 other paper
1 later
2408.16218 (2024-08)
Large-Scale Targeted Cause Discovery via Learning from Simulated Data
neighbors 1 other paper
1 later
2607.24673 (2026-07)
Causal-TS: A Python Library for Causal Discovery in High-Dimensional and Nonstationary Time Series
read_csv 1 other paper
1 later
2408.16218 (2024-08)
Large-Scale Targeted Cause Discovery via Learning from Simulated Data
read_pickle 1 other paper
1 later
2408.16218 (2024-08)
Large-Scale Targeted Cause Discovery via Learning from Simulated Data
retrieve_adjacency_matrix 1 other paper
1 dated earlier
1903.02278 (2019-03)
Causal Discovery Toolbox: Uncover causal relationships in Python

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

Causal discovery, the task of inferring causal structure from data, has the potential to uncover mechanistic insights from biological experiments, especially those involving perturbations. However, causal discovery algorithms over larger sets of variables tend to be brittle against misspecification or when data are limited. For example, single-cell transcriptomics measures thousands of genes, but the nature of their relationships is not known, and there may be as few as tens of cells per intervention setting. To mitigate these challenges, we propose a foundation model-inspired approach: a supervised model trained on large-scale, synthetic data to predict causal graphs from summary statistics -- like the outputs of classical causal discovery algorithms run over subsets of variables and other statistical hints like inverse covariance. Our approach is enabled by the observation that typical errors in the outputs of a discovery algorithm remain comparable across datasets. Theoretically, we show that the model architecture is well-specified, in the sense that it can recover a causal graph consistent with graphs over subsets. Empirically, we train the model to be robust to misspecification and distribution shift using diverse datasets. Experiments on biological and synthetic data confirm that this model generalizes well beyond its training set, runs on graphs with hundreds of variables in seconds, and can be easily adapted to different underlying data assumptions.

For agents

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

get_harvested_code_for_paper("2402.01929")
get_code_for_paper("2402.01929")
have("2402.01929")

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

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

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

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

Connect an agent — have() is free.