DoTime

A synthetic benchmark generator for interventional and counterfactual time series.

dotime samples multivariate temporal structural causal models (SCMs), applies interventions, and produces paired observational / interventional trajectories with exact counterfactual targets. It ships four frozen evaluation suites, reference baselines, and an evaluation harness.

Install

pip install dotime              # core generator + suite loaders (CPU)
pip install 'dotime[baselines]' # classical / Bayesian baselines
pip install 'dotime[models]'    # the Do-Over-Time-PFN model
pip install 'dotime[all]'       # everything except dev tooling

Quickstart

from dotime import DoTime

prior = DoTime(seed=42)
X_obs, X_int, intervention, scm = prior.generate_pair(T=100)

See Quick Start for the benchmark-loading and evaluation walkthrough.

Indices