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 3310bbe commit 2786fdcCopy full SHA for 2786fdc
causal_testing/testing/metamorphic_relation.py
@@ -226,7 +226,7 @@ def generate_metamorphic_relations(
226
tests = [
227
relation.to_json_stub(skip=False)
228
for relation in relations
229
- if len(list(causal_dag.graph.predecessors(relation.output_var))) > 0
+ if len(list(causal_dag.graph.predecessors(relation.base_test_case.outcome_variable))) > 0
230
]
231
232
logger.info(f"Generated {len(tests)} tests. Saving to {args.output_path}.")
0 commit comments