diff --git a/dataset_builders/pie/sciarg/sciarg.py b/dataset_builders/pie/sciarg/sciarg.py index 002a8fff..ea4ed7a0 100644 --- a/dataset_builders/pie/sciarg/sciarg.py +++ b/dataset_builders/pie/sciarg/sciarg.py @@ -35,7 +35,7 @@ def get_common_converter_pipeline_steps(target_document_type: type[Document]) -> trim_adus=TextSpanTrimmer(layer="labeled_spans"), sort_symmetric_relation_arguments=RelationArgumentSorter( relation_layer="binary_relations", - label_whitelist=["parts_of_same", "semantically_same"], + label_whitelist=["parts_of_same", "semantically_same", "contradicts"], ), ) diff --git a/tests/dataset_builders/pie/sciarg/test_sciarg.py b/tests/dataset_builders/pie/sciarg/test_sciarg.py index 3a3ad8e0..2a1b1218 100644 --- a/tests/dataset_builders/pie/sciarg/test_sciarg.py +++ b/tests/dataset_builders/pie/sciarg/test_sciarg.py @@ -411,12 +411,12 @@ def test_converted_document(converted_document, dataset_variant): ), ), ( - ("This approach is not commonly applied", "background_claim"), - "contradicts", ( "artists will edit the geometry of characters in the rest pose to fine-tune animations", "background_claim", ), + "contradicts", + ("This approach is not commonly applied", "background_claim"), ), ( (