Skip to content

Commit c8567fd

Browse files
chore(release): expose v1.15 APIs
Signed-off-by: Codex <codex@openai.com>
1 parent 3dd5baa commit c8567fd

3 files changed

Lines changed: 37 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "StatsPAI"
7-
version = "1.14.0"
7+
version = "1.15.0"
88
description = "The Agent-Native Causal Inference & Econometrics Toolkit for Python"
99
readme = "README.md"
1010
license = {text = "MIT"}

src/statspai/__init__.py

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
>>> sp.outreg2(result, filename="results.xlsx")
2323
"""
2424

25-
__version__ = "1.14.0"
25+
__version__ = "1.15.0"
2626
__author__ = "Biaoyue Wang"
2727
__email__ = "brycew6m@stanford.edu"
2828

@@ -89,6 +89,9 @@
8989
rd_distribution, DistRDResult,
9090
rd_bayes_hte, BayesRDHTEResult,
9191
rd_distributional_design, DDDResult,
92+
# v1.15 polish
93+
rd_flex, rd_bias_aware_fuzzy, rd_discrete,
94+
rd_dashboard, rd_compare, rd_robustness_table,
9295
)
9396
from .synth import (
9497
synth, SyntheticControl, synthplot, sdid, augsynth,
@@ -101,6 +104,7 @@
101104
synth_power, synth_mde, synth_power_plot,
102105
synth_compare, synth_recommend, SynthComparison,
103106
synth_report, synth_report_to_file,
107+
synth_to_latex, synth_to_markdown, synth_to_excel,
104108
german_reunification, basque_terrorism, california_tobacco,
105109
synthdid_estimate, sc_estimate, did_estimate,
106110
synthdid_placebo, synthdid_plot, synthdid_units_plot, synthdid_rmse_plot,
@@ -368,6 +372,7 @@
368372
inequality_index, subgroup_decompose, source_decompose, shapley_inequality,
369373
kitagawa_decompose, das_gupta,
370374
gap_closing, mediation_decompose, disparity_decompose,
375+
yu_elwert_decompose, YuElwertResult,
371376
decompose, available_methods,
372377
cps_wage, chilean_households, mincer_wage_panel, disparity_panel,
373378
)
@@ -941,6 +946,13 @@
941946
"TARNet",
942947
"CFRNet",
943948
"DragonNet",
949+
"neural_effects_frame",
950+
"neural_summary_frame",
951+
"neural_training_frame",
952+
"neural_causal_to_markdown",
953+
"neural_causal_to_html",
954+
"neural_causal_to_excel",
955+
"neural_causal_plot",
944956
# Causal Discovery
945957
"notears",
946958
"NOTEARS",
@@ -1179,6 +1191,7 @@
11791191
"synth_power", "synth_mde", "synth_power_plot",
11801192
"synth_compare", "synth_recommend", "SynthComparison",
11811193
"synth_report", "synth_report_to_file",
1194+
"synth_to_latex", "synth_to_markdown", "synth_to_excel",
11821195
"german_reunification", "basque_terrorism", "california_tobacco",
11831196
# Spatial
11841197
"W",
@@ -1203,6 +1216,7 @@
12031216
"source_decompose", "subgroup_decompose",
12041217
"disparity_decompose", "disparity_panel",
12051218
"mediation_decompose",
1219+
"yu_elwert_decompose", "YuElwertResult",
12061220
"inequality_index", "shapley_inequality",
12071221
# Panel / DID extras
12081222
"aggte", "ggdid", "bjs_pretrend_joint", "cs_report", "CSReport",
@@ -1335,6 +1349,9 @@
13351349
# RDD frontier — only the new rd_bayes_hte / rd_distributional_design here
13361350
"rd_bayes_hte", "BayesRDHTEResult",
13371351
"rd_distributional_design", "DDDResult",
1352+
# v1.15 RDD polish (recent literature)
1353+
"rd_flex", "rd_bias_aware_fuzzy", "rd_discrete",
1354+
"rd_dashboard", "rd_compare", "rd_robustness_table",
13381355
# Causal × LLM
13391356
"llm_dag_propose", "LLMDAGProposal",
13401357
"llm_unobserved_confounders", "UnobservedConfounderProposal",
@@ -1520,10 +1537,20 @@ def _register_lazy(modname, *names):
15201537
"policy_weight_prte", "policy_weight_marginal",
15211538
"policy_weight_observed_prte",
15221539
)
1523-
_register_lazy("neural_causal",
1540+
_register_lazy("neural_causal.models",
15241541
"tarnet", "cfrnet", "dragonnet", "TARNet", "CFRNet", "DragonNet",
1542+
)
1543+
_register_lazy("neural_causal.gnn_causal",
15251544
"gnn_causal", "GNNCausalResult",
15261545
)
1546+
_register_lazy("neural_causal.exports",
1547+
"neural_effects_frame", "neural_summary_frame", "neural_training_frame",
1548+
"neural_causal_to_markdown", "neural_causal_to_html",
1549+
"neural_causal_to_excel",
1550+
)
1551+
_register_lazy("neural_causal.plots",
1552+
"neural_causal_plot",
1553+
)
15271554
_register_lazy("neural_causal.cevae",
15281555
"cevae", "CEVAE", "CEVAEResult",
15291556
)

src/statspai/__init__.pyi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,13 @@ from .neural_causal.models import TARNet as TARNet
524524
from .neural_causal.models import cfrnet as cfrnet
525525
from .neural_causal.models import dragonnet as dragonnet
526526
from .neural_causal.models import tarnet as tarnet
527+
from .neural_causal.exports import neural_causal_to_excel as neural_causal_to_excel
528+
from .neural_causal.exports import neural_causal_to_html as neural_causal_to_html
529+
from .neural_causal.exports import neural_causal_to_markdown as neural_causal_to_markdown
530+
from .neural_causal.exports import neural_effects_frame as neural_effects_frame
531+
from .neural_causal.exports import neural_summary_frame as neural_summary_frame
532+
from .neural_causal.exports import neural_training_frame as neural_training_frame
533+
from .neural_causal.plots import neural_causal_plot as neural_causal_plot
527534
from .nonparametric.kdensity import KDensityResult as KDensityResult
528535
from .nonparametric.kdensity import kdensity as kdensity
529536
from .nonparametric.lpoly import LPolyResult as LPolyResult

0 commit comments

Comments
 (0)