We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36a22e5 commit d67cf34Copy full SHA for d67cf34
tests/specification_tests/test_metamorphic_relations.py
@@ -205,7 +205,7 @@ def test_should_cause_metamorphic_relation_missing_relationship(self):
205
def test_all_metamorphic_relations_implied_by_dag(self):
206
dag = CausalDAG(self.dag_dot_path)
207
dag.add_edge("Z", "Y") # Add a direct path from Z to Y so M becomes a mediator
208
- metamorphic_relations = generate_metamorphic_relations(dag)
+ metamorphic_relations = generate_metamorphic_relations(dag, skip_ancestors=False)
209
should_cause_relations = [mr for mr in metamorphic_relations if isinstance(mr, ShouldCause)]
210
should_not_cause_relations = [mr for mr in metamorphic_relations if isinstance(mr, ShouldNotCause)]
211
0 commit comments