SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1510.04342 · 2015

Estimation and Inference of Heterogeneous Treatment Effects using Random Forests

arXiv · PDF · Open in the Atlas

Code that ran

1 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 0 failures of our instrument; 3 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/1510.04342.json · badge: /api/ran/1510.04342.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
biomedsciai/causallib community (classifier label)
classifier basis not recorded on the link
1 ran · 3 no recorded run
FunctionStatusWhere it lives
majority_rule Ran
ran on a synthesized input
biomedsciai/causallib/causallib/estimation/matching.py
pointer only (licence: Apache-2.0) · get_code("7fcb9711697c5711")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, biomedsciai/causallib, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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.

load_data_file Not yet run
unverified (harvested, no recorded run)
biomedsciai/causallib/causallib/datasets/data_loader.py
pointer only (licence: Apache-2.0) · get_code("ee004243c3b7252d")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, biomedsciai/causallib, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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. No invocation recorded.

load_nhefs Not yet run
unverified (harvested, no recorded run)
biomedsciai/causallib/causallib/datasets/data_loader.py
pointer only (licence: Apache-2.0) · get_code("917e96204e10f43e")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, biomedsciai/causallib, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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. No invocation recorded.

load_nhefs_survival Not yet run
unverified (harvested, no recorded run)
biomedsciai/causallib/causallib/datasets/data_loader.py
pointer only (licence: Apache-2.0) · get_code("f40f03ccbbb22170")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, biomedsciai/causallib, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with 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. No invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 4 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 4 later) and 0 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
load_data_file 1 other paper
1 later
1810.07406 (2018-10)
Adversarial Balancing for Causal Inference
load_nhefs 1 other paper
1 later
1810.07406 (2018-10)
Adversarial Balancing for Causal Inference
load_nhefs_survival 1 other paper
1 later
1810.07406 (2018-10)
Adversarial Balancing for Causal Inference
majority_rule 1 other paper
1 later
1810.07406 (2018-10)
Adversarial Balancing for Causal Inference

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

Many scientific and engineering challenges -- ranging from personalized medicine to customized marketing recommendations -- require an understanding of treatment effect heterogeneity. In this paper, we develop a non-parametric causal forest for estimating heterogeneous treatment effects that extends Breiman's widely used random forest algorithm. In the potential outcomes framework with unconfoundedness, we show that causal forests are pointwise consistent for the true treatment effect, and have an asymptotically Gaussian and centered sampling distribution. We also discuss a practical method for constructing asymptotic confidence intervals for the true treatment effect that are centered at the causal forest estimates. Our theoretical results rely on a generic Gaussian theory for a large family of random forest algorithms. To our knowledge, this is the first set of results that allows any type of random forest, including classification and regression forests, to be used for provably valid statistical inference. In experiments, we find causal forests to be substantially more powerful than classical methods based on nearest-neighbor matching, especially in the presence of irrelevant covariates.

For agents

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

get_harvested_code_for_paper("1510.04342")
get_code_for_paper("1510.04342")
have("1510.04342")

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

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

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

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

Connect an agent — have() is free.