SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2603.20585 · 2026

RECLAIM: Cyclic Causal Discovery Amid Measurement Noise

Faramarz Fekri, Muralikrishnna Sethuraman

arXiv · PDF · Open in the Atlas

Code that ran

13 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (5 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 3 failures of our instrument; 3 no recorded run), measured 2026-11-23; 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/2603.20585.json · badge: /api/ran/2603.20585.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
Genentech/nodags-flows community
Papers with Code archive
7 ran · 2 no recorded run
slachapelle/dcdi community
Papers with Code archive
4 ran · 1 no recorded run
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
FunctionStatusWhere it lives
BaseModel Ran
ran on a synthesized input · constructed an object; no result was computed
slachapelle/dcdi/dcdi/models/learnables.py
pointer only (licence: NOASSERTION) · get_code("b247cadebbfe6ae9")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, slachapelle/dcdi (NOASSERTION). 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.

GumbelAdjacency Ran
ran on a synthesized input · constructed an object; no result was computed
slachapelle/dcdi/dcdi/models/learnables.py
pointer only (licence: NOASSERTION) · get_code("69d3afa611d63e4a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, slachapelle/dcdi (NOASSERTION). 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.

GumbelIntervWeight Ran
ran on a synthesized input · constructed an object; no result was computed
slachapelle/dcdi/dcdi/models/learnables.py
pointer only (licence: NOASSERTION) · get_code("72e6314eade786b6")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, slachapelle/dcdi (NOASSERTION). 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.

LearnableModel Ran
ran on a synthesized input · constructed an object; no result was computed
slachapelle/dcdi/dcdi/models/learnables.py
pointer only (licence: NOASSERTION) · get_code("758e5a8287d53a49")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, slachapelle/dcdi (NOASSERTION). 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.

geometric_1mcdf Ran
ran, honoured the contract we drafted
Genentech/nodags-flows/models/resblock.py
code served (permissive licence) · get_code("7675512fb9bc454d")
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 float, 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)

ARGS = {
    "p": 0.3,
    "k": 10,
    "offset": 2
}
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 float, 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
geometric_sample Ran
ran, honoured the contract we drafted
Genentech/nodags-flows/models/resblock.py
code served (permissive licence) · get_code("80e7ad0073cbe44a")
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 (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

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

# Define arguments for geometric_sample
# p: probability of success for geometric distribution (must be between 0 and 1)
# n_samples: number of samples to draw

ARGS = {
    "p": 0.3,
    "n_samples": 10
}
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 (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
gumbel_sigmoid Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from kurowasan/cdsd
pointer only; the stored copy get_code serves, from kurowasan/cdsd, is pointer only (licence: NONE) · get_code("d6775d96f6872aa7")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

iResBlock Ran
ran on a synthesized input · constructed an object; no result was computed
Genentech/nodags-flows/models/resblock.py
code served (permissive licence) · get_code("cdc75404d5b0feda")
How it ran

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

import torch
import torch.nn as nn
import numpy as np

torch.manual_seed(0)
np.random.seed(0)

# Create a small stand-in function module
class SimpleFunc(nn.Module):
    def __init__(self, n_nodes):
        super(SimpleFunc, self).__init__()
        self.n_nodes = n_nodes
        self.linear = nn.Linear(n_nodes, n_nodes)
    
    def forward(self, x):
        return self.linear(x)

# Instantiate the function
n_nodes = 4
func = SimpleFunc(n_nodes)

# Create parameter tensors
var_param = nn.Parameter(0.5 * torch.ones(n_nodes).float())

ARGS = {
    'func': func,
    'n_power_series': 2,
    'neumann_grad': True,
    'n_dist': 'geometric',
    'lamb': 2.0,
    'geom_p': 0.5,
    'n_samples': 1,
    'grad_in_forward': False,
    'n_exact_terms': 2,
    'var': var_param,
    'init_var': 0.5,
    'dag_input': False,
    'lin_logdet': False,
    'centered': True
}
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 iResBlock — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a iResBlock 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
linear_logdet_estimator Ran
ran; our contract draft was wrong, not the code
Genentech/nodags-flows/models/resblock.py
code served (permissive licence) · get_code("7111229dac5d075d")
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, 1) 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)

# W is a square matrix used to compute I - W and then take its determinant
# Shape should be (n, n) where n is some dimension
n = 4
W = torch.randn(n, n)

# bs is batch size, used to create an output tensor of shape (bs, 1)
bs = 2

ARGS = {
    "W": W,
    "bs": bs
}
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, 1) — shape (2, 1) 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
mem_eff_wrapper Ran
ran on a synthesized input
Genentech/nodags-flows/models/resblock.py
code served (permissive licence) · get_code("ea598b7c82d3eed6")
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
import torch.nn as nn

torch.manual_seed(0)

ARGS = {}
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
poisson_1mcdf Ran
ran, honoured the contract we drafted
Genentech/nodags-flows/models/resblock.py
code served (permissive licence) · get_code("9eb6e1ad48e2512a")
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 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
import math

def poisson_1mcdf(lamb, k, offset):
    if k <= offset:
        return 1.0
    else:
        k = k - offset
    'P(n >= k)'
    sum = 1.0
    for i in range(1, k):
        sum += lamb ** i / math.factorial(i)
    return 1 - np.exp(-lamb) * sum

ARGS = {
    "lamb": 2.5,
    "k": 10,
    "offset": 3
}
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 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
poisson_sample Ran
ran, honoured the contract we drafted
Genentech/nodags-flows/models/resblock.py
code served (permissive licence) · get_code("f86d1cafe6184373")
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 (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

ARGS = {
    "lamb": 3.5,
    "n_samples": 10
}
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 (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
sample_logistic Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from kurowasan/cdsd
pointer only; the stored copy get_code serves, from kurowasan/cdsd, is pointer only (licence: NONE) · get_code("717be1181092e347")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

LearnableModel_NonLinGaussANM Not yet run
unverified (harvested, no recorded run)
slachapelle/dcdi/dcdi/models/learnables.py
pointer only (licence: NOASSERTION) · get_code("5cd6b72b950a8f61")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, slachapelle/dcdi (NOASSERTION). 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.

basic_logdet_estimator Not yet run
unverified (harvested, no recorded run)
Genentech/nodags-flows/models/resblock.py
code served (permissive licence) · get_code("b33a34848bc8c316")
How it ran

no invocation recorded.

neumann_logdet_estimator Not yet run
unverified (harvested, no recorded run)
Genentech/nodags-flows/models/resblock.py
code served (permissive licence) · get_code("fcb90704ee341c2c")
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, 5 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 3 later) and 11 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
basic_logdet_estimator
brick of this paper's assembly: helper
1 other paper
1 later
2605.16620 (2026-05)
SCOUT: Cyclic Causal Discovery Under Soft Interventions with Unknown Targets
gumbel_sigmoid
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2410.07013 (2024-10)
Causal Representation Learning in Temporal Data via Single-Parent Decoding
linear_logdet_estimator
brick of this paper's assembly: helper
1 other paper
1 later
2605.16620 (2026-05)
SCOUT: Cyclic Causal Discovery Under Soft Interventions with Unknown Targets
neumann_logdet_estimator
brick of this paper's assembly: helper
1 other paper
1 later
2605.16620 (2026-05)
SCOUT: Cyclic Causal Discovery Under Soft Interventions with Unknown Targets
sample_logistic
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2410.07013 (2024-10)
Causal Representation Learning in Temporal Data via Single-Parent Decoding

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

Uncovering causal relationships is a fundamental problem across science and engineering. However, most existing causal discovery methods assume acyclicity and direct access to the system variables-assumptions that fail to hold in many real-world settings. For instance, in genomics, cyclic regulatory networks are common, and measurements are often corrupted by instrumental noise. To address these challenges, we propose RECLAIM, a causal discovery framework that natively handles both cycles and measurement noise. RECLAIM learns the causal graph structure by maximizing the likelihood of the observed measurements via expectation-maximization (EM), using residual normalizing flows for tractable likelihood computation. We consider two measurement models: (i) Gaussian additive noise, and (ii) a linear measurement system with additive Gaussian noise. We provide theoretical consistency guarantees for both the settings. Experiments on synthetic data and real-world protein signaling datasets demonstrate the efficacy of the proposed method.

For agents

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

get_harvested_code_for_paper("2603.20585")
get_code_for_paper("2603.20585")
have("2603.20585")

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

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

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

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

Connect an agent — have() is free.