feedback_forensics.data.handler_test#
Tests for the data handler module.
Module Contents#
Classes#
Test class for the DatasetHandler module. |
Functions#
Test getting column names of annotators from visible names. |
API#
- class feedback_forensics.data.handler_test.TestDatasetHandler#
Test class for the DatasetHandler module.
- test_init_empty()#
Test initialization with empty parameters.
- test_init_with_params()#
Test initialization with provided parameters.
- test_add_data_from_name()#
Test error when avail_datasets is not provided.
- test_load_data_from_paths(setup_test_data)#
Test loading data from file paths.
- test_add_data_from_path(setup_annotated_pairs_json)#
Test loading data from AnnotatedPairs JSON.
- feedback_forensics.data.handler_test.test_get_annotator_df_col_names()#
Test getting column names of annotators from visible names.