Executable Counterfactuals: Improving LLMs' Causal Reasoning Through Code

Open in new window