def setUp(self): super().setUp() one_entity_file_path = ( 'tests/samples/proposed/unit_mapping_one_entity.yaml') self.highest_score_argument = TestHelper.prepare_dimension_argument( dimension=UnitMapping, proposed_path=one_entity_file_path, solution_path=one_entity_file_path) empty_file_path = 'tests/samples/empty.yaml' self.none_score_argument = TestHelper.prepare_dimension_argument( dimension=UnitMapping, proposed_path=empty_file_path, solution_path=empty_file_path) self.lowest_score_argument = TestHelper.prepare_dimension_argument( dimension=UnitMapping, proposed_path=empty_file_path, solution_path=one_entity_file_path) two_entities_file_path = ( 'tests/samples/proposed/unit_mapping_two_entities.yaml') self.middling_score_argument = TestHelper.prepare_dimension_argument( dimension=UnitMapping, proposed_path=one_entity_file_path, solution_path=two_entities_file_path)
def setUp(self): super().setUp() one_entity_file_path = ( 'tests/samples/proposed/raw_field_selection_one_entity.yaml') self.highest_score_argument = TestHelper.prepare_dimension_argument( dimension=RawFieldSelection, proposed_path=one_entity_file_path, solution_path=one_entity_file_path) empty_file_path = 'tests/samples/empty.yaml' self.none_score_argument = TestHelper.prepare_dimension_argument( dimension=RawFieldSelection, proposed_path=empty_file_path, solution_path=empty_file_path) self.lowest_score_argument = TestHelper.prepare_dimension_argument( dimension=RawFieldSelection, proposed_path=empty_file_path, solution_path=one_entity_file_path) two_entities_file_path = ( 'tests/samples/proposed/raw_field_selection_two_entities.yaml') self.middling_score_argument = TestHelper.prepare_dimension_argument( dimension=RawFieldSelection, proposed_path=one_entity_file_path, solution_path=two_entities_file_path)
def setUp(self): super().setUp() featureful_file_path = ( 'tests/samples/proposed/entity_connection_identification.yaml') self.highest_score_argument = TestHelper.prepare_dimension_argument( dimension=EntityConnectionIdentification, proposed_path=featureful_file_path, solution_path=featureful_file_path) empty_file_path = 'tests/samples/empty.yaml' self.none_score_argument = TestHelper.prepare_dimension_argument( dimension=EntityConnectionIdentification, proposed_path=empty_file_path, solution_path=empty_file_path) no_contains_file_path = 'tests/samples/proposed/entity_connection_identification_no_contains.yaml' # pylint: disable=line-too-long self.middling_score_argument = TestHelper.prepare_dimension_argument( dimension=EntityConnectionIdentification, proposed_path=no_contains_file_path, solution_path=featureful_file_path)
def setUp(self): super().setUp() featureful_file_path = ( 'tests/samples/proposed/entity_type_identification_virtual.yaml') self.highest_score_argument = TestHelper.prepare_dimension_argument( dimension=EntityTypeIdentification, proposed_path=featureful_file_path, solution_path=featureful_file_path) empty_file_path = 'tests/samples/empty.yaml' self.none_score_argument = TestHelper.prepare_dimension_argument( dimension=EntityTypeIdentification, proposed_path=empty_file_path, solution_path=empty_file_path) reporting_entity_file_path = ( 'tests/samples/proposed/entity_type_identification_reporting.yaml') self.middling_score_argument = TestHelper.prepare_dimension_argument( dimension=EntityTypeIdentification, proposed_path=reporting_entity_file_path, solution_path=featureful_file_path)