# ------------------------------------------------ # CITATION.cff file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # ------------------------------------------------ cff-version: 1.2.0 message: 'To cite package "lepidoptera" in publications use:' type: software license: MIT title: 'lepidoptera: Domain-Agnostic Causal Simulation Engine with Mixed Variable Types' version: 0.1.2 abstract: A domain-agnostic simulation engine for structural causal models with heterogeneous variable types. Users define systems of continuous, categorical, and ordinal features, declare a directed acyclic graph (DAG) over them, attach typed generative mechanisms to each node, and simulate synthetic populations. A pre-built mechanism library covers all nine parent-type/child-type combinations. Vine copula mechanisms estimate full joint dependence from observed data via pair-copula constructions (Bedford and Cooke, 2002) . Individual-level counterfactual queries are supported through partial propagation, which freezes unaffected random draws and resamples only the downstream subgraph, enabling individual treatment effect (ITE) estimation alongside population-level average treatment effects (ATE). Any pre-fitted predictive model can serve as a generative mechanism through three wrapper functions. Systems serialise to JSON for cross-language portability with the companion Python package. authors: - family-names: Sarti given-names: Danilo email: danilosarti@rcsi.ie preferred-citation: type: article title: 'lepidoptera: A Domain-Agnostic Engine for Causal Simulation with Mixed Variable Types, Vine Copula Dependence, and Individual-Level Counterfactual Propagation' authors: - family-names: Sarti given-names: Danilo A. journal: Journal of Statistical Software year: '2026' notes: Under review url: https://github.com/danilosarti/lepidoptera repository: https://cran.r-universe.dev repository-code: https://github.com/danilosarti/lepidoptera commit: 52088561ae98944af19cbe848e6e3786d15861ce url: https://github.com/danilosarti/lepidoptera date-released: '2026-10-28' contact: - family-names: Sarti given-names: Danilo email: danilosarti@rcsi.ie