feedback_forensics.app.model_annotators_test#

Tests for model_annotators.py

Module Contents#

Functions#

create_test_dataframe

Create a test dataframe with model comparison data.

create_test_votes_dict

Create a test votes_dict with dataframe and metadata.

test_generate_model_identity_annotators_default_one_vs_all

Test generate_model_identity_annotators with default one-vs-all behavior.

test_generate_model_identity_annotators_with_specific_reference_models

Test generate_model_identity_annotators with specific reference models.

API#

feedback_forensics.app.model_annotators_test.create_test_dataframe()#

Create a test dataframe with model comparison data.

feedback_forensics.app.model_annotators_test.create_test_votes_dict()#

Create a test votes_dict with dataframe and metadata.

feedback_forensics.app.model_annotators_test.test_generate_model_identity_annotators_default_one_vs_all()#

Test generate_model_identity_annotators with default one-vs-all behavior.

feedback_forensics.app.model_annotators_test.test_generate_model_identity_annotators_with_specific_reference_models()#

Test generate_model_identity_annotators with specific reference models.