get_canonical_example
Retrieve validated causal DAGs from the engine's test suite by ID for few-shot prompting, regression checks, and teaching. Ensures analyze_dag output matches expected values.
Instructions
Return one of the canonical validated DAGs from the engine's test suite by ID (T01–T15 for backdoor / adjustment-set canonical structures, EM01–EM20 for effect-modification structures from VanderWeele-Robins 2007 and Weinberg 2007). Useful for few-shot prompting, regression checks, and teaching. The returned DAG is the same one the engine is validated against, so analyze_dag's output on it will match the listed expected values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Test ID. Main-suite IDs are T01–T15; effect-modification IDs are EM01–EM20. |